Acceptance Tests for SCDF #423
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Acceptance Tests for SCDF | |
on: | |
schedule: | |
# 4:00 UTC Mon - Fri | |
- cron: "0 4 * * 1-5" | |
workflow_dispatch: | |
jobs: | |
kafka-0: | |
uses: ./.github/workflows/at-common-workflow.yml | |
with: | |
cf_host: 'lompoc' | |
cf_index: 0 | |
binder: 'kafka' | |
secrets: | |
CF_USERNAME: ${{ secrets.CF_USERNAME }} | |
CF_ENV_0_PASSWORD: ${{ secrets.CF_ENV_0_PASSWORD }} | |
CF_ENV_1_PASSWORD: ${{ secrets.CF_ENV_1_PASSWORD }} | |
SQL_USERNAME: ${{ secrets.SQL_USERNAME }} | |
SQL_PASSWORD: ${{ secrets.SQL_PASSWORD }} | |
SQL_SYSTEM_USERNAME: ${{ secrets.SQL_USERNAME }} | |
SQL_SYSTEM_PASSWORD: ${{ secrets.SQL_PASSWORD }} | |
SQL_HOST: ${{ secrets.SQL_HOST }} | |
SQL_PORT: ${{ secrets.SQL_PORT }} | |
KAFKA_USERNAME: ${{ secrets.KAFKA_USERNAME }} | |
KAFKA_PASSWORD: ${{ secrets.KAFKA_PASSWORD }} | |
KAFKA_BROKER_ADDRESS: ${{ secrets.KAFKA_BROKER_ADDRESS }} | |
kafka-1: | |
uses: ./.github/workflows/at-common-workflow.yml | |
with: | |
cf_host: 'calistoga' | |
cf_index: 1 | |
binder: 'kafka' | |
secrets: | |
CF_USERNAME: ${{ secrets.CF_USERNAME }} | |
CF_ENV_0_PASSWORD: ${{ secrets.CF_ENV_0_PASSWORD }} | |
CF_ENV_1_PASSWORD: ${{ secrets.CF_ENV_1_PASSWORD }} | |
SQL_USERNAME: ${{ secrets.SQL_USERNAME }} | |
SQL_PASSWORD: ${{ secrets.SQL_PASSWORD }} | |
SQL_SYSTEM_USERNAME: ${{ secrets.SQL_USERNAME }} | |
SQL_SYSTEM_PASSWORD: ${{ secrets.SQL_PASSWORD }} | |
SQL_HOST: ${{ secrets.SQL_HOST }} | |
SQL_PORT: ${{ secrets.SQL_PORT }} | |
KAFKA_USERNAME: ${{ secrets.KAFKA_USERNAME }} | |
KAFKA_PASSWORD: ${{ secrets.KAFKA_PASSWORD }} | |
KAFKA_BROKER_ADDRESS: ${{ secrets.KAFKA_BROKER_ADDRESS }} | |
rabbit-0: | |
needs: [ kafka-0 ] | |
uses: ./.github/workflows/at-common-workflow.yml | |
with: | |
cf_host: 'lompoc' | |
cf_index: 0 | |
binder: 'rabbit' | |
secrets: | |
CF_USERNAME: ${{ secrets.CF_USERNAME }} | |
CF_ENV_0_PASSWORD: ${{ secrets.CF_ENV_0_PASSWORD }} | |
CF_ENV_1_PASSWORD: ${{ secrets.CF_ENV_1_PASSWORD }} | |
SQL_USERNAME: ${{ secrets.SQL_USERNAME }} | |
SQL_PASSWORD: ${{ secrets.SQL_PASSWORD }} | |
SQL_SYSTEM_USERNAME: ${{ secrets.SQL_USERNAME }} | |
SQL_SYSTEM_PASSWORD: ${{ secrets.SQL_PASSWORD }} | |
SQL_HOST: ${{ secrets.SQL_HOST }} | |
SQL_PORT: ${{ secrets.SQL_PORT }} | |
rabbit-1: | |
needs: [ kafka-1 ] | |
uses: ./.github/workflows/at-common-workflow.yml | |
with: | |
cf_host: 'calistoga' | |
cf_index: 1 | |
binder: 'rabbit' | |
secrets: | |
CF_USERNAME: ${{ secrets.CF_USERNAME }} | |
CF_ENV_0_PASSWORD: ${{ secrets.CF_ENV_0_PASSWORD }} | |
CF_ENV_1_PASSWORD: ${{ secrets.CF_ENV_1_PASSWORD }} | |
SQL_USERNAME: ${{ secrets.SQL_USERNAME }} | |
SQL_PASSWORD: ${{ secrets.SQL_PASSWORD }} | |
SQL_SYSTEM_USERNAME: ${{ secrets.SQL_USERNAME }} | |
SQL_SYSTEM_PASSWORD: ${{ secrets.SQL_PASSWORD }} | |
SQL_HOST: ${{ secrets.SQL_HOST }} | |
SQL_PORT: ${{ secrets.SQL_PORT }} | |
completed: | |
needs: [ kafka-0, rabbit-0, kafka-1, rabbit-1 ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Completed | |
run: echo "Completed" |