File tree 1 file changed +4
-3
lines changed 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 37
37
DEFAULT_SLEEP_TIMEOUT_SECONDS : 10
38
38
KUBECTL_WAIT_TIMEOUT : 300s
39
39
DEBUG : ${{ github.event.inputs.debug || false }}
40
+ CLUSTER_NAME : ' e2e-ci-prometheus-federator'
40
41
41
42
permissions :
42
43
contents : write
@@ -75,15 +76,15 @@ jobs:
75
76
run : ./.github/workflows/e2e/scripts/install-k3d.sh
76
77
-
77
78
name : Setup k3d cluster
78
- run : CLUSTER_NAME=e2e-ci-prometheus-federator K3S_VERSION=${{ matrix.k3s_version }} ./.github/workflows/e2e/scripts/setup-cluster.sh
79
+ run : K3S_VERSION=${{ matrix.k3s_version }} ./.github/workflows/e2e/scripts/setup-cluster.sh
79
80
-
80
81
name : Import Images Into k3d
81
82
run : |
82
- k3d image import ${REPO}/prometheus-federator:${TAG} -c e2e-ci-prometheus-federator ;
83
+ k3d image import ${REPO}/prometheus-federator:${TAG} -c $CLUSTER_NAME ;
83
84
-
84
85
name : Setup kubectl context
85
86
run : |
86
- kubectl config use-context k3d-e2e-ci-prometheus-federator ;
87
+ kubectl config use-context " k3d-$CLUSTER_NAME" ;
87
88
-
88
89
name : Set Up Tmate Debug Session
89
90
if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.enable_tmate == 'true' }}
You can’t perform that action at this time.
0 commit comments