@@ -17,8 +17,7 @@ handle_nightly() {
17
17
deploy_test_backstage_provider " ${NAME_SPACE} "
18
18
19
19
run_standard_deployment_tests
20
- run_rds_deployment_tests
21
- # run_runtime_config_change_tests
20
+ run_runtime_config_change_tests
22
21
23
22
}
24
23
@@ -29,28 +28,10 @@ run_standard_deployment_tests() {
29
28
check_and_test " ${RELEASE_NAME_RBAC} " " ${NAME_SPACE_RBAC} " " ${rbac_url} "
30
29
}
31
30
32
- run_rds_deployment_tests () {
33
- # Only test TLS config with RDS and Change configuration at runtime in nightly jobs
34
- initiate_rds_deployment " ${RELEASE_NAME} " " ${NAME_SPACE_RDS} "
35
- local rds_url=" https://${RELEASE_NAME} -backstage-${NAME_SPACE_RDS} .${K8S_CLUSTER_ROUTER_BASE} "
36
- check_and_test " ${RELEASE_NAME} " " ${NAME_SPACE_RDS} " " ${rds_url} "
37
- }
38
-
39
31
run_runtime_config_change_tests () {
40
32
# Deploy `showcase-runtime` to run tests that require configuration changes at runtime
41
- configure_namespace " ${NAME_SPACE_RUNTIME} "
42
- uninstall_helmchart " ${NAME_SPACE_RUNTIME} " " ${RELEASE_NAME} "
43
- oc apply -f " $DIR /resources/redis-cache/redis-deployment.yaml" --namespace=" ${NAME_SPACE_RUNTIME} "
44
-
33
+ initiate_runtime_deployment " ${RELEASE_NAME} " " ${NAME_SPACE_RUNTIME} "
45
34
local runtime_url=" https://${RELEASE_NAME} -backstage-${NAME_SPACE_RUNTIME} .${K8S_CLUSTER_ROUTER_BASE} "
46
-
47
- apply_yaml_files " ${DIR} " " ${NAME_SPACE_RUNTIME} " " ${runtime_url} "
48
- helm upgrade -i " ${RELEASE_NAME} " -n " ${NAME_SPACE_RUNTIME} " \
49
- " ${HELM_REPO_NAME} /${HELM_IMAGE_NAME} " --version " ${CHART_VERSION} " \
50
- -f " ${DIR} /value_files/${HELM_CHART_VALUE_FILE_NAME} " \
51
- --set global.clusterRouterBase=" ${K8S_CLUSTER_ROUTER_BASE} " \
52
- --set upstream.backstage.image.repository=" ${QUAY_REPO} " \
53
- --set upstream.backstage.image.tag=" ${TAG_NAME} " \
54
35
check_and_test " ${RELEASE_NAME} " " ${NAME_SPACE_RUNTIME} " " ${runtime_url} "
55
36
}
56
37
0 commit comments