diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a4c8d2fc8..4bf785495 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,3 +78,10 @@ jobs: GO111MODULE: "on" GIT_ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }} run: make test-integration-github + + - name: Running integration tests oci + env: + OCI_REGISTRY: registry.dnation.cloud + OCI_REPOSITORY: registry.dnation.cloud/csctl-oci/docker + GO111MODULE: "on" + run: make test-integration-oci diff --git a/Makefile b/Makefile index 47cd2ecf7..b359e41ff 100644 --- a/Makefile +++ b/Makefile @@ -304,7 +304,7 @@ $(WORKER_CLUSTER_KUBECONFIG): KUBEBUILDER_ASSETS ?= $(shell $(SETUP_ENVTEST) use --use-env --bin-dir $(abspath $(TOOLS_BIN_DIR)) -p path $(KUBEBUILDER_ENVTEST_KUBERNETES_VERSION)) .PHONY: test-integration -test-integration: test-integration-workloadcluster test-integration-github test-integration-oci +test-integration: test-integration-workloadcluster test-integration-github test-integration-oci echo done .PHONY: test-unit @@ -328,7 +328,7 @@ test-integration-github: $(SETUP_ENVTEST) $(GOTESTSUM) .PHONY: test-integration-oci test-integration-oci: $(SETUP_ENVTEST) $(GOTESTSUM) @mkdir -p $(shell pwd)/.coverage - OCI_REGISTRY=ghcr.io OCI_REPOSITORY="" CREATE_KIND_CLUSTER=false KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" $(GOTESTSUM) --junitfile=../.coverage/junit.xml --format testname -- -mod=vendor \ + CREATE_KIND_CLUSTER=false KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" $(GOTESTSUM) --junitfile=.coverage/junit.xml --format testname -- -mod=vendor \ -covermode=atomic -coverprofile=.coverage/cover.out -p=1 ./internal/test/integration/oci/... ##@ Verify