Skip to content

Commit

Permalink
Add logic to construct base EE for dependent EE profiles
Browse files Browse the repository at this point in the history
Signed-off-by: Webster Mudge <[email protected]>
  • Loading branch information
wmudge committed Aug 17, 2023
1 parent e40b56c commit da11528
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_matrix_images.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

name: Publish the matrix of Execution Environment images
name: Publish all Execution Environment images

on:
release:
Expand All @@ -23,6 +23,6 @@ jobs:
strategy:
fail-fast: false
matrix:
ee_profile: ["aws"] #["full", "base", "aws", "azure", "gcp"]
ee_profile: ["aws", "azure", "gcp", "full"]
with:
PROFILE: ${{ matrix.ee_profile }}
11 changes: 9 additions & 2 deletions .github/workflows/publish_single_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ permissions:
packages: write

jobs:
publish:
publish-base:
uses: ./.github/workflows/build_push_image.yml
with:
PROFILE: ${{ inputs.PROFILE }}
PROFILE: base

publish-profiles:
if: ${{ inputs.PROFILE != 'base' }}
needs: publish-base
uses: ./.github/workflows/build_push_image.yml
with:
PROFILE: ${{ inputs.PROFILE }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cloudera Ansible Execution Environments

`cldr-runner` is set of Ansible [Execution Environments](https://ansible.readthedocs.io/projects/builder/en/stable/#execution-environments) for running Cloudera playbooks, examples, and general automation for both CDP Public Cloud, Private Cloud, and Data Services. These images are appropriate for use with `ansible-navigator`[^navigator] and AWS/AAP.
`cldr-runner` is set of Ansible [Execution Environments](https://ansible.readthedocs.io/projects/builder/en/stable/#execution-environments) for running Cloudera playbooks, examples, and general automation for both CDP Public Cloud, Private Cloud, and Data Services. These images are appropriate for use with `ansible-navigator`[^1] and AWS/AAP.

`cldr-runner` consists of several variations:

Expand Down Expand Up @@ -48,7 +48,7 @@ ansible-navigator:
image: <your cldr-runner image tag>
```

You can specify the image via the CLI[^navigator], e.g. `--eei` or `--execution-environment-image`.
You can specify the image via the CLI[^1], e.g. `--eei` or `--execution-environment-image`.

## Local Development

Expand Down Expand Up @@ -150,4 +150,4 @@ Signed-off-by: John Doe <[email protected]>

TIP! Add the sign-off automatically when creating the commit via the `-s` flag, e.g. `git commit -s``.

[^navigator] https://ansible.readthedocs.io/projects/navigator/
[^1] https://ansible.readthedocs.io/projects/navigator/

0 comments on commit da11528

Please sign in to comment.