From af0eac5c676ab3f5a5eabd14209c6e6ca94dd7a3 Mon Sep 17 00:00:00 2001 From: Nick Arellano Date: Sun, 22 Oct 2023 15:05:44 -0500 Subject: [PATCH] feat(ee): Add ee-netbox and correct readme to point to prefix ee --- .github/scripts/templates/README.md.j2 | 2 +- .github/workflows/render-readme.yaml | 2 +- environments/netbox/execution-environment.yaml | 13 +++++++++++++ environments/netbox/requirements.txt | 0 environments/netbox/requirements.yaml | 4 ++++ 5 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 environments/netbox/execution-environment.yaml create mode 100644 environments/netbox/requirements.txt create mode 100644 environments/netbox/requirements.yaml diff --git a/.github/scripts/templates/README.md.j2 b/.github/scripts/templates/README.md.j2 index 73595a2..6966dd4 100644 --- a/.github/scripts/templates/README.md.j2 +++ b/.github/scripts/templates/README.md.j2 @@ -10,6 +10,6 @@ Container | image | Latest Tags ---|---|--- {% for environment in environments | sort(attribute="name") -%} -[{{ environment.name }}]( https://ghcr.io/nickarellano/{{ environment.name }} ) | ghcr.io/nickarellano/{{ environment.name }} | {{ environment.tag }} +[{{ environment.name }}]( https://ghcr.io/nickarellano/ee-{{ environment.name }} ) | ghcr.io/nickarellano/ee-{{ environment.name }} | {{ environment.tag }} {% endfor %} diff --git a/.github/workflows/render-readme.yaml b/.github/workflows/render-readme.yaml index 86c414f..857893f 100644 --- a/.github/workflows/render-readme.yaml +++ b/.github/workflows/render-readme.yaml @@ -56,7 +56,7 @@ jobs: - name: "Commit changes" run: | git config --global user.name "auto-matey[bot]" - git config --global user.email "43172688+auto-matey[bot]@users.noreply.github.com" + git config --global user.email "148675514+auto-matey[bot]@users.noreply.github.com" git add ./README.md git commit -m "docs: update README.md" || echo "No changes to commit" git push origin || echo "No changes to push" diff --git a/environments/netbox/execution-environment.yaml b/environments/netbox/execution-environment.yaml new file mode 100644 index 0000000..4ca8873 --- /dev/null +++ b/environments/netbox/execution-environment.yaml @@ -0,0 +1,13 @@ +--- +version: 3 + +images: + base_image: + name: registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel9:latest + +dependencies: + galaxy: requirements.yaml + python: requirements.txt + +options: + package_manager_path: /usr/bin/microdnf diff --git a/environments/netbox/requirements.txt b/environments/netbox/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/environments/netbox/requirements.yaml b/environments/netbox/requirements.yaml new file mode 100644 index 0000000..ae7483c --- /dev/null +++ b/environments/netbox/requirements.yaml @@ -0,0 +1,4 @@ +--- +collections: + - name: netbox.netbox + version: 3.13.0