Skip to content

ROSA Daily Scheduled Run #328

ROSA Daily Scheduled Run

ROSA Daily Scheduled Run #328

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:
cluster-create-keycloak-deploy:
name: ROSA Scheduled Create cluster A/P volatile 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
secrets: inherit
run-functional-tests:
needs: cluster-create-keycloak-deploy
uses: ./.github/workflows/rosa-run-crossdc-func-tests.yml
with:
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
secrets: inherit
run-scaling-benchmark:
needs: run-functional-tests
uses: ./.github/workflows/rosa-scaling-benchmark.yml
with:
clusterName: gh-keycloak-a # ${{ env.CLUSTER_PREFIX }}-a -- unfortunately 'env.' doesn't work here ${{ env.CLUSTER_PREFIX }}-a
outputArchiveSuffix: 'default'
secrets: inherit
keycloak-undeploy:
needs: run-scaling-benchmark
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
secrets: inherit
keycloak-deploy-with-persistent-sessions:
needs: keycloak-undeploy
name: ROSA Scheduled Create cluster with A/P 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
createCluster: false
secrets: inherit
run-scaling-benchmark-with-persistent-sessions:
needs: keycloak-deploy-with-persistent-sessions
uses: ./.github/workflows/rosa-scaling-benchmark.yml
with:
clusterName: gh-keycloak-a # ${{ env.CLUSTER_PREFIX }}-a -- unfortunately 'env.' doesn't work here ${{ env.CLUSTER_PREFIX }}-a
skipCreateDataset: true
outputArchiveSuffix: 'persistent-sessions'
secrets: inherit
keycloak-undeploy-with-persistent-sessions:
needs: run-scaling-benchmark-with-persistent-sessions
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
secrets: inherit
keycloak-deploy-with-external-infinispan:
needs: keycloak-undeploy-with-persistent-sessions
name: ROSA Scheduled Create cluster with A/P External Infinispan Feature
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
enableExternalInfinispanFeature: true
createCluster: false
secrets: inherit
run-ap-functional-tests-with-external-infinispan:
needs: keycloak-deploy-with-external-infinispan
name: Runs the functional test suite in Active/Passive with the External Infinispan feature
uses: ./.github/workflows/rosa-run-crossdc-func-tests.yml
with:
clusterPrefix: gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
externalInfinispanEnabled: true
secrets: inherit
run-scaling-benchmark-with-external-infinispan:
needs: run-ap-functional-tests-with-external-infinispan
name: Scaling Benchmark with Active/Passive 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 ${{ env.CLUSTER_PREFIX }}-a
skipCreateDataset: true
outputArchiveSuffix: 'external-infinispan'
secrets: inherit
keycloak-undeploy-with-external-infinispan:
needs: run-scaling-benchmark-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
secrets: inherit
keycloak-deploy-active-active:
needs: keycloak-undeploy-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
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
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 ${{ env.CLUSTER_PREFIX }}-a
outputArchiveSuffix: 'active-active'
skipCreateDataset: true
secrets: inherit
keycloak-undeploy-active-active:
needs: run-scaling-benchmark-active-active
name: Undeploy Keycloak deployment A/A
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-with-external-infinispan:
needs: keycloak-undeploy-active-active
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
createCluster: false
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
externalInfinispanEnabled: 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 ${{ env.CLUSTER_PREFIX }}-a
outputArchiveSuffix: 'active-active-external-infinispan'
skipCreateDataset: true
secrets: inherit
# keycloak-undeploy-active-active-with-external-infinispan:
# needs: run-functional-tests-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