Skip to content

fix(deps): update module github.com/container-storage-interface/spec … #279

fix(deps): update module github.com/container-storage-interface/spec …

fix(deps): update module github.com/container-storage-interface/spec … #279

Workflow file for this run

name: integ-tests
on:
workflow_dispatch:
push:
concurrency:
group: csi-pr-integ-test
jobs:
integ-tests:
runs-on: ubuntu-latest
steps:
- name: Log in to Docker Hub
uses: docker/login-action@7ca345011ac4304463197fac0e56eab1bc7e6af0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: make go.mk
- uses: ./go.mk/.github/actions/setup
- name: Build Docker image
run: make docker
- name: Tag Docker Image
run: |
docker tag exoscale/csi-driver:latest exoscale/csi-driver-integ-test:csi-pr-integ-test
- name: Push Docker Image
run: |
docker push exoscale/csi-driver-integ-test:csi-pr-integ-test
- name: run integ tests
run: |
cd internal/integ/ && go test \
-v \
-timeout 20m \
--create-cluster \
--create-csi-secret \
--tear-down-csi \
--image exoscale/csi-driver-integ-test:csi-pr-integ-test \
--cluster-name csi-pr-integ-test \
--zone ch-gva-2
shell: bash
env:
EXOSCALE_API_KEY: ${{ secrets.EXOSCALE_API_KEY_IAMV3 }}
EXOSCALE_API_SECRET: ${{ secrets.EXOSCALE_API_SECRET_IAMV3 }}