Skip to content

Commit

Permalink
fix kubebuilder install location
Browse files Browse the repository at this point in the history
  • Loading branch information
toelke committed Apr 18, 2024
1 parent 997c03c commit 22c3cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
GO111MODULE=on go install github.com/onsi/ginkgo/ginkgo@v1.14.2
if ! [[ -x $(go env GOPATH)/bin/golangci-lint ]]; then echo "golangci-lint not found; fetching"; curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.57.2; fi
if ! [[ -d ${{ github.workspace }}/kubebuilder_2.3.1_linux_amd64 ]]; then echo "kubebuilder not found; fetching"; curl -sSfL https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_linux_amd64.tar.gz | tar zxvf -; fi
if ! [[ -d ${{ github.workspace }}/kubebuilder_2.3.1_linux_amd64 ]]; then echo "kubebuilder not found; fetching"; curl -sSfL https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_linux_amd64.tar.gz | tar zxvf -; mkdir -p /home/runner/work/wave/wave/src/github.com/wave-k8s/wave/kubebuilder/1.29.0; mv kubebuilder_2.3.1_linux_amd64/bin /home/runner/work/wave/wave/src/github.com/wave-k8s/wave/kubebuilder/1.29.0; fi
if ! [[ -x $(go env GOPATH)/bin/kustomize ]]; then echo "kustomize not found; fetching"; GO111MODULE=on go install sigs.k8s.io/kustomize/kustomize/v5@latest; fi
- name: Download dependencies
run: |
Expand All @@ -47,7 +47,7 @@ jobs:
run: |
export GOPATH=$(go env GOPATH)
export PATH=$GOPATH/bin:$PATH
./configure --with-kubebuilder=${{ github.workspace }}/kubebuilder_2.3.1_linux_amd64/bin --with-kubectl=${{ github.workspace }}/kubebuilder_2.3.1_linux_amd64/bin/kubectl
./configure --with-kubebuilder=/home/runner/work/wave/wave/src/github.com/wave-k8s/wave/kubebuilder/1.29.0/bin github.workspace }}/kubebuilder/1.29.0/bin --with-kubectl=/home/runner/work/wave/wave/src/github.com/wave-k8s/wave/kubebuilder/1.29.0/bin/kubectl
working-directory: ./src/github.com/${{ github.repository }}
- name: Run Tests
run: |
Expand Down

0 comments on commit 22c3cc5

Please sign in to comment.