github.com/gophercloud/gophercloud@v1.11.0/.github/workflows/functional-dns.yaml (about) 1 name: functional-dns 2 on: 3 pull_request: 4 paths: 5 - '**openstack/dns**' 6 - '**functional-dns.yaml' 7 jobs: 8 functional-dns: 9 strategy: 10 fail-fast: false 11 matrix: 12 include: 13 - name: "master" 14 openstack_version: "master" 15 ubuntu_version: "22.04" 16 - name: "bobcat" 17 openstack_version: "stable/2023.2" 18 ubuntu_version: "22.04" 19 - name: "antelope" 20 openstack_version: "stable/2023.1" 21 ubuntu_version: "22.04" 22 - name: "zed" 23 openstack_version: "stable/zed" 24 ubuntu_version: "20.04" 25 - name: "yoga" 26 openstack_version: "stable/yoga" 27 ubuntu_version: "20.04" 28 - name: "xena" 29 openstack_version: "stable/xena" 30 ubuntu_version: "20.04" 31 - name: "wallaby" 32 openstack_version: "stable/wallaby" 33 ubuntu_version: "20.04" 34 - name: "victoria" 35 openstack_version: "stable/victoria" 36 ubuntu_version: "20.04" 37 runs-on: ubuntu-${{ matrix.ubuntu_version }} 38 name: Deploy OpenStack ${{ matrix.name }} with Designate and run dns acceptance tests 39 steps: 40 - name: Checkout Gophercloud 41 uses: actions/checkout@v3 42 - name: Deploy devstack 43 uses: EmilienM/devstack-action@c41f86d8df58b53c55f070207b6dfce656788cfd 44 with: 45 branch: ${{ matrix.openstack_version }} 46 conf_overrides: | 47 enable_plugin designate https://github.com/openstack/designate ${{ matrix.openstack_version }} 48 enabled_services: 'designate,designate-central,designate-api,designate-worker,designate-producer,designate-mdns' 49 - name: Checkout go 50 uses: actions/setup-go@v4 51 with: 52 go-version: '^1.15' 53 - name: Run Gophercloud acceptance tests 54 run: ./script/acceptancetest 55 env: 56 DEVSTACK_PATH: ${{ github.workspace }}/devstack 57 ACCEPTANCE_TESTS_FILTER: "^acceptance/openstack/dns.*$" 58 OS_BRANCH: ${{ matrix.openstack_version }} 59 - name: Generate logs on failure 60 run: ./script/collectlogs 61 if: failure() 62 - name: Upload logs artifacts on failure 63 if: failure() 64 uses: actions/upload-artifact@v4 65 with: 66 name: functional-dns-${{ matrix.name }} 67 path: /tmp/devstack-logs/*