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

     1  name: functional-sharedfilesystems
     2  on:
     3    pull_request:
     4      paths:
     5        - '**sharedfilesystems**'
     6  jobs:
     7    functional-sharedfilesystems:
     8      strategy:
     9        fail-fast: false
    10        matrix:
    11          name: ["master"]
    12          openstack_version: ["master"]
    13          ubuntu_version: ["22.04"]
    14          include:
    15            - name: "bobcat"
    16              openstack_version: "stable/2023.2"
    17              ubuntu_version: "22.04"
    18            - name: "antelope"
    19              openstack_version: "stable/2023.1"
    20              ubuntu_version: "22.04"
    21            - name: "zed"
    22              openstack_version: "stable/zed"
    23              ubuntu_version: "20.04"
    24            - name: "yoga"
    25              openstack_version: "stable/yoga"
    26              ubuntu_version: "20.04"
    27            - name: "xena"
    28              openstack_version: "stable/xena"
    29              ubuntu_version: "20.04"
    30            - name: "wallaby"
    31              openstack_version: "stable/wallaby"
    32              ubuntu_version: "20.04"
    33            - name: "victoria"
    34              openstack_version: "stable/victoria"
    35              ubuntu_version: "20.04"
    36      runs-on: ubuntu-${{ matrix.ubuntu_version }}
    37      name: Deploy OpenStack ${{ matrix.name }} with Manila and run sharedfilesystems acceptance tests
    38      steps:
    39        - name: Checkout Gophercloud
    40          uses: actions/checkout@v3
    41        - name: Deploy devstack
    42          uses: EmilienM/devstack-action@c41f86d8df58b53c55f070207b6dfce656788cfd
    43          with:
    44            branch: ${{ matrix.openstack_version }}
    45            conf_overrides: |
    46              enable_plugin manila https://github.com/openstack/manila ${{ matrix.openstack_version }}
    47              # LVM Backend config options
    48              MANILA_SERVICE_IMAGE_ENABLED=False
    49              SHARE_DRIVER=manila.share.drivers.lvm.LVMShareDriver
    50              MANILA_ENABLED_BACKENDS=chicago,denver
    51              MANILA_BACKEND1_CONFIG_GROUP_NAME=chicago
    52              MANILA_BACKEND2_CONFIG_GROUP_NAME=denver
    53              MANILA_SHARE_BACKEND1_NAME=CHICAGO
    54              MANILA_SHARE_BACKEND2_NAME=DENVER
    55              MANILA_OPTGROUP_chicago_driver_handles_share_servers=False
    56              MANILA_OPTGROUP_denver_driver_handles_share_servers=False
    57              SHARE_BACKING_FILE_SIZE=32000M
    58              MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS='snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
    59              MANILA_CONFIGURE_DEFAULT_TYPES=True
    60              MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=false
    61        - name: Checkout go
    62          uses: actions/setup-go@v4
    63          with:
    64            go-version: '^1.15'
    65        - name: Run Gophercloud acceptance tests
    66          run: ./script/acceptancetest
    67          env:
    68            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    69            ACCEPTANCE_TESTS_FILTER: "^.*sharedfilesystems.*$"
    70            OS_BRANCH: ${{ matrix.openstack_version }}
    71        - name: Generate logs on failure
    72          run: ./script/collectlogs
    73          if: failure()
    74        - name: Upload logs artifacts on failure
    75          if: failure()
    76          uses: actions/upload-artifact@v4
    77          with:
    78            name: functional-sharedfilesystems-${{ matrix.name }}
    79            path: /tmp/devstack-logs/*