fix(deps): update golang.org/x/exp digest to 1b97071 #362
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: sanity | |
on: | |
pull_request: | |
paths-ignore: | |
- '.github/**' | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
# through 1 to 9 | |
PLUGIN_VERBOSITY: ${{ vars.PLUGIN_VERBOSITY }} | |
# - ' ' | |
# - '-ginkgo.v' | |
# - '-ginkgo.vv' | |
SANITY_VERBOSITY: ${{ vars.SANITY_VERBOSITY }} | |
COMPOSE_DEFAULTS: '--exit-code-from=sanity --always-recreate-deps --force-recreate' | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- run: echo "${{ secrets.WEKAFS_API_SECRET_YAML }}" > tests/csi-sanity/wekafs-api-secret.yaml | |
- uses: docker/setup-buildx-action@v3 | |
- uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: tests/csi-sanity/ga-Dockerfile | |
tags: sanity:latest | |
load: true | |
legacy_sanity: | |
needs: build | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- run: docker-compose -f tests/csi-sanity/docker-compose-nosnapshotcaps.yaml up $COMPOSE_DEFAULTS | |
env: | |
SANITY_FUNCTION: legacy_sanity | |
directory_volume_no_snapshots: | |
if: success() || failure() # always() can't be canceled | |
needs: legacy_sanity | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- run: docker-compose -f tests/csi-sanity/docker-compose-nosnapshotcaps.yaml up $COMPOSE_DEFAULTS | |
env: | |
SANITY_FUNCTION: directory_volume_no_snapshots | |
fs_volume_no_snapshots: | |
if: success() || failure() | |
needs: directory_volume_no_snapshots | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- run: docker-compose -f tests/csi-sanity/docker-compose-nosnapshotcaps.yaml up $COMPOSE_DEFAULTS | |
env: | |
SANITY_FUNCTION: fs_volume_no_snapshots | |
directory_volume_and_snapshots: | |
if: success() || failure() | |
needs: fs_volume_no_snapshots | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- run: docker-compose -f tests/csi-sanity/docker-compose-snapshotcaps.yaml up $COMPOSE_DEFAULTS | |
env: | |
SANITY_FUNCTION: directory_volume_and_snapshots | |
snaphot_volumes_with_2nd_level_shapshots: | |
if: success() || failure() | |
needs: directory_volume_and_snapshots | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- run: docker-compose -f tests/csi-sanity/docker-compose-snapshotcaps.yaml up $COMPOSE_DEFAULTS | |
env: | |
SANITY_FUNCTION: snaphot_volumes_with_2nd_level_shapshots | |
filesystem_volumes: | |
if: success() || failure() | |
needs: snaphot_volumes_with_2nd_level_shapshots | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- run: docker-compose -f tests/csi-sanity/docker-compose-snapshotcaps.yaml up $COMPOSE_DEFAULTS | |
env: | |
SANITY_FUNCTION: filesystem_volumes |