Skip to content

Commit cb9283d

Browse files
committed
Fixing sbcli command issue for branches
1 parent 1049bc0 commit cb9283d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/e2e.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
-var storage_nodes_ebs_size2=100 -var "region=us-east-2" \
139139
-var "sbcli_cmd=$SBCLI_CMD" -out=tfplan
140140
env:
141-
SBCLI_CMD: $SBCLI_CMD
141+
SBCLI_CMD: ${{ env.SBCLI_CMD }}
142142

143143
- name: Apply Terraform Changes
144144
run: |
@@ -166,7 +166,7 @@ jobs:
166166
--spdk-debug
167167
id: bootstrap_cluster
168168
env:
169-
SBCLI_CMD: $SBCLI_CMD
169+
SBCLI_CMD: ${{ env.SBCLI_CMD }}
170170

171171
- name: Record Test Start Time
172172
run: echo "TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
@@ -196,7 +196,7 @@ jobs:
196196
fi
197197
python3 e2e.py $TESTNAME
198198
env:
199-
SBCLI_CMD: $SBCLI_CMD
199+
SBCLI_CMD: ${{ env.SBCLI_CMD }}
200200

201201
- name: Record Test End Time
202202
if: always()

.github/workflows/k8s-e2e.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
-var "extra_nodes_arch=arm64" \
164164
-var "sbcli_cmd=$SBCLI_CMD" -out=tfplan
165165
env:
166-
SBCLI_CMD: $SBCLI_CMD
166+
SBCLI_CMD: ${{ env.SBCLI_CMD }}
167167

168168
- name: Apply Terraform Changes
169169
run: |
@@ -195,7 +195,7 @@ jobs:
195195
--spdk-debug
196196
id: bootstrap_cluster
197197
env:
198-
SBCLI_CMD: $SBCLI_CMD
198+
SBCLI_CMD: ${{ env.SBCLI_CMD }}
199199

200200
- name: Bootstrap k3s
201201
run: |
@@ -276,7 +276,7 @@ jobs:
276276
$SBCLI_CMD cluster activate ${{ steps.bootstrap_cluster.outputs.cluster_id }}
277277
"
278278
env:
279-
SBCLI_CMD: $SBCLI_CMD
279+
SBCLI_CMD: ${{ env.SBCLI_CMD }}
280280

281281
- name: Record Test Start Time
282282
run: echo "TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
@@ -312,7 +312,7 @@ jobs:
312312
--run_k8s True
313313
$TESTNAME
314314
env:
315-
SBCLI_CMD: $SBCLI_CMD
315+
SBCLI_CMD: ${{ env.SBCLI_CMD }}
316316

317317
- name: Record Test End Time
318318
if: always()

0 commit comments

Comments
 (0)