Skip to content

Commit

Permalink
Update functional-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijeet-dhumal authored Jan 15, 2024
1 parent f44d942 commit e70a162
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/functional-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:

- name: init directories
run: mkdir -p "$(pwd)/bin"

- name: Download setup-envtest binary file
run: curl -L -o "$(pwd)/bin/setup-envtest" https://github.com/kubernetes-sigs/kubebuilder/releases/download/v1.22.1/setup-envtest


- name: Download kubebuilder
run: |
version=1.0.8
Expand All @@ -42,12 +39,15 @@ jobs:
- name: Set up Kubebuilder and setup-envtest
run: |
make envtest
ls -l
chmod +x ./bin/setup-envtest
echo "execute permission added"
echo "envtest path $(./bin/setup-envtest use 1.23 -p path)"
ls -l ./bin
echo "KUBEBUILDER_ASSETS=$(./bin/setup-envtest use 1.23 -p path)" >> $GITHUB_ENV
echo "USE_EXISTING_CLUSTER=false" >> $GITHUB_ENV
export KUBEBUILDER_ASSETS="$(./bin/setup-envtest use 1.23 -p path)"
export USE_EXISTING_CLUSTER=false
echo "$KUBEBUILDER_ASSETS : $USE_EXISTING_CLUSTER"
- name: Test
run: go test -v ./functional-tests

0 comments on commit e70a162

Please sign in to comment.