44 schedule :
55 - cron : ' 0 5 * * 1-5' # Runs At 05:00 UTC on every day-of-week from Monday through Friday.
66 workflow_dispatch :
7-
8- # env:
9- # CLUSTER_PREFIX: gh-keycloak
7+ inputs :
8+ clusterPrefix :
9+ type : string
10+ default : gh-keycloak
11+ region :
12+ type : string
13+ default : eu-west-1
14+ keycloak_operator_olm :
15+ type : boolean
16+ default : false
17+ keycloak_operator_olm_catalog_source :
18+ type : string
19+ default : community-operators
20+ keycloak_operator_olm_name :
21+ type : string
22+ default : keycloak-operator
23+ keycloak_operator_olm_channel :
24+ type : string
25+ keycloak_operator_olm_version :
26+ type : string
27+ infinispan_use_custom_image :
28+ type : boolean
29+ default : true
30+ description : Use Keycloak-specific version of Infinispan server. When false, use operator default.
31+ infinispan_operator_olm_catalog_source :
32+ type : string
33+ default : community-operators
34+ infinispan_operator_olm_name :
35+ type : string
36+ default : infinispan
1037
1138jobs :
1239 keycloak-deploy-active-active :
1340 name : ROSA Scheduled Create Active/Active cluster with External Infinispan and Persistent Sessions
1441 if : github.event_name != 'schedule' || github.repository == 'keycloak/keycloak-benchmark'
1542 uses : ./.github/workflows/rosa-multi-az-cluster-create.yml
1643 with :
17- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
44+ clusterPrefix : ${{ inputs.clusterPrefix }}
1845 enableMultiSiteFeature : true
1946 enableExternalInfinispanFeature : false
2047 activeActive : true
48+ keycloak_operator_olm : ${{ inputs.keycloak_operator_olm }}
49+ keycloak_operator_olm_catalog_source : ${{ inputs.keycloak_operator_olm_catalog_source }}
50+ keycloak_operator_olm_name : ${{ inputs.keycloak_operator_olm_name }}
51+ keycloak_operator_olm_channel : ${{ inputs.keycloak_operator_olm_channel }}
52+ keycloak_operator_olm_version : ${{ inputs.keycloak_operator_olm_version }}
53+ infinispan_use_custom_image : ${{ inputs.infinispan_use_custom_image }}
54+ infinispan_operator_olm_catalog_source : ${{ inputs.infinispan_operator_olm_catalog_source }}
55+ infinispan_operator_olm_name : ${{ inputs.infinispan_operator_olm_name }}
2156 secrets : inherit
2257
2358 run-active-active-health-checks-after-deploy :
2661 uses : ./.github/workflows/keycloak-multi-site-health-check.yml
2762 with :
2863 activeActive : true
29- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
64+ clusterPrefix : ${{ inputs.clusterPrefix }}
3065 project : runner-keycloak
31- region : eu-west-1
3266 expectedInfinispanNodeCount : ' 3'
3367 secrets : inherit
3468
3771 uses : ./.github/workflows/rosa-run-crossdc-func-tests.yml
3872 with :
3973 activeActive : true
40- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
74+ clusterPrefix : ${{ inputs.clusterPrefix }}
4175 skipEmbeddedCaches : true
4276 skipRemoteCaches : true
4377 secrets : inherit
@@ -48,18 +82,19 @@ jobs:
4882 uses : ./.github/workflows/keycloak-multi-site-health-check.yml
4983 with :
5084 activeActive : true
51- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
85+ clusterPrefix : ${{ inputs.clusterPrefix }}
5286 project : runner-keycloak
53- region : eu-west-1
5487 expectedInfinispanNodeCount : ' 3'
5588 secrets : inherit
5689
5790 run-scaling-benchmark-active-active :
5891 needs : run-active-active-health-checks-after-functional-tests
5992 uses : ./.github/workflows/rosa-scaling-benchmark.yml
6093 with :
61- clusterName : gh-keycloak-a # ${{ env.CLUSTER_PREFIX }}-a -- unfortunately 'env.' doesn't work here
94+ clusterPrefix : ${{ inputs.clusterPrefix }}
6295 outputArchiveSuffix : ' active-active'
96+ region : ${{ inputs.region }}
97+ keycloak_operator_name : ${{ inputs.keycloak_operator_olm_name }}
6398 secrets : inherit
6499
65100 run-active-active-health-checks-after-benchmarks :
68103 uses : ./.github/workflows/keycloak-multi-site-health-check.yml
69104 with :
70105 activeActive : true
71- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
106+ clusterPrefix : ${{ inputs.clusterPrefix }}
72107 project : runner-keycloak
73- region : eu-west-1
74108 expectedInfinispanNodeCount : ' 3'
75109 secrets : inherit
76110
80114 if : github.event_name != 'schedule' || github.repository == 'keycloak/keycloak-benchmark'
81115 uses : ./.github/workflows/rosa-multi-az-cluster-undeploy.yml
82116 with :
83- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
117+ clusterPrefix : ${{ inputs.clusterPrefix }}
84118 skipAuroraDeletion : true
85119 activeActive : true
86120 secrets : inherit
@@ -91,10 +125,18 @@ jobs:
91125 if : github.event_name != 'schedule' || github.repository == 'keycloak/keycloak-benchmark'
92126 uses : ./.github/workflows/rosa-multi-az-cluster-create.yml
93127 with :
94- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
128+ clusterPrefix : ${{ inputs.clusterPrefix }}
95129 enableMultiSiteFeature : true
96130 enableExternalInfinispanFeature : false
97131 createCluster : false
132+ keycloak_operator_olm : ${{ inputs.keycloak_operator_olm }}
133+ keycloak_operator_olm_catalog_source : ${{ inputs.keycloak_operator_olm_catalog_source }}
134+ keycloak_operator_olm_name : ${{ inputs.keycloak_operator_olm_name }}
135+ keycloak_operator_olm_channel : ${{ inputs.keycloak_operator_olm_channel }}
136+ keycloak_operator_olm_version : ${{ inputs.keycloak_operator_olm_version }}
137+ infinispan_use_custom_image : ${{ inputs.infinispan_use_custom_image }}
138+ infinispan_operator_olm_catalog_source : ${{ inputs.infinispan_operator_olm_catalog_source }}
139+ infinispan_operator_olm_name : ${{ inputs.infinispan_operator_olm_name }}
98140 secrets : inherit
99141
100142 run-active-passive-health-checks-after-deploy :
@@ -103,17 +145,17 @@ jobs:
103145 uses : ./.github/workflows/keycloak-multi-site-health-check.yml
104146 with :
105147 activeActive : false
106- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
148+ clusterPrefix : ${{ inputs.clusterPrefix }}
107149 project : runner-keycloak
108- region : eu-west-1
109150 expectedInfinispanNodeCount : ' 3'
110151 secrets : inherit
111152
112153 run-functional-tests-active-passive :
113154 needs : run-active-passive-health-checks-after-deploy
114155 uses : ./.github/workflows/rosa-run-crossdc-func-tests.yml
115156 with :
116- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
157+ activeActive : false
158+ clusterPrefix : ${{ inputs.clusterPrefix }}
117159 skipEmbeddedCaches : true
118160 skipRemoteCaches : true
119161 secrets : inherit
@@ -124,19 +166,20 @@ jobs:
124166 uses : ./.github/workflows/keycloak-multi-site-health-check.yml
125167 with :
126168 activeActive : false
127- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
169+ clusterPrefix : ${{ inputs.clusterPrefix }}
128170 project : runner-keycloak
129- region : eu-west-1
130171 expectedInfinispanNodeCount : ' 3'
131172 secrets : inherit
132173
133174 run-scaling-benchmark-active-passive :
134175 needs : run-active-passive-health-checks-after-functional-tests
135176 uses : ./.github/workflows/rosa-scaling-benchmark.yml
136177 with :
137- clusterName : gh-keycloak-a # ${{ env.CLUSTER_PREFIX }}-a -- unfortunately 'env.' doesn't work here
178+ clusterPrefix : ${{ inputs.clusterPrefix }}
138179 skipCreateDataset : true
139180 outputArchiveSuffix : ' active-passive'
181+ region : ${{ inputs.region }}
182+ keycloak_operator_name : ${{ inputs.keycloak_operator_olm_name }}
140183 secrets : inherit
141184
142185 run-active-passive-health-checks-after-benchmarks :
@@ -145,8 +188,7 @@ jobs:
145188 uses : ./.github/workflows/keycloak-multi-site-health-check.yml
146189 with :
147190 activeActive : false
148- clusterPrefix : gh-keycloak # ${{ env.CLUSTER_PREFIX }} -- unfortunately 'env.' doesn't work here
191+ clusterPrefix : ${{ inputs.clusterPrefix }}
149192 project : runner-keycloak
150- region : eu-west-1
151193 expectedInfinispanNodeCount : ' 3'
152194 secrets : inherit
0 commit comments