github.com/gophercloud/gophercloud@v1.14.1/.github/workflows/functional-containerinfra.yaml (about) 1 name: functional-containerinfra 2 on: 3 pull_request: 4 paths: 5 - '**containerinfra**' 6 jobs: 7 functional-containerinfra: 8 strategy: 9 fail-fast: false 10 matrix: 11 include: 12 - name: "master" 13 openstack_version: "master" 14 ubuntu_version: "22.04" 15 devstack_conf_overrides: | 16 enable_plugin magnum https://github.com/openstack/magnum master 17 MAGNUMCLIENT_BRANCH=master 18 - name: "caracal" 19 openstack_version: "stable/2024.1" 20 ubuntu_version: "22.04" 21 devstack_conf_overrides: | 22 enable_plugin magnum https://github.com/openstack/magnum stable/2024.1 23 MAGNUMCLIENT_BRANCH=stable/2024.1 24 - name: "bobcat" 25 openstack_version: "stable/2023.2" 26 ubuntu_version: "22.04" 27 devstack_conf_overrides: | 28 enable_plugin magnum https://github.com/openstack/magnum stable/2023.2 29 MAGNUMCLIENT_BRANCH=stable/2023.2 30 - name: "antelope" 31 openstack_version: "stable/2023.1" 32 ubuntu_version: "22.04" 33 devstack_conf_overrides: | 34 enable_plugin magnum https://github.com/openstack/magnum stable/2023.1 35 MAGNUMCLIENT_BRANCH=stable/2023.1 36 runs-on: ubuntu-${{ matrix.ubuntu_version }} 37 name: Deploy OpenStack ${{ matrix.name }} with Magnum and run containerinfra acceptance tests 38 steps: 39 - name: Checkout Gophercloud 40 uses: actions/checkout@v4 41 - name: Deploy devstack 42 uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69 43 with: 44 branch: ${{ matrix.openstack_version }} 45 conf_overrides: | 46 enable_plugin barbican https://github.com/openstack/barbican ${{ matrix.openstack_version }} 47 enable_plugin heat https://github.com/openstack/heat ${{ matrix.openstack_version }} 48 GLANCE_LIMIT_IMAGE_SIZE_TOTAL=5000 49 SWIFT_MAX_FILE_SIZE=5368709122 50 KEYSTONE_ADMIN_ENDPOINT=true 51 ${{ matrix.devstack_conf_overrides }} 52 enabled_services: 'h-eng,h-api,h-api-cfn,h-api-cw' 53 - name: Checkout go 54 uses: actions/setup-go@v5 55 with: 56 go-version: '^1.15' 57 - name: Run Gophercloud acceptance tests 58 run: ./script/acceptancetest 59 env: 60 DEVSTACK_PATH: ${{ github.workspace }}/devstack 61 ACCEPTANCE_TESTS_FILTER: "^.*containerinfra.*$" 62 OS_BRANCH: ${{ matrix.openstack_version }} 63 - name: Generate logs on failure 64 run: ./script/collectlogs 65 if: failure() 66 - name: Upload logs artifacts on failure 67 if: failure() 68 uses: actions/upload-artifact@v4 69 with: 70 name: functional-containerinfra-${{ matrix.name }} 71 path: /tmp/devstack-logs/*