Skip to content

Commit

Permalink
move integration directory to test directroy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed El-Sayed committed Dec 5, 2022
1 parent e973960 commit a4af9d9
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
VERSION=$(cat ./version.txt)
docker build -t weaveworks/policy-agent:${VERSION} .
cd integration
cd test/integration
bash deploy.sh
go test -v ./...
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions integration/deploy.sh → test/integration/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ helm install cert-manager jetstack/cert-manager --namespace cert-manager --creat

echo "[*] Apply test resources ..."
kubectl apply -f data/resources/audit_test_resources.yaml
kubectl apply -f ../helm/crds
kubectl apply -f ../../helm/crds

echo "[*] Apply cluster resources"
kubectl apply -f data/state

echo "[*] Installing policy agent helm chart on namespace ${NAMESPACE} ..."
helm install policy-agent ../helm -n ${NAMESPACE} -f ../helm/values.yaml -f data/values.yaml --create-namespace --wait --timeout 60s
helm install policy-agent ../../helm -n ${NAMESPACE} -f ../../helm/values.yaml -f data/values.yaml --create-namespace --wait --timeout 60s
File renamed without changes.
File renamed without changes.

0 comments on commit a4af9d9

Please sign in to comment.