mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-04-05 02:08:05 +00:00
Compare commits
1 Commits
copilot/ru
...
renovate/g
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89f2f7270e |
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
||||
with:
|
||||
args: '-no-fail -fmt sarif -out gosec.sarif ./...'
|
||||
- name: Upload SARIF file
|
||||
uses: github/codeql-action/upload-sarif@0ec47d036c68ae0cf94c629009b1029407111281
|
||||
uses: github/codeql-action/upload-sarif@34950e1b113b30df4edee1a6d3a605242df0c40b
|
||||
with:
|
||||
sarif_file: gosec.sarif
|
||||
unit_tests:
|
||||
|
||||
2
.github/workflows/docker-build.yml
vendored
2
.github/workflows/docker-build.yml
vendored
@@ -40,6 +40,6 @@ jobs:
|
||||
# See: https://github.com/aquasecurity/trivy-action/issues/389#issuecomment-2385416577
|
||||
TRIVY_DB_REPOSITORY: 'public.ecr.aws/aquasecurity/trivy-db:2'
|
||||
- name: Upload Trivy scan results to GitHub Security tab
|
||||
uses: github/codeql-action/upload-sarif@0ec47d036c68ae0cf94c629009b1029407111281
|
||||
uses: github/codeql-action/upload-sarif@34950e1b113b30df4edee1a6d3a605242df0c40b
|
||||
with:
|
||||
sarif_file: 'trivy-results.sarif'
|
||||
|
||||
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
|
||||
|
||||
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