Compare commits

..

9 Commits

Author SHA1 Message Date
Hristo Hristov
8a0bc42776 feat: add e2e-minishift Makefile target and workflow job
Signed-off-by: Hristo Hristov <me@hhristov.info>
2026-04-03 16:35:27 +03:00
Hristo Hristov
dea77f4dc6 feat: add e2e-minishift Makefile target and workflow job
Signed-off-by: Hristo Hristov <me@hhristov.info>
2026-04-03 16:26:29 +03:00
Hristo Hristov
ad9bc5a554 feat: add e2e-minishift Makefile target and workflow job
Signed-off-by: Hristo Hristov <me@hhristov.info>
2026-04-03 15:30:49 +03:00
Hristo Hristov
9ad218a06c feat: add e2e-minishift Makefile target and workflow job
Signed-off-by: Hristo Hristov <me@hhristov.info>
2026-04-03 15:23:46 +03:00
Hristo Hristov
72dab64be2 feat: add e2e-minishift Makefile target and workflow job
Signed-off-by: Hristo Hristov <me@hhristov.info>
2026-04-03 15:19:31 +03:00
Hristo Hristov
83fb10d39e feat: add e2e-minishift Makefile target and workflow job
Signed-off-by: Hristo Hristov <me@hhristov.info>
2026-04-03 15:10:10 +03:00
Hristo Hristov
90905f74d7 feat: add e2e-minishift Makefile target and workflow job
Signed-off-by: Hristo Hristov <me@hhristov.info>
2026-04-01 12:32:49 +03:00
Hristo Hristov
e3d4f8c4ce feat: add e2e-minishift Makefile target and workflow job
Signed-off-by: Hristo Hristov <me@hhristov.info>
2026-04-01 12:25:24 +03:00
copilot-swe-agent[bot]
20ee2e7b01 feat: add e2e-minishift Makefile target and workflow job
Agent-Logs-Url: https://github.com/projectcapsule/capsule/sessions/16188b87-3dc5-4033-960e-5435de48131f

Co-authored-by: Svarrogh1337 <16626420+Svarrogh1337@users.noreply.github.com>
2026-04-01 08:57:52 +00:00
2 changed files with 34 additions and 0 deletions

View File

@@ -65,3 +65,19 @@ jobs:
- name: e2e (Enterprise) - name: e2e (Enterprise)
run: sudo KUBERNETES_SUPPORTED_VERSION=${{ matrix.k8s-version }} make e2e run: sudo KUBERNETES_SUPPORTED_VERSION=${{ matrix.k8s-version }} make e2e
e2e-openshift:
name: E2E Testing (MINC)
runs-on: ubuntu-latest-8-cores
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version-file: 'go.mod'
- uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4
- name: e2e
run: sudo make e2e-openshift

View File

@@ -345,7 +345,18 @@ golint: golangci-lint
golint-fix: golangci-lint golint-fix: golangci-lint
$(GOLANGCI_LINT) run -c .golangci.yaml --verbose --fix $(GOLANGCI_LINT) run -c .golangci.yaml --verbose --fix
.PHONY: e2e-openshift
e2e-openshift: ginkgo
$(MAKE) e2e-build-openshift && $(MAKE) e2e-exec && $(MAKE) e2e-destroy-openshift
e2e-build-openshift: minc
$(MINC) config set provider docker
$(MINC) create
$(MINC) status
$(MAKE) dev-install-deps
$(MAKE) e2e-install
e2e-destroy-openshift: minc
$(MINC) delete
# Running e2e tests in a KinD instance # Running e2e tests in a KinD instance
.PHONY: e2e .PHONY: e2e
e2e: ginkgo e2e: ginkgo
@@ -472,6 +483,13 @@ ct:
@test -s $(CT) && $(CT) version | grep -q $(CT_VERSION) || \ @test -s $(CT) && $(CT) version | grep -q $(CT_VERSION) || \
$(call go-install-tool,$(CT),github.com/$(CT_LOOKUP)/v3/ct@$(CT_VERSION)) $(call go-install-tool,$(CT),github.com/$(CT_LOOKUP)/v3/ct@$(CT_VERSION))
MINC:= $(LOCALBIN)/minc
MINC_VERSION := v0.1.0
MINC_LOOKUP := minc-org/minc
minc:
echo "Installing minc to $(MINC)" && \
$(call go-install-tool,$(MINC),github.com/$(MINC_LOOKUP)/cmd/minc@$(MINC_VERSION))
KIND := $(LOCALBIN)/kind KIND := $(LOCALBIN)/kind
KIND_VERSION := v0.31.0 KIND_VERSION := v0.31.0
KIND_LOOKUP := kubernetes-sigs/kind KIND_LOOKUP := kubernetes-sigs/kind