github.com/gophercloud/gophercloud@v1.14.1/.github/workflows/functional-clustering.yaml (about)

     1  name: functional-clustering
     2  on:
     3    pull_request:
     4      paths:
     5        - '**clustering**'
     6  jobs:
     7    functional-clustering:
     8      strategy:
     9        fail-fast: false
    10        matrix:
    11          name: ["master"]
    12          openstack_version: ["master"]
    13          ubuntu_version: ["22.04"]
    14          include:
    15  ## Senlin has not made a caracal release yet
    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 Senlin and run clustering 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 senlin https://github.com/openstack/senlin ${{ matrix.openstack_version }}
    36              enable_plugin zaqar https://github.com/openstack/zaqar ${{ matrix.openstack_version }}
    37              ZAQARCLIENT_BRANCH=${{ matrix.openstack_version }}
    38        - name: Checkout go
    39          uses: actions/setup-go@v5
    40          with:
    41            go-version: '^1.15'
    42        - name: Run Gophercloud acceptance tests
    43          run: ./script/acceptancetest
    44          env:
    45            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    46            ACCEPTANCE_TESTS_FILTER: "^.*clustering.*$"
    47            OS_BRANCH: ${{ matrix.openstack_version }}
    48        - name: Generate logs on failure
    49          run: ./script/collectlogs
    50          if: failure()
    51        - name: Upload logs artifacts on failure
    52          if: failure()
    53          uses: actions/upload-artifact@v4
    54          with:
    55            name: functional-clustering-${{ matrix.name }}
    56            path: /tmp/devstack-logs/*