github.com/gophercloud/gophercloud@v1.14.1/.github/workflows/functional-imageservice.yaml (about) 1 name: functional-imageservice 2 on: 3 pull_request: 4 paths: 5 - '**imageservice**' 6 jobs: 7 functional-imageservice: 8 strategy: 9 fail-fast: false 10 matrix: 11 name: ["master"] 12 openstack_version: ["master"] 13 ubuntu_version: ["22.04"] 14 include: 15 - name: "caracal" 16 openstack_version: "stable/2024.1" 17 ubuntu_version: "22.04" 18 - name: "bobcat" 19 openstack_version: "stable/2023.2" 20 ubuntu_version: "22.04" 21 - name: "antelope" 22 openstack_version: "stable/2023.1" 23 ubuntu_version: "22.04" 24 runs-on: ubuntu-${{ matrix.ubuntu_version }} 25 name: Deploy OpenStack ${{ matrix.name }} with Glance and run imageservice acceptance tests 26 steps: 27 - name: Checkout Gophercloud 28 uses: actions/checkout@v4 29 - name: Deploy devstack 30 uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69 31 with: 32 branch: ${{ matrix.openstack_version }} 33 - name: Checkout go 34 uses: actions/setup-go@v5 35 with: 36 go-version: '^1.15' 37 - name: Run Gophercloud acceptance tests 38 run: ./script/acceptancetest 39 env: 40 DEVSTACK_PATH: ${{ github.workspace }}/devstack 41 ACCEPTANCE_TESTS_FILTER: "^.*imageservice.*$" 42 OS_BRANCH: ${{ matrix.openstack_version }} 43 - name: Generate logs on failure 44 run: ./script/collectlogs 45 if: failure() 46 - name: Upload logs artifacts on failure 47 if: failure() 48 uses: actions/upload-artifact@v4 49 with: 50 name: functional-imageservice-${{ matrix.name }} 51 path: /tmp/devstack-logs/*