github.com/gophercloud/gophercloud@v1.11.0/.github/workflows/functional-basic.yaml (about)

     1  name: functional-basic
     2  on:
     3    pull_request:
     4      paths-ignore:
     5        - 'docs/**'
     6        - '**.md'
     7        - '**.gitignore'
     8        - '**LICENSE'
     9  jobs:
    10    functional-basic:
    11      strategy:
    12        fail-fast: false
    13        matrix:
    14          name: ["master"]
    15          openstack_version: ["master"]
    16          ubuntu_version: ["22.04"]
    17          include:
    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            - name: "zed"
    25              openstack_version: "stable/zed"
    26              ubuntu_version: "20.04"
    27            - name: "yoga"
    28              openstack_version: "stable/yoga"
    29              ubuntu_version: "20.04"
    30            - name: "xena"
    31              openstack_version: "stable/xena"
    32              ubuntu_version: "20.04"
    33            - name: "wallaby"
    34              openstack_version: "stable/wallaby"
    35              ubuntu_version: "20.04"
    36            - name: "victoria"
    37              openstack_version: "stable/victoria"
    38              ubuntu_version: "20.04"
    39      runs-on: ubuntu-${{ matrix.ubuntu_version }}
    40      name: Deploy OpenStack ${{ matrix.name }} with defaults and run basic acceptance tests
    41      steps:
    42        - name: Checkout Gophercloud
    43          uses: actions/checkout@v3
    44        - name: Deploy devstack
    45          uses: EmilienM/devstack-action@c41f86d8df58b53c55f070207b6dfce656788cfd
    46          with:
    47            branch: ${{ matrix.openstack_version }}
    48            enabled_services: 's-account,s-container,s-object,s-proxy'
    49        - name: Checkout go
    50          uses: actions/setup-go@v4
    51          with:
    52            go-version: '^1.15'
    53        - name: Run Gophercloud acceptance tests
    54          run: ./script/acceptancetest
    55          env:
    56            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    57            ACCEPTANCE_TESTS_FILTER: '^internal/acceptance/openstack$'
    58            OS_BRANCH: ${{ matrix.openstack_version }}
    59        - name: Generate logs on failure
    60          run: ./script/collectlogs
    61          if: failure()
    62        - name: Upload logs artifacts on failure
    63          if: failure()
    64          uses: actions/upload-artifact@v4
    65          with:
    66            name: functional-basic-${{ matrix.name }}
    67            path: /tmp/devstack-logs/*