Bump anchore/scan-action from 3.3.6 to 3.3.8 #2369
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: Shared Scripts | |
on: | |
pull_request: | |
jobs: | |
clusters: | |
name: Clusters | |
timeout-minutes: 20 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Deploy clusters | |
env: | |
CLUSTERS_ARGS: --timeout 1m | |
run: make clusters | |
- name: Post mortem | |
if: failure() | |
uses: ./gh-actions/post-mortem | |
- name: Clean up clusters | |
run: make clean-clusters | |
compile: | |
name: Compile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Test the compile.sh script | |
run: make vendor/modules.txt script-test SCRIPT_TEST_ARGS="test/scripts/compile/test.sh" | |
deploy: | |
name: Deploy | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
globalnet: ['', 'globalnet'] | |
deploytool: ['operator', 'helm'] | |
lighthouse: [''] | |
ovn: [''] | |
include: | |
- ovn: ovn | |
- deploytool: operator | |
lighthouse: lighthouse | |
- deploytool: helm | |
lighthouse: lighthouse | |
steps: | |
- name: Reclaim space on GHA host (if the job needs it) | |
if: ${{ matrix.ovn != '' }} | |
run: rm -rf /usr/share/dotnet | |
- name: Check out the repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
with: | |
submodules: true | |
- name: Fetch all git tags | |
run: git fetch origin +refs/tags/*:refs/tags/* | |
- name: Deploy clusters and Submariner | |
env: | |
CLUSTERS_ARGS: --timeout 1m | |
DEPLOY_ARGS: --timeout 2m | |
run: make deploy using="${{ matrix.globalnet }} ${{ matrix.deploytool }} ${{ matrix.lighthouse }} ${{ matrix.ovn }}" | |
- name: Post mortem | |
if: failure() | |
uses: ./gh-actions/post-mortem | |
- name: Clean up deployment | |
run: make clean-clusters | |
e2e: | |
name: E2E | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Run E2E deployment and tests | |
run: make e2e | |
- name: Post mortem | |
if: failure() | |
uses: ./gh-actions/post-mortem | |
post_mortem: | |
name: Post Mortem | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Deploy some clusters | |
run: make clusters | |
- name: Test the post_mortem.sh script | |
run: make script-test SCRIPT_TEST_ARGS="test/scripts/post_mortem/test.sh" |