File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,16 +43,16 @@ jobs:
43
43
inputs :
44
44
azureSubscription : ' ContainerInsights_Build_Subscription'
45
45
scriptLocation : ' inlineScript'
46
- inlineScript : ' az aks get-credentials -g Monitoring-Model-Cluster-WEU -n Monitoring-Model-Cluster-WEU '
46
+ inlineScript : ' az aks get-credentials -g $(RESOURCE_GROUP) -n $(CLUSTER_NAME) '
47
47
48
48
- bash : |
49
- envsubst < ./testkube/testkube-test-crs.yaml > ./testkube/testkube-test-crs-Monitoring-Model-Cluster-WEU .yaml
49
+ envsubst < ./testkube/testkube-test-crs.yaml > ./testkube/testkube-test-crs-$(CLUSTER_NAME) .yaml
50
50
kubectl apply -f ./testkube/api-server-permissions.yaml
51
- kubectl apply -f ./testkube/testkube-test-crs-Monitoring-Model-Cluster-WEU .yaml
51
+ kubectl apply -f ./testkube/testkube-test-crs-$(CLUSTER_NAME) .yaml
52
52
exit 0
53
53
workingDirectory: $(Build.SourcesDirectory)/test/
54
54
displayName: "Apply TestKube CRs and pod/service monitors"
55
-
55
+
56
56
- bash : |
57
57
sleep 120
58
58
displayName: "Wait for cluster to be ready"
You can’t perform that action at this time.
0 commit comments