Skip to content

Commit

Permalink
Debug DOCKER_HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
VOID404 committed Apr 17, 2024
1 parent 5a646b8 commit 7e10b37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/provisioner-e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set DOCKER_HOST
run: echo "DOCKER_HOST=$(docker context inspect -f'{{.Endpoints.docker.Host}}')" >> $GITHUB_ENV
- name: Run unit tests
run: make -C components/provisioner verify
run: |
docker context inspect -f'{{.Endpoints.docker.Host}}
make -C components/provisioner verify
1 change: 1 addition & 0 deletions components/provisioner/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ $(LOCALBIN):
.PHONY: envtest
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
$(ENVTEST): $(LOCALBIN)
@echo echo DOCKER_HOST=$(DOCKER_HOST)
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest


Expand Down

0 comments on commit 7e10b37

Please sign in to comment.