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

     1  name: functional-compute
     2  on:
     3    pull_request:
     4      paths:
     5        - '**compute**'
     6  jobs:
     7    functional-compute:
     8      strategy:
     9        fail-fast: false
    10        matrix:
    11          name: ["master"]
    12          openstack_version: ["master"]
    13          ubuntu_version: ["22.04"]
    14          include:
    15            - name: "caracal"
    16              openstack_version: "stable/2024.1"
    17              ubuntu_version: "22.04"
    18            - name: "bobcat"
    19              openstack_version: "stable/2023.2"
    20              ubuntu_version: "22.04"
    21            - name: "antelope"
    22              openstack_version: "stable/2023.1"
    23              ubuntu_version: "22.04"
    24      runs-on: ubuntu-${{ matrix.ubuntu_version }}
    25      name: Deploy OpenStack ${{ matrix.name }} with Nova and run compute acceptance tests
    26      steps:
    27        - name: Checkout Gophercloud
    28          uses: actions/checkout@v4
    29        - name: Deploy devstack
    30          uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69
    31          with:
    32            branch: ${{ matrix.openstack_version }}
    33            conf_overrides: |
    34              CINDER_ISCSI_HELPER=lioadm
    35        - name: Checkout go
    36          uses: actions/setup-go@v5
    37          with:
    38            go-version: '^1.15'
    39        - name: Run Gophercloud acceptance tests
    40          run: ./script/acceptancetest
    41          env:
    42            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    43            ACCEPTANCE_TESTS_FILTER: "^.*compute.*$"
    44            OS_BRANCH: ${{ matrix.openstack_version }}
    45        - name: Generate logs on failure
    46          run: ./script/collectlogs
    47          if: failure()
    48        - name: Upload logs artifacts on failure
    49          if: failure()
    50          uses: actions/upload-artifact@v4
    51          with:
    52            name: functional-compute-${{ matrix.name }}
    53            path: /tmp/devstack-logs/*