Remove bootstrapping of namespaces by integrating them into the helmfile workflow #90
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
pull_request: | |
branches: | |
- main | |
- release-* | |
jobs: | |
unit-static: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
tag: | |
- general | |
- baremetal | |
- citycloud | |
- elastx | |
- exoscale | |
- safespring | |
- upcloud | |
steps: | |
- name: checkout compliantkubernetes-apps | |
uses: actions/checkout@v4 | |
- name: setup docker with buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: build tests container image | |
uses: docker/build-push-action@v5 | |
with: | |
build-args: | | |
CK8S_TESTS_BUILD=true | |
UID=1001 | |
GID=121 | |
cache-from: type=gha | |
context: . | |
target: unit | |
file: ./tests/Dockerfile | |
load: true | |
pull: false | |
push: false | |
tags: compliantkubernetes-apps-tests:unit | |
- name: run static unit tests | |
working-directory: ./tests | |
env: | |
CI: true | |
CK8S_TESTS_STATIC: true | |
run: make ctr-run-unit-static,${{ matrix.tag }} |