From 650c62b37882dbfcb56ce1233940a5fbf4307796 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Wed, 12 Jun 2024 11:59:22 -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 adf8cac..7b8791d 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 d719e464a8247c63301b7253f1937a387170d3c1 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Wed, 12 Jun 2024 11:59:37 -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..4731419 --- /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-benchmark-crucible-ci_if-merged: + if: github.event.pull_request.merged == true + uses: perftool-incubator/crucible-ci/.github/workflows/benchmark-crucible-ci.yaml@main + with: + ci_target: "fio" + ci_target_branch: "master" + github_workspace: "$GITHUB_WORKSPACE" + secrets: + production_registry_auth: ${{ secrets.CRUCIBLE_PRODUCTION_ENGINES_REGISTRY_AUTH }}