github.com/gophercloud/gophercloud@v1.14.1/.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: "caracal" 17 openstack_version: "stable/2024.1" 18 ubuntu_version: "22.04" 19 - name: "bobcat" 20 openstack_version: "stable/2023.2" 21 ubuntu_version: "22.04" 22 - name: "antelope" 23 openstack_version: "stable/2023.1" 24 ubuntu_version: "22.04" 25 runs-on: ubuntu-${{ matrix.ubuntu_version }} 26 name: Deploy OpenStack ${{ matrix.name }} with Designate and run dns acceptance tests 27 steps: 28 - name: Checkout Gophercloud 29 uses: actions/checkout@v4 30 - name: Deploy devstack 31 uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69 32 with: 33 branch: ${{ matrix.openstack_version }} 34 conf_overrides: | 35 enable_plugin designate https://github.com/openstack/designate ${{ matrix.openstack_version }} 36 enabled_services: 'designate,designate-central,designate-api,designate-worker,designate-producer,designate-mdns' 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: "^acceptance/openstack/dns.*$" 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-dns-${{ matrix.name }} 55 path: /tmp/devstack-logs/*