Skip to content

Commit

Permalink
cleanup redundant make cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
yorugac committed Oct 2, 2024
1 parent 401110a commit 95cbf37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4
- name: Test
run: |
make test-setup-ci
make test-setup
make test
env:
ENVTEST_K8S_VERSION: ${{ matrix.k8s_version }}
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ test-setup:
mv kubebuilder $(KUBEBUILDER_ASSETS_ROOT)
export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS); go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(ENVTEST_VERSION)

test-setup-ci:
curl -L -O "https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-$(ENVTEST_K8S_VERSION)-$(GOOS)-$(GOARCH).tar.gz"
tar -xvf kubebuilder-tools-$(ENVTEST_K8S_VERSION)-$(GOOS)-$(GOARCH).tar.gz
mv kubebuilder $(KUBEBUILDER_ASSETS_ROOT)
export KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS); go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(ENVTEST_VERSION)

e2e: deploy
kubectl create configmap crocodile-stress-test --from-file e2e/test.js
kubectl apply -f e2e/test.yaml
Expand Down

0 comments on commit 95cbf37

Please sign in to comment.