fix(deps): update module google.golang.org/grpc to v1.67.0 (main) #139
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: tetragon-rthooks test | |
on: | |
pull_request: | |
paths: | |
- 'contrib/tetragon-rthooks/**' | |
push: | |
branches: | |
- main | |
paths: | |
- 'contrib/tetragon-rthooks/**' | |
jobs: | |
build: | |
name: Build tetragon-rthooks | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
concurrency: | |
group: ${{ github.ref }}-rthooks-build | |
cancel-in-progress: true | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
path: go/src/github.com/cilium/tetragon/ | |
- name: Install Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
# renovate: datasource=golang-version depName=go | |
go-version: '1.22.7' | |
- name: Build | |
env: | |
GOPATH: /home/runner/work/tetragon/tetragon/go | |
run: | | |
cd go/src/github.com/cilium/tetragon/contrib/tetragon-rthooks | |
make | |
- name: tar build | |
run: | | |
cd go/src/github.com/cilium/tetragon/contrib | |
tar cz -f /tmp/tetragon-rthooks.tar ./tetragon-rthooks | |
- name: upload build | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: tetragon-rthooks-build | |
path: /tmp/tetragon-rthooks.tar | |
retention-days: 1 | |
test: | |
needs: build | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
strategy: | |
fail-fast: false | |
matrix: | |
cri: | |
- "containerd" | |
- "crio" | |
concurrency: | |
group: ${{ github.ref }}-rthooks-test-${{ matrix.cri }} | |
cancel-in-progress: true | |
steps: | |
- name: start minikube | |
uses: medyagh/setup-minikube@d8c0eb871f6f455542491d86a574477bd3894533 # v0.0.18 | |
with: | |
driver: docker | |
container-runtime: ${{ matrix.cri }} | |
- name: download build data | |
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | |
with: | |
name: tetragon-rthooks-build | |
- name: extract build data | |
run: | | |
tar xf tetragon-rthooks.tar | |
- name: run test | |
run: | | |
cd tetragon-rthooks | |
./scripts/minikube-install-hook.sh -l | |
./scripts/minikube-test-hook.sh |