github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/.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    schedule:
    10      - cron: '0 0 */3 * *'
    11  jobs:
    12    functional-basic:
    13      strategy:
    14        fail-fast: false
    15        matrix:
    16          include:
    17            - name: "master"
    18              openstack_version: "master"
    19              ubuntu_version: "22.04"
    20              additional_services: "openstack-cli-server"
    21            - name: "dalmatian"
    22              openstack_version: "stable/2024.2"
    23              ubuntu_version: "22.04"
    24              additional_services: "openstack-cli-server"
    25            - name: "caracal"
    26              openstack_version: "stable/2024.1"
    27              ubuntu_version: "22.04"
    28              additional_services: ""
    29            - name: "bobcat"
    30              openstack_version: "stable/2023.2"
    31              ubuntu_version: "22.04"
    32              additional_services: ""
    33      runs-on: ubuntu-${{ matrix.ubuntu_version }}
    34      name: Deploy OpenStack ${{ matrix.name }} with defaults and run basic acceptance tests
    35      steps:
    36        - name: Checkout Gophercloud
    37          uses: actions/checkout@v4
    38        - name: Deploy devstack
    39          uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69
    40          with:
    41            branch: ${{ matrix.openstack_version }}
    42            enabled_services: 's-account,s-container,s-object,s-proxy,${{ matrix.additional_services }}'
    43        - name: Checkout go
    44          uses: actions/setup-go@v5
    45          with:
    46            go-version: '^1.23'
    47        - name: Run Gophercloud acceptance tests
    48          run: ./script/acceptancetest
    49          env:
    50            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    51            PACKAGE: './internal/acceptance/openstack'
    52            OS_BRANCH: ${{ matrix.openstack_version }}
    53        - name: Generate logs on failure
    54          run: ./script/collectlogs
    55          if: failure()
    56        - name: Upload logs artifacts on failure
    57          if: failure()
    58          uses: actions/upload-artifact@v4
    59          with:
    60            name: functional-basic-${{ matrix.name }}-${{ github.run_id }}
    61            path: /tmp/devstack-logs/*