Skip to content

Bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /tools #424

Bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /tools

Bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /tools #424

Workflow file for this run

name: Tests
on: [push, workflow_dispatch]
env:
KIND_VERSION: "v0.25.0"
BATS_VERSION: "1.11.0"
NODE_VERSION: "19.8.1"
TARBALL_FILE: vault-csi-provider.docker.tar
jobs:
versions:
runs-on: ubuntu-latest
steps:
- run: echo "setting versions"
outputs:
# JSON encoded array of k8s versions.
K8S_VERSIONS: '["1.31.2", "1.30.6", "1.29.10", "1.28.15", "1.27.16"]'
VAULT_N: "1.18.1"
VAULT_N_1: "1.17.6"
VAULT_N_2: "1.16.3"
copyright:
uses: hashicorp/vault-workflows-common/.github/workflows/copyright-headers.yaml@main
go-checks:
uses: hashicorp/vault-workflows-common/.github/workflows/go-checks.yaml@main
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: .go-version
- name: Install tools
run: make bootstrap
- name: Lint
run: make lint GOLANGCI_LINT_FORMAT=github-actions
build-and-test:
runs-on: ubuntu-latest
outputs:
TARBALL_FILE: ${{ env.TARBALL_FILE }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: .go-version
- name: Build
run: |
make e2e-image
docker save --output "${TARBALL_FILE}" e2e/vault-csi-provider:latest
- name: Test
run: make test
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: vault-csi-provider-image
path: ${{ env.TARBALL_FILE }}
latest-vault:
name: vault:${{ matrix.vault-version }} kind:${{ matrix.k8s-version }}
runs-on: ubuntu-latest
needs:
- versions
- lint
- build-and-test
strategy:
fail-fast: false
matrix:
vault-version:
- ${{ needs.versions.outputs.VAULT_N }}
k8s-version: ${{ fromJson(needs.versions.outputs.K8S_VERSIONS) }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/integration-test
name: vault:${{ matrix.vault-version }} kind:${{ matrix.k8s-version }}
with:
k8s-version: ${{ matrix.k8s-version }}
vault-version: ${{ matrix.vault-version }}
tarball-file: ${{ needs.build-and-test.outputs.TARBALL_FILE }}
vault-license: ${{ secrets.VAULT_LICENSE_CI }}
latest-k8s:
name: vault:${{ matrix.vault-version }} kind:${{ matrix.k8s-version }}
needs:
- versions
- lint
- build-and-test
strategy:
fail-fast: false
matrix:
k8s-version:
- ${{ fromJson(needs.versions.outputs.K8S_VERSIONS)[0] }}
vault-version:
- ${{ needs.versions.outputs.VAULT_N_1 }}
- ${{ needs.versions.outputs.VAULT_N_2 }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/integration-test
name: vault:${{ matrix.vault-version }} kind:${{ matrix.k8s-version }}
with:
k8s-version: ${{ matrix.k8s-version }}
vault-version: ${{ matrix.vault-version }}
tarball-file: ${{ needs.build-and-test.outputs.TARBALL_FILE }}
vault-license: ${{ secrets.VAULT_LICENSE_CI }}