Skip to content

Commit

Permalink
🔧 (aws-weekly.yml): Update schedule to execute workflow every Sunday …
Browse files Browse the repository at this point in the history
…at 4:00 AM instead of 6:00 AM

🔧 (aws-weekly.yml): Refactor workflow to include support for various database types in the test execution process
  • Loading branch information
jandroav committed May 31, 2024
1 parent 25df9d7 commit 1a7b0e8
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/aws-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -288,4 +295,9 @@ jobs:
with:
destroy: true
stack_id: ${{ needs.deploy-ephemeral-cloud-infra.outputs.stack_id }}
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') }}

0 comments on commit 1a7b0e8

Please sign in to comment.