From 139c926e3c70eb37c85050afc9b772ec60d5d803 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 13 Dec 2023 13:44:09 -0800 Subject: [PATCH] Synchronize tests-integration.yml from v8 and v7 (#2688) * Synchronize tests-integration.yml from v8 and v7 Co-authored-by: david alvarado * set SKIP_STEMCELL_UPLOAD to false this variable is now required and it is referenced in: https://github.com/cloudfoundry/cf-deployment-concourse-tasks/blob/701c6c18a6794788178afc8553027df9fe389394/bosh-deploy/task#L15C12-L15C32 Co-authored-by: Michael Oleske --------- Co-authored-by: M. Oleske Co-authored-by: david alvarado Co-authored-by: Michael Oleske --- .github/workflows/tests-integration-reusable.yml | 1 + .github/workflows/tests-integration.yml | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests-integration-reusable.yml b/.github/workflows/tests-integration-reusable.yml index 1a6597f24bf..4786deefe91 100644 --- a/.github/workflows/tests-integration-reusable.yml +++ b/.github/workflows/tests-integration-reusable.yml @@ -213,6 +213,7 @@ jobs: export BOSH_DEPLOY_ARGS="" export BOSH_LITE=false export BBL_JSON_CONFIG="" + export SKIP_STEMCELL_UPLOAD=false export OPS_FILES="add-persistent-isolation-segment-diego-cell.yml \ add-uaa-client-credentials.yml \ diego-cell-instances.yml \ diff --git a/.github/workflows/tests-integration.yml b/.github/workflows/tests-integration.yml index 4d886beb819..e08fcb0794a 100644 --- a/.github/workflows/tests-integration.yml +++ b/.github/workflows/tests-integration.yml @@ -13,7 +13,7 @@ on: jobs: run-integration-tests-cf-env-with-edge-capi: name: Integration tests with EDGE CAPI - if: github.event.workflow_run.conclusion == 'success' + if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} uses: ./.github/workflows/tests-integration-reusable.yml with: capi-version: edge @@ -24,7 +24,7 @@ jobs: run-integration-tests-cf-env-with-edge-capi-with-client-creds: name: EDGE CAPI and client creds - if: github.event.workflow_run.conclusion == 'success' + if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} uses: ./.github/workflows/tests-integration-reusable.yml with: capi-version: edge @@ -35,7 +35,7 @@ jobs: run-integration-tests-cf-env-with-min-capi: name: MIN CAPI - if: github.event.workflow_run.conclusion == 'success' + if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} uses: ./.github/workflows/tests-integration-reusable.yml with: capi-version: min @@ -46,7 +46,7 @@ jobs: #run-integration-windows: # name: Windows - # if: github.event.workflow_run.conclusion == 'success' + # if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} # uses: ./.github/workflows/tests-integration-reusable.yml # with: # capi-version: edge @@ -57,7 +57,7 @@ jobs: #run-integration-windows-client-credentials: # name: Windows with client credentials - # if: github.event.workflow_run.conclusion == 'success' + # if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} # uses: ./.github/workflows/tests-integration-reusable.yml # with: # capi-version: edge