Skip to content

Commit

Permalink
Fix failing git test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasrod16 committed Aug 17, 2023
1 parent 2cd4af7 commit 3ffb299
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/packages/22-git-data/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ components:
onDeploy:
before:
# Check to verify the package secret has been saved for the already deployed component
- cmd: test $(./zarf tools kubectl get secret -n zarf zarf-package-git-data-test -o jsonpath='{.data.*}' | base64 --decode | jq -r .deployedComponents | jq '. | length') -eq 1
- cmd: test $(./zarf tools kubectl get secret -n zarf zarf-package-git-data-test -o jsonpath='{.data.*}' | base64 --decode | jq -r .deployedComponents | jq '. | length') -eq 2
description: Check that the package secret has been updated with the deployed component
maxRetries: 3

Expand All @@ -43,7 +43,7 @@ components:
onDeploy:
before:
# Check to verify the package secret has been saved for the already deployed component
- cmd: test $(./zarf tools kubectl get secret -n zarf zarf-package-git-data-test -o jsonpath='{.data.*}' | base64 --decode | jq -r .deployedComponents | jq '. | length') -eq 2
- cmd: test $(./zarf tools kubectl get secret -n zarf zarf-package-git-data-test -o jsonpath='{.data.*}' | base64 --decode | jq -r .deployedComponents | jq '. | length') -eq 3
description: Check that the package secret has been updated with the deployed component
maxRetries: 3

Expand All @@ -58,7 +58,7 @@ components:
onDeploy:
before:
# Check to verify the package secret has been saved for the already deployed component
- cmd: test $(./zarf tools kubectl get secret -n zarf zarf-package-git-data-test -o jsonpath='{.data.*}' | base64 --decode | jq -r .deployedComponents | jq '. | length') -eq 3
- cmd: test $(./zarf tools kubectl get secret -n zarf zarf-package-git-data-test -o jsonpath='{.data.*}' | base64 --decode | jq -r .deployedComponents | jq '. | length') -eq 4
description: Check that the package secret has been updated with the deployed component
maxRetries: 3
onSuccess:
Expand Down

0 comments on commit 3ffb299

Please sign in to comment.