ROSA Daily Scheduled Run #434
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: ROSA Daily Scheduled Run | |
on: | |
schedule: | |
- cron: '0 5 * * 1-5' # Runs At 05:00 UTC on every day-of-week from Monday through Friday. | |
workflow_dispatch: | |
# env: | |
# CLUSTER_PREFIX: gh-keycloak | |
jobs: | |
keycloak-deploy-active-active: | |
name: ROSA Scheduled Create Active/Active cluster with External Infinispan and Persistent Sessions | |
if: github.event_name != 'schedule' || github.repository == 'keycloak/keycloak-benchmark' | |
uses: ./.github/workflows/rosa-multi-az-cluster-create.yml | |
with: | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
enableMultiSiteFeature: true | |
enableExternalInfinispanFeature: false | |
activeActive: true | |
secrets: inherit | |
run-active-active-health-checks-after-deploy: | |
needs: keycloak-deploy-active-active | |
name: Run multi-site health checks after deployment | |
uses: ./.github/workflows/keycloak-multi-site-health-check.yml | |
with: | |
activeActive: true | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
project: runner-keycloak | |
region: eu-west-1 | |
expectedInfinispanNodeCount: '3' | |
secrets: inherit | |
run-functional-tests-active-active: | |
needs: run-active-active-health-checks-after-deploy | |
uses: ./.github/workflows/rosa-run-crossdc-func-tests.yml | |
with: | |
activeActive: true | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
skipEmbeddedCaches: true | |
skipRemoteCaches: true | |
secrets: inherit | |
run-active-active-health-checks-after-functional-tests: | |
needs: run-functional-tests-active-active | |
name: Run multi-site health checks after functional tests | |
uses: ./.github/workflows/keycloak-multi-site-health-check.yml | |
with: | |
activeActive: true | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
project: runner-keycloak | |
region: eu-west-1 | |
expectedInfinispanNodeCount: '3' | |
secrets: inherit | |
run-scaling-benchmark-active-active: | |
needs: run-active-active-health-checks-after-functional-tests | |
uses: ./.github/workflows/rosa-scaling-benchmark.yml | |
with: | |
clusterName: gh-keycloak-a # ${{ env.CLUSTER_PREFIX }}-a -- unfortunately 'env.' doesn't work here | |
outputArchiveSuffix: 'active-active' | |
secrets: inherit | |
run-active-active-health-checks-after-benchmarks: | |
needs: run-scaling-benchmark-active-active | |
name: Run multi-site health checks after benchmarks | |
uses: ./.github/workflows/keycloak-multi-site-health-check.yml | |
with: | |
activeActive: true | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
project: runner-keycloak | |
region: eu-west-1 | |
expectedInfinispanNodeCount: '3' | |
secrets: inherit | |
keycloak-undeploy-active-active: | |
needs: run-active-active-health-checks-after-benchmarks | |
name: Undeploy Keycloak A/A deployment on the multi-az cluster | |
if: github.event_name != 'schedule' || github.repository == 'keycloak/keycloak-benchmark' | |
uses: ./.github/workflows/rosa-multi-az-cluster-undeploy.yml | |
with: | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
skipAuroraDeletion: true | |
activeActive: true | |
secrets: inherit | |
keycloak-deploy-active-active-volatile: | |
needs: keycloak-undeploy-active-active | |
name: Deploy Volatile Active/Active | |
if: github.event_name != 'schedule' || github.repository == 'keycloak/keycloak-benchmark' | |
uses: ./.github/workflows/rosa-multi-az-cluster-create.yml | |
with: | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
enableMultiSiteFeature: true | |
enableExternalInfinispanFeature: true | |
activeActive: true | |
createCluster: false | |
secrets: inherit | |
run-active-active-volatile-health-checks-after-deploy: | |
needs: keycloak-deploy-active-active-volatile | |
name: Run multi-site health checks after deployment | |
uses: ./.github/workflows/keycloak-multi-site-health-check.yml | |
with: | |
activeActive: true | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
project: runner-keycloak | |
region: eu-west-1 | |
expectedInfinispanNodeCount: '3' | |
secrets: inherit | |
run-functional-tests-active-active-volatile: | |
needs: run-active-active-volatile-health-checks-after-deploy | |
name: Test Volatile Active/Active | |
uses: ./.github/workflows/rosa-run-crossdc-func-tests.yml | |
with: | |
activeActive: true | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
skipEmbeddedCaches: true | |
skipRemoteCaches: false | |
secrets: inherit | |
run-active-active-volatile-health-checks-after-functional-tests: | |
needs: run-functional-tests-active-active-volatile | |
name: Run multi-site health checks after functional tests | |
uses: ./.github/workflows/keycloak-multi-site-health-check.yml | |
with: | |
activeActive: true | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
project: runner-keycloak | |
region: eu-west-1 | |
expectedInfinispanNodeCount: '3' | |
secrets: inherit | |
run-scaling-benchmark-active-active-volatile: | |
needs: run-active-active-volatile-health-checks-after-functional-tests | |
name: Benchmark Volatile Active/Active | |
uses: ./.github/workflows/rosa-scaling-benchmark.yml | |
with: | |
clusterName: gh-keycloak-a # ${{ env.CLUSTER_PREFIX }}-a -- unfortunately 'env.' doesn't work here | |
skipCreateDataset: true | |
outputArchiveSuffix: 'active-active-volatile' | |
secrets: inherit | |
run-active-active-volatile-health-checks-after-benchmarks: | |
needs: run-scaling-benchmark-active-active-volatile | |
name: Run multi-site health checks after benchmarks | |
uses: ./.github/workflows/keycloak-multi-site-health-check.yml | |
with: | |
activeActive: true | |
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here | |
project: runner-keycloak | |
region: eu-west-1 | |
expectedInfinispanNodeCount: '3' | |
secrets: inherit | |