Skip to content

ROSA Daily Scheduled Run #336

ROSA Daily Scheduled Run

ROSA Daily Scheduled Run #336

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-with-external-infinispan:
name: ROSA Scheduled Create Active/Active cluster with External Infinispan
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
activeActive: true
enableExternalInfinispanFeature: true
secrets: inherit
run-functional-tests-active-active-with-external-infinispan:
needs: keycloak-deploy-active-active-with-external-infinispan
name: Runs the functional test suite in Active/Active with the External Infinispan feature
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
secrets: inherit
run-scaling-benchmark-active-active-with-external-infinispan:
needs: run-functional-tests-active-active-with-external-infinispan
name: Scaling Benchmark with Active/Active External Infinispan Feature
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-external-infinispan'
secrets: inherit
keycloak-undeploy-active-active-with-external-infinispan:
needs: run-scaling-benchmark-active-active-with-external-infinispan
name: Undeploy Keycloak 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:
needs: keycloak-undeploy-active-active-with-external-infinispan
name: ROSA Scheduled Create Active/Active cluster with 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
enablePersistentSessions: true
enableExternalInfinispanFeature: true
createCluster: false
activeActive: true
secrets: inherit
run-functional-tests-active-active:
needs: keycloak-deploy-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: true
secrets: inherit
run-scaling-benchmark-active-active:
needs: run-functional-tests-active-active
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'
skipCreateDataset: true
secrets: inherit