From 7a3e1bd34ee082aabb2fe8f9958351c9f840b51b Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Wed, 12 Jun 2024 16:32:51 -0500 Subject: [PATCH 1/2] update the crucible-ci workflow --- .github/workflows/crucible-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/crucible-ci.yaml b/.github/workflows/crucible-ci.yaml index ab230e1..21aa184 100644 --- a/.github/workflows/crucible-ci.yaml +++ b/.github/workflows/crucible-ci.yaml @@ -18,4 +18,4 @@ jobs: ci_target_branch: "${{ github.ref }}" github_workspace: "$GITHUB_WORKSPACE" secrets: - registry_auth: ${{ secrets.CRUCIBLE_CI_ENGINES_REGISTRY_AUTH }} + ci_registry_auth: ${{ secrets.CRUCIBLE_CI_ENGINES_REGISTRY_AUTH }} From 2bd33bd33c2d7158ec2d9713fbf2b3641f4c81f8 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Wed, 12 Jun 2024 16:33:16 -0500 Subject: [PATCH 2/2] add a new github workflow to run when PRs are merged - this workflow should result in userenv images that are built and pushed to the production quay.io repo --- .github/workflows/crucible-merged.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/crucible-merged.yaml diff --git a/.github/workflows/crucible-merged.yaml b/.github/workflows/crucible-merged.yaml new file mode 100644 index 0000000..a5698b8 --- /dev/null +++ b/.github/workflows/crucible-merged.yaml @@ -0,0 +1,23 @@ +name: crucible-merged + +on: + pull_request_target: + types: [ closed ] + branches: [ master ] + paths-ignore: + - LICENSE + - '**.md' + - .github/workflows/faux-crucible-ci.yaml + - 'docs/**' + workflow_dispatch: + +jobs: + call-tool-crucible-ci_if-merged: + if: github.event.pull_request.merged == true + uses: perftool-incubator/crucible-ci/.github/workflows/tool-crucible-ci.yaml@main + with: + ci_target: "sysstat" + ci_target_branch: "master" + github_workspace: "$GITHUB_WORKSPACE" + secrets: + production_registry_auth: ${{ secrets.CRUCIBLE_PRODUCTION_ENGINES_REGISTRY_AUTH }}