From 1a7b0e8f56116f807542a082e8410ec58a512d91 Mon Sep 17 00:00:00 2001 From: jandroav Date: Fri, 31 May 2024 10:44:30 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(aws-weekly.yml):=20Update=20sch?= =?UTF-8?q?edule=20to=20execute=20workflow=20every=20Sunday=20at=204:00=20?= =?UTF-8?q?AM=20instead=20of=206:00=20AM=20=F0=9F=94=A7=20(aws-weekly.yml)?= =?UTF-8?q?:=20Refactor=20workflow=20to=20include=20support=20for=20variou?= =?UTF-8?q?s=20database=20types=20in=20the=20test=20execution=20process?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/aws-weekly.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/aws-weekly.yml b/.github/workflows/aws-weekly.yml index fd5c8976f..3561d2b59 100644 --- a/.github/workflows/aws-weekly.yml +++ b/.github/workflows/aws-weekly.yml @@ -4,9 +4,9 @@ name: AWS Weekly Cloud Database Test Execution concurrency: aws-run on: # Triggers the workflow on a schedule for the main branch. Also allows for manual triggers - # Execute every sunday at 6:00 AM + # Execute every sunday at 4:00 AM schedule: - - cron: '0 6 * * 0' + - cron: '0 4 * * 0' workflow_dispatch: inputs: testClasses: @@ -42,7 +42,14 @@ jobs: secrets: inherit with: deploy: true - aws_test_harness: true + aws_postgresql: ${{ contains(inputs.databases, 'postgresql') }} + aws_oracle: ${{ contains(inputs.databases, 'oracle') }} + aws_mariadb: ${{ contains(inputs.databases, 'mariadb') }} + aws_aurora_mysql: ${{ contains(inputs.databases, 'mysql:aurora') }} + aws_mssql: ${{ contains(inputs.databases, 'mssql') }} + aws_aurora_postgres: ${{ contains(inputs.databases, 'postgresql:aurora') }} + + init-mysql: runs-on: ubuntu-latest @@ -288,4 +295,9 @@ jobs: with: destroy: true stack_id: ${{ needs.deploy-ephemeral-cloud-infra.outputs.stack_id }} - aws_test_harness: true \ No newline at end of file + aws_postgresql: ${{ contains(inputs.databases, 'postgresql') }} + aws_oracle: ${{ contains(inputs.databases, 'oracle') }} + aws_mariadb: ${{ contains(inputs.databases, 'mariadb') }} + aws_aurora_mysql: ${{ contains(inputs.databases, 'mysql:aurora') }} + aws_mssql: ${{ contains(inputs.databases, 'mssql') }} + aws_aurora_postgres: ${{ contains(inputs.databases, 'postgresql:aurora') }} \ No newline at end of file