Skip to content

Commit

Permalink
Fix chart testing for CI
Browse files Browse the repository at this point in the history
Get CT base ref from prow rather than git remote

Signed-off-by: Connor Catlett <conncatl@amazon.com>
  • Loading branch information
ConnorJC3 committed Jan 10, 2023
1 parent cd21a03 commit cba45bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions hack/prow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ export REGISTRY=$REGISTRY_NAME
export TAG=$GIT_TAG
export VERSION=$PULL_BASE_REF
IMAGE=gcr.io/k8s-staging-provider-aws/aws-ebs-csi-driver make all-push

# Setup required for chart tester becuase is ALWAYS needs a remote
git remote add ct https://github.com/kubernetes-sigs/aws-ebs-csi-driver.git
export CT_REMOTE=ct
export CT_SINCE=$PULL_BASE_REF
5 changes: 0 additions & 5 deletions tests/ct-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
remote: origin
since: HEAD~1
github-instance: https://github.com
lint-conf: tests/ct-lintconfig.yaml
validate-chart-schema: false
validate-yaml: false
check-version-increment: false
Expand All @@ -15,4 +11,3 @@ release-label: release
kubectl-timeout: 3000s
skip-clean-up: false
print-logs: true
debug: false

0 comments on commit cba45bc

Please sign in to comment.