-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
fe38565
commit 17ccb3e
Showing
8 changed files
with
127 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,6 @@ Vagrantfile | |
docs/_build | ||
docs/_diagrams | ||
docs/api.yaml | ||
|
||
# Overriden variables | ||
containers/vars/vars.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
- name: 'Check for podman' | ||
command: 'which podman' | ||
register: podman_exists | ||
ignore_errors: true | ||
|
||
- set_fact: | ||
container_cli: 'podman' | ||
when: podman_exists | success | ||
|
||
- name: Check if vars.yaml was created by the user | ||
stat: | ||
path: vars/vars.yaml | ||
register: varsyaml | ||
|
||
- name: include vars.yaml | ||
include_vars: | ||
vars.yaml | ||
when: varsyaml.stat.exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters