mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-04-03 17:28:26 +00:00
Compare commits
1 Commits
copilot/ru
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
011500086f |
16
.github/workflows/e2e.yml
vendored
16
.github/workflows/e2e.yml
vendored
@@ -65,19 +65,3 @@ jobs:
|
||||
|
||||
- name: e2e (Enterprise)
|
||||
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
|
||||
|
||||
2
.github/workflows/releaser.yml
vendored
2
.github/workflows/releaser.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
timeout-minutes: 5
|
||||
continue-on-error: true
|
||||
- uses: creekorful/goreportcard-action@1f35ced8cdac2cba28c9a2f2288a16aacfd507f9 # v1.0
|
||||
- uses: anchore/sbom-action/download-syft@e22c389904149dbc22b58101806040fa8d37a610
|
||||
- uses: anchore/sbom-action/download-syft@f0d33c151c04af6fcbf4363834e838fcc7c87783
|
||||
- name: Install Cosign
|
||||
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
|
||||
- name: Run GoReleaser
|
||||
|
||||
18
Makefile
18
Makefile
@@ -345,18 +345,7 @@ golint: golangci-lint
|
||||
golint-fix: golangci-lint
|
||||
$(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
|
||||
.PHONY: e2e
|
||||
e2e: ginkgo
|
||||
@@ -483,13 +472,6 @@ ct:
|
||||
@test -s $(CT) && $(CT) version | grep -q $(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_VERSION := v0.31.0
|
||||
KIND_LOOKUP := kubernetes-sigs/kind
|
||||
|
||||
Reference in New Issue
Block a user