github.com/gophercloud/gophercloud@v1.14.1/.github/workflows/functional-orchestration.yaml (about) 1 name: functional-orchestration 2 on: 3 pull_request: 4 paths: 5 - '**orchestration**' 6 jobs: 7 functional-orchestration: 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 Heat and run orchestration 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 conf_overrides: | 34 enable_plugin heat https://github.com/openstack/heat ${{ matrix.openstack_version }} 35 enabled_services: 'h-eng,h-api,h-api-cfn,h-api-cw' 36 - name: Checkout go 37 uses: actions/setup-go@v5 38 with: 39 go-version: '^1.15' 40 - name: Run Gophercloud acceptance tests 41 run: ./script/acceptancetest 42 env: 43 DEVSTACK_PATH: ${{ github.workspace }}/devstack 44 ACCEPTANCE_TESTS_FILTER: ^.*orchestration.*$ 45 OS_BRANCH: ${{ matrix.openstack_version }} 46 - name: Generate logs on failure 47 run: ./script/collectlogs 48 if: failure() 49 - name: Upload logs artifacts on failure 50 if: failure() 51 uses: actions/upload-artifact@v4 52 with: 53 name: functional-orchestration-${{ matrix.name }} 54 path: /tmp/devstack-logs/*