github.com/leeclow-ops/gophercloud@v1.2.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    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: "20.04"
    18              devstack_conf_overrides: |
    19                enable_plugin designate https://github.com/openstack/designate master
    20            - name: "zed"
    21              openstack_version: "stable/zed"
    22              ubuntu_version: "20.04"
    23              devstack_conf_overrides: |
    24                enable_plugin designate https://github.com/openstack/designate stable/zed
    25            - name: "yoga"
    26              openstack_version: "stable/yoga"
    27              ubuntu_version: "20.04"
    28              devstack_conf_overrides: |
    29                enable_plugin designate https://github.com/openstack/designate stable/yoga
    30            - name: "xena"
    31              openstack_version: "stable/xena"
    32              ubuntu_version: "20.04"
    33              devstack_conf_overrides: |
    34                enable_plugin designate https://github.com/openstack/designate stable/xena
    35            - name: "wallaby"
    36              openstack_version: "stable/wallaby"
    37              ubuntu_version: "20.04"
    38              devstack_conf_overrides: |
    39                enable_plugin designate https://github.com/openstack/designate stable/wallaby
    40            - name: "victoria"
    41              openstack_version: "stable/victoria"
    42              ubuntu_version: "20.04"
    43              devstack_conf_overrides: |
    44                enable_plugin designate https://github.com/openstack/designate stable/victoria
    45            - name: "ussuri"
    46              openstack_version: "stable/ussuri"
    47              ubuntu_version: "18.04"
    48              devstack_conf_overrides: |
    49                enable_plugin designate https://github.com/openstack/designate stable/ussuri
    50            - name: "train"
    51              openstack_version: "stable/train"
    52              ubuntu_version: "18.04"
    53              devstack_conf_overrides: |
    54                enable_plugin designate https://github.com/openstack/designate train-eol
    55      runs-on: ubuntu-${{ matrix.ubuntu_version }}
    56      name: Deploy OpenStack ${{ matrix.name }} with Designate and run dns acceptance tests
    57      steps:
    58        - name: Checkout Gophercloud
    59          uses: actions/checkout@v3
    60        - name: Deploy devstack
    61          uses: EmilienM/devstack-action@v0.11
    62          with:
    63            branch: ${{ matrix.openstack_version }}
    64            conf_overrides: |
    65              ${{ matrix.devstack_conf_overrides }}
    66            enabled_services: 'designate,designate-central,designate-api,designate-worker,designate-producer,designate-mdns'
    67        - name: Checkout go
    68          uses: actions/setup-go@v4
    69          with:
    70            go-version: '^1.15'
    71        - name: Run Gophercloud acceptance tests
    72          run: ./script/acceptancetest
    73          env:
    74            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    75            ACCEPTANCE_TESTS_FILTER: "^acceptance/openstack/dns.*$"
    76        - name: Generate logs on failure
    77          run: ./script/collectlogs
    78          if: failure()
    79        - name: Upload logs artifacts on failure
    80          if: failure()
    81          uses: actions/upload-artifact@v3
    82          with:
    83            name: functional-dns-${{ matrix.name }}
    84            path: /tmp/devstack-logs/*