Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
Signed-off-by: Emruz Hossain <[email protected]>
  • Loading branch information
Emruz Hossain committed Apr 28, 2022
1 parent 103a512 commit 80eb90e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
HOME: ${HOME}
run: |
echo "KubeConfig:" ${KUBECONFIG}
ls -lah /home/runner
ls -lah /home/runner/.kube
export HOME=/home/runner
export KUBECONFIG=/home/runner/.kube/config
make ci
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -250,16 +250,21 @@ unit-tests: $(BUILD_DIRS)
-u $$(id -u):$$(id -g) \
-v $$(pwd):/src \
-w /src \
--net=host \
-v $(HOME)/.kube:/.kube \
-v $(HOME)/.credentials:$(HOME)/.credentials \
-v $$(pwd)/.go/bin/$(OS)_$(ARCH):/go/bin \
-v $$(pwd)/.go/bin/$(OS)_$(ARCH):/go/bin/$(OS)_$(ARCH) \
-v $$(pwd)/.go/cache:/.cache \
--env HTTP_PROXY=$(HTTP_PROXY) \
--env HTTPS_PROXY=$(HTTPS_PROXY) \
--env KUBECONFIG=$(KUBECONFIG) \
$(BUILD_IMAGE) \
/bin/bash -c " \
ARCH=$(ARCH) \
OS=$(OS) \
VERSION=$(VERSION) \
KUBECONFIG=$${KUBECONFIG#$(HOME)} \
./hack/test.sh $(SRC_PKGS) \
"

Expand Down

0 comments on commit 80eb90e

Please sign in to comment.