github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/.github/workflows/functional-blockstorage.yaml (about) 1 name: functional-blockstorage 2 on: 3 pull_request: 4 paths: 5 - '**blockstorage**' 6 schedule: 7 - cron: '0 0 */3 * *' 8 jobs: 9 functional-blockstorage: 10 strategy: 11 fail-fast: false 12 matrix: 13 include: 14 - name: "master" 15 openstack_version: "master" 16 ubuntu_version: "22.04" 17 additional_services: "openstack-cli-server" 18 - name: "dalmatian" 19 openstack_version: "stable/2024.2" 20 ubuntu_version: "22.04" 21 additional_services: "openstack-cli-server" 22 - name: "caracal" 23 openstack_version: "stable/2024.1" 24 ubuntu_version: "22.04" 25 additional_services: "" 26 - name: "bobcat" 27 openstack_version: "stable/2023.2" 28 ubuntu_version: "22.04" 29 additional_services: "" 30 runs-on: ubuntu-${{ matrix.ubuntu_version }} 31 name: Deploy OpenStack ${{ matrix.name }} with Cinder and run blockstorage acceptance tests 32 steps: 33 - name: Checkout Gophercloud 34 uses: actions/checkout@v4 35 - name: Deploy devstack 36 uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69 37 with: 38 branch: ${{ matrix.openstack_version }} 39 conf_overrides: | 40 CINDER_ISCSI_HELPER=lioadm 41 enabled_services: "s-account,s-container,s-object,s-proxy,c-bak,${{ matrix.additional_services }}" 42 - name: Checkout go 43 uses: actions/setup-go@v5 44 with: 45 go-version: '^1.23' 46 - name: Run Gophercloud acceptance tests 47 run: ./script/acceptancetest 48 env: 49 DEVSTACK_PATH: ${{ github.workspace }}/devstack 50 PACKAGE: "./internal/acceptance/openstack/blockstorage/..." 51 OS_BRANCH: ${{ matrix.openstack_version }} 52 - name: Generate logs on failure 53 run: ./script/collectlogs 54 if: failure() 55 - name: Upload logs artifacts on failure 56 if: failure() 57 uses: actions/upload-artifact@v4 58 with: 59 name: functional-blockstorage-${{ matrix.name }}-${{ github.run_id }} 60 path: /tmp/devstack-logs/*