github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/.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    schedule:
     8      - cron: '0 0 */3 * *'
     9  jobs:
    10    functional-dns:
    11      strategy:
    12        fail-fast: false
    13        matrix:
    14          include:
    15            - name: "master"
    16              openstack_version: "master"
    17              ubuntu_version: "22.04"
    18              additional_services: "openstack-cli-server"
    19            - name: "dalmatian"
    20              openstack_version: "stable/2024.2"
    21              ubuntu_version: "22.04"
    22              additional_services: "openstack-cli-server"
    23            - name: "caracal"
    24              openstack_version: "stable/2024.1"
    25              ubuntu_version: "22.04"
    26              additional_services: ""
    27            - name: "bobcat"
    28              openstack_version: "stable/2023.2"
    29              ubuntu_version: "22.04"
    30              additional_services: ""
    31      runs-on: ubuntu-${{ matrix.ubuntu_version }}
    32      name: Deploy OpenStack ${{ matrix.name }} with Designate and run dns acceptance tests
    33      steps:
    34        - name: Checkout Gophercloud
    35          uses: actions/checkout@v4
    36        - name: Deploy devstack
    37          uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69
    38          with:
    39            branch: ${{ matrix.openstack_version }}
    40            conf_overrides: |
    41              enable_plugin designate https://github.com/openstack/designate ${{ matrix.openstack_version }}
    42            enabled_services: "designate,designate-central,designate-api,designate-worker,designate-producer,designate-mdns,${{ matrix.additional_services }}"
    43        - name: Checkout go
    44          uses: actions/setup-go@v5
    45          with:
    46            go-version: '^1.23'
    47        - name: Run Gophercloud acceptance tests
    48          run: ./script/acceptancetest
    49          env:
    50            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    51            PACKAGE: "./internal/acceptance/openstack/dns/..."
    52            OS_BRANCH: ${{ matrix.openstack_version }}
    53        - name: Generate logs on failure
    54          run: ./script/collectlogs
    55          if: failure()
    56        - name: Upload logs artifacts on failure
    57          if: failure()
    58          uses: actions/upload-artifact@v4
    59          with:
    60            name: functional-dns-${{ matrix.name }}-${{ github.run_id }}
    61            path: /tmp/devstack-logs/*