Task #5116
closedTask #5069: Build pulp 3 containers
Handle properly whether to build container images with pulpcore stable or dev
100%
Description
Right now building pulpcore & pulpcore-plugin stable or nightly is hardcoded into the Dockerfile.
And it is hardcoded as nightly.
It should be a configuration option.
For CI purposes, some plugins will want to target stable, while others will want to target nightly.
Updated by ipanova@redhat.com over 5 years ago
- Status changed from NEW to ASSIGNED
Updated by dkliban@redhat.com over 5 years ago
- Sprint changed from Sprint 55 to Sprint 56
Updated by mdepaulo@redhat.com over 5 years ago
Also need to handle whether nightly deps are installed or not.
Updated by mdepaulo@redhat.com over 5 years ago
- % Done changed from 0 to 50
Updated by mdepaulo@redhat.com over 5 years ago
- Subject changed from Handle properly whether to build containers with pulpcore stable or dev to Handle properly whether to build container images with pulpcore stable or dev
Updated by mdepaulo@redhat.com over 5 years ago
- Status changed from ASSIGNED to POST
- % Done changed from 50 to 90
Added by Mike DePaulo over 5 years ago
Added by Mike DePaulo over 5 years ago
Revision 17ccb3ee | View on GitHub
containers: Build both stable and dev images
and make images far more configurable.
Implementation includes:
Build stable and master (latest) versions (tags) of both images.
Use an undefined plugins list for no plugins ather than the dummy pulpcore-plugin.
Use variables for the pulpcore & pulpcore-plugin pip installs
Use vars/vars.yml as an override for vars (including the images data structure.)
Start work on installing into the container, and limit the CI builds to only pulpcore & pulpcore-plugin stable.
fixes: #5116 Handle properly whether to build container images with pulpcore stable or dev (Actually does more than that.) https://pulp.plan.io/issues/5116
Includes some work on: re: #5062 Create pulpcore and pulp_file container images automatically via CI https://pulp.plan.io/issues/5062
Updated by Anonymous over 5 years ago
- Status changed from 5 to MODIFIED
Applied in changeset pulpcore|17ccb3eea9dd6ab6ca4521587343426baf30b4b5.
Updated by mdepaulo@redhat.com about 5 years ago
- Status changed from MODIFIED to CLOSED - COMPLETE
Replace configMaps with better featured K8s Custom Resources
Because ansible operators use them by default, they specifically watch for changes to them, and because the variable names are simpler.
This commit includes:
Making more options configurable
Switching to the stable tag for the "pulp" image It (3.0.0rc4) actually contains drf 3.9.4, and therefore works.
Let users easily define their own Custom Resources
Rename the pulp image "version" to "tag"
Note: Automatic camelCase conversion of CR field names necessitates using snake_case
fixes: #5069 containers: Replace configMap with better featured custom resources https://pulp.plan.io/issues/5219
re: #5116 Handle properly whether to build container images with pulpcore stable or dev https://pulp.plan.io/issues/5116