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