From 2b4bf067553597f3556497eb45044b728058f1c4 Mon Sep 17 00:00:00 2001 From: Damjan Smickovski Date: Tue, 27 Jun 2023 13:11:16 +0200 Subject: [PATCH 1/4] Added cron for every hour --- .github/workflows/integration-tests-smoke.yml | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-tests-smoke.yml b/.github/workflows/integration-tests-smoke.yml index 24e064afe..40404b1c9 100644 --- a/.github/workflows/integration-tests-smoke.yml +++ b/.github/workflows/integration-tests-smoke.yml @@ -9,6 +9,8 @@ on: required: true default: develop type: string + schedule: + - cron: '0 * * * *' # Only run 1 of this workflow at a time per PR concurrency: @@ -102,10 +104,24 @@ jobs: QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }} QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} + setup_job_name: + runs-on: ubuntu-latest + outputs: + job_name: ${{ steps.set_job_name.outputs.job_name }} + steps: + - name: Set job name + id: set_job_name + run: | + if [[ "${{ github.event_name }}" == "schedule" ]]; then + echo "job_name='Scheduled Run Smoke Tests'" >> $GITHUB_ENV + else + echo "job_name='Run Smoke Tests'" >> $GITHUB_ENV + fi + run_tests: - name: Run Smoke Tests + name: ${{ needs.setup_job_name.outputs.job_name }} runs-on: ubuntu20.04-16cores-64GB - needs: [ build_custom_chainlink_image, build_test_image ] + needs: [ setup_job_name, build_custom_chainlink_image, build_test_image ] environment: integration # these values need to match those used to build the chainlink image strategy: From 092889d9dfc5120d0338896f6c0dbed57862570e Mon Sep 17 00:00:00 2001 From: Damjan Smickovski Date: Tue, 27 Jun 2023 13:39:20 +0200 Subject: [PATCH 2/4] Changed job spec --- .github/workflows/integration-tests-smoke.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests-smoke.yml b/.github/workflows/integration-tests-smoke.yml index 40404b1c9..0bd3706c8 100644 --- a/.github/workflows/integration-tests-smoke.yml +++ b/.github/workflows/integration-tests-smoke.yml @@ -105,6 +105,7 @@ jobs: QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} setup_job_name: + name: Setup job name runs-on: ubuntu-latest outputs: job_name: ${{ steps.set_job_name.outputs.job_name }} @@ -121,7 +122,7 @@ jobs: run_tests: name: ${{ needs.setup_job_name.outputs.job_name }} runs-on: ubuntu20.04-16cores-64GB - needs: [ setup_job_name, build_custom_chainlink_image, build_test_image ] + needs: [setup_job_name, build_custom_chainlink_image, build_test_image] environment: integration # these values need to match those used to build the chainlink image strategy: From 1c8765ede459461c9ae5c663a405d83548b6d4e4 Mon Sep 17 00:00:00 2001 From: Damjan Smickovski Date: Tue, 27 Jun 2023 14:03:21 +0200 Subject: [PATCH 3/4] Changed job spec --- .github/workflows/integration-tests-smoke.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-tests-smoke.yml b/.github/workflows/integration-tests-smoke.yml index 0bd3706c8..074c77213 100644 --- a/.github/workflows/integration-tests-smoke.yml +++ b/.github/workflows/integration-tests-smoke.yml @@ -104,8 +104,7 @@ jobs: QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }} QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} - setup_job_name: - name: Setup job name + setup: runs-on: ubuntu-latest outputs: job_name: ${{ steps.set_job_name.outputs.job_name }} @@ -120,9 +119,9 @@ jobs: fi run_tests: - name: ${{ needs.setup_job_name.outputs.job_name }} + name: ${{ needs.setup.outputs.job_name }} runs-on: ubuntu20.04-16cores-64GB - needs: [setup_job_name, build_custom_chainlink_image, build_test_image] + needs: [setup, build_custom_chainlink_image, build_test_image] environment: integration # these values need to match those used to build the chainlink image strategy: From 137cf2dbdd86deef428abcbdf1d5fe40410c32e1 Mon Sep 17 00:00:00 2001 From: Damjan Smickovski Date: Mon, 25 Sep 2023 10:35:05 +0200 Subject: [PATCH 4/4] Reverting smoke workflow --- .github/workflows/integration-tests-smoke.yml | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/integration-tests-smoke.yml b/.github/workflows/integration-tests-smoke.yml index 074c77213..24e064afe 100644 --- a/.github/workflows/integration-tests-smoke.yml +++ b/.github/workflows/integration-tests-smoke.yml @@ -9,8 +9,6 @@ on: required: true default: develop type: string - schedule: - - cron: '0 * * * *' # Only run 1 of this workflow at a time per PR concurrency: @@ -104,24 +102,10 @@ jobs: QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }} QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} - setup: - runs-on: ubuntu-latest - outputs: - job_name: ${{ steps.set_job_name.outputs.job_name }} - steps: - - name: Set job name - id: set_job_name - run: | - if [[ "${{ github.event_name }}" == "schedule" ]]; then - echo "job_name='Scheduled Run Smoke Tests'" >> $GITHUB_ENV - else - echo "job_name='Run Smoke Tests'" >> $GITHUB_ENV - fi - run_tests: - name: ${{ needs.setup.outputs.job_name }} + name: Run Smoke Tests runs-on: ubuntu20.04-16cores-64GB - needs: [setup, build_custom_chainlink_image, build_test_image] + needs: [ build_custom_chainlink_image, build_test_image ] environment: integration # these values need to match those used to build the chainlink image strategy: