Skip to content

patch: fix failing tests for cf-argocd-extras when version changes #668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions charts/gitops-runtime/tests/cf-argocd-extras_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ suite: cf-argocd-extras tests
templates:
- cf-argocd-extras/**/*.yaml
- _components/cf-argocd-extras/**
chart:
version: 0.0.0
tests:
- it: Sources Server ConfigMap should have valid data
template: cf-argocd-extras/sources-server/configmap.yaml
Expand Down
2 changes: 1 addition & 1 deletion scripts/helm-unittests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CHART_DIR="$(cd "$(dirname "$0")/.." && pwd)"
echo "$CHART_DIR"

echo "Running Helm unittests"
docker run --entrypoint "/bin/sh" -it --rm -v $CHART_DIR/charts:/charts alpine/helm:3.14.4 -c 'helm plugin install https://github.com/helm-unittest/helm-unittest.git --version 0.5.1 && helm unittest /charts/gitops-runtime'
docker run -it --rm -v $CHART_DIR/charts:/charts helmunittest/helm-unittest:3.15.3-0.5.1 /charts/gitops-runtime