deps: update module github.com/cert-manager/cert-manager to v1.15.3 #1685
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: Unit Tests | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**.go" | |
- "**/go.mod" | |
pull_request: | |
paths: | |
- "**.go" | |
- "**/go.mod" | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/edgelesssys/edgelessrt-dev:ci | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Test | |
run: go test -race -count=3 ./... | |
- name: Setup | |
run: | | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
mkdir build | |
- name: Build | |
run: | | |
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. | |
make | |
working-directory: build | |
- name: Integration test | |
run: go test -tags integration -b ../build -s | |
working-directory: test | |
- name: Integration test (-noenclave) | |
run: go test -tags integration -b ../build -noenclave | |
working-directory: test | |
- name: Build artifact | |
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 | |
with: | |
name: marblerun | |
path: | | |
build/coordinator-enclave.signed | |
build/coordinator-noenclave | |
build/coordinator-era.json | |
build/premain-libos | |
build/marble-injector | |
build/marblerun | |
- name: Deploy coordinator:nightly | |
if: github.ref == 'refs/heads/master' && | |
github.event_name == 'push' | |
run: | | |
curl -X POST -H "Accept: application/vnd.github.v3+json" \ | |
-H "Authorization: token ${{ secrets.CI_GITHUB_REPOSITORY }}" \ | |
-d '{"event_type": "docker-build", | |
"client_payload":{"repository":"marblerun", | |
"sign":"nightly", | |
"imagename":"marblerun/coordinator-debug", | |
"tag":"nightly", | |
"file": "dockerfiles/Dockerfile.coordinator", | |
"args": "--build-arg erttag=master --build-arg mrtag=master", | |
"target":"release"}}' \ | |
https://api.github.com/repos/edgelesssys/deployment/dispatches | |
- name: Deploy marble-injector:nightly | |
if: github.ref == 'refs/heads/master' && | |
github.event_name == 'push' | |
run: | | |
curl -X POST -H "Accept: application/vnd.github.v3+json" \ | |
-H "Authorization: token ${{ secrets.CI_GITHUB_REPOSITORY }}" \ | |
-d '{"event_type": "docker-build", | |
"client_payload":{"repository":"marblerun", | |
"sign":"nightly", | |
"imagename":"marblerun/marble-injector", | |
"tag":"nightly", | |
"file": "dockerfiles/Dockerfile.marble-injector", | |
"target":"release"}}' \ | |
https://api.github.com/repos/edgelesssys/deployment/dispatches |