Skip to content

Commit 3966bc5

Browse files
authored
Fix issue with upgrade Taskfile target (#4359)
1 parent 83687ff commit 3966bc5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Taskfile.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -373,24 +373,25 @@ tasks:
373373
sh: "cat {{.DIR}}/azure/miclientid.txt"
374374

375375
controller:test-upgrade-apply-prerelease-chart:
376-
desc: Apply the {{.CONTROLLER_APP}} prelease chart for new release
376+
desc: Apply the {{.CONTROLLER_APP}} prerelease chart for new release
377377
dir: "{{.CONTROLLER_ROOT}}"
378378
cmds:
379379
- task: controller:docker-push-local
380380
- task: controller:package-helm-manifest
381381
- task: controller:install-helm-wi
382382
vars:
383-
DIR: "{{.DIR | default .KIND_WORKLOAD_IDENTITY_PATH}}"
384383
AZURE_MI_CLIENT_ID:
385384
sh: "cat {{.DIR}}/azure/miclientid.txt"
385+
vars:
386+
DIR: "{{.DIR | default .KIND_WORKLOAD_IDENTITY_PATH}}"
386387

387388
controller:test-upgrade-post:
388389
desc: Test upgrading {{.CONTROLLER_APP}} and helm chart for new release
389390
dir: "{{.CONTROLLER_ROOT}}"
390391
cmds:
391392
- task: controller:test-upgrade-apply-prerelease-chart
392393
- "go test -timeout 15m -count=1 -v -run Test_Pre_Release_ResourceCanBeCreated_AfterUpgrade ./test/pre-release"
393-
- task controller:kind-delete
394+
- task: controller:kind-delete
394395

395396
controller:test-upgrade:
396397
desc: Test upgrading {{.CONTROLLER_APP}} and helm chart for new release

0 commit comments

Comments
 (0)