github.com/leeclow-ops/gophercloud@v1.2.1/.github/workflows/functional-clustering.yaml (about)

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