From 2a2528a6264a2506ca6e1f097fdeea4546bdeb88 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Tue, 11 Jun 2024 18:57:23 -0500 Subject: [PATCH] bugfix: copy & paste error --- .github/workflows/benchmark-crucible-ci.yaml | 4 ++-- .github/workflows/core-crucible-ci.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmark-crucible-ci.yaml b/.github/workflows/benchmark-crucible-ci.yaml index e60a55f..141c2bc 100644 --- a/.github/workflows/benchmark-crucible-ci.yaml +++ b/.github/workflows/benchmark-crucible-ci.yaml @@ -205,12 +205,12 @@ jobs: - name: import ci secret env: CLIENT_SERVER_REGISTRY_AUTH_SECRET: ${{ secrets.registry_auth != '' && secrets.registry_auth || secrets.ci_registry_auth }} - if: ${{ needs.gen-params.outputs.build_controller == 'yes' && env.CLIENT_SERVER_REGISTRY_AUTH_SECRET != '' }} + if: ${{ env.CLIENT_SERVER_REGISTRY_AUTH_SECRET != '' }} run: sudo bash -c "echo \"$CLIENT_SERVER_REGISTRY_AUTH_SECRET\" > /root/crucible-ci-engines-token.json" - name: import production secret env: CLIENT_SERVER_REGISTRY_AUTH_SECRET: ${{ secrets.production_registry_auth }} - if: ${{ needs.gen-params.outputs.build_controller == 'yes' && env.CLIENT_SERVER_REGISTRY_AUTH_SECRET != '' }} + if: ${{ env.CLIENT_SERVER_REGISTRY_AUTH_SECRET != '' }} run: sudo bash -c "echo \"$CLIENT_SERVER_REGISTRY_AUTH_SECRET\" > /root/crucible-production-engines-token.json" - name: run crucible-ci->integration-tests diff --git a/.github/workflows/core-crucible-ci.yaml b/.github/workflows/core-crucible-ci.yaml index 131b641..0793ca3 100644 --- a/.github/workflows/core-crucible-ci.yaml +++ b/.github/workflows/core-crucible-ci.yaml @@ -353,12 +353,12 @@ jobs: - name: import ci secret env: CLIENT_SERVER_REGISTRY_AUTH_SECRET: ${{ secrets.registry_auth != '' && secrets.registry_auth || secrets.ci_registry_auth }} - if: ${{ needs.gen-params.outputs.build_controller == 'yes' && env.CLIENT_SERVER_REGISTRY_AUTH_SECRET != '' }} + if: ${{ env.CLIENT_SERVER_REGISTRY_AUTH_SECRET != '' }} run: sudo bash -c "echo \"$CLIENT_SERVER_REGISTRY_AUTH_SECRET\" > /root/crucible-ci-engines-token.json" - name: import production secret env: CLIENT_SERVER_REGISTRY_AUTH_SECRET: ${{ secrets.production_registry_auth }} - if: ${{ needs.gen-params.outputs.build_controller == 'yes' && env.CLIENT_SERVER_REGISTRY_AUTH_SECRET != '' }} + if: ${{ env.CLIENT_SERVER_REGISTRY_AUTH_SECRET != '' }} run: sudo bash -c "echo \"$CLIENT_SERVER_REGISTRY_AUTH_SECRET\" > /root/crucible-production-engines-token.json" - name: run crucible-ci->integration-tests