github.com/gophercloud/gophercloud@v1.14.1/.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: "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 Manila and run sharedfilesystems 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              enable_plugin manila https://github.com/openstack/manila ${{ matrix.openstack_version }}
    35              # LVM Backend config options
    36              MANILA_SERVICE_IMAGE_ENABLED=False
    37              SHARE_DRIVER=manila.share.drivers.lvm.LVMShareDriver
    38              MANILA_ENABLED_BACKENDS=chicago,denver
    39              MANILA_BACKEND1_CONFIG_GROUP_NAME=chicago
    40              MANILA_BACKEND2_CONFIG_GROUP_NAME=denver
    41              MANILA_SHARE_BACKEND1_NAME=CHICAGO
    42              MANILA_SHARE_BACKEND2_NAME=DENVER
    43              MANILA_OPTGROUP_chicago_driver_handles_share_servers=False
    44              MANILA_OPTGROUP_denver_driver_handles_share_servers=False
    45              SHARE_BACKING_FILE_SIZE=32000M
    46              MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS='snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
    47              MANILA_CONFIGURE_DEFAULT_TYPES=True
    48              MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=false
    49        - name: Checkout go
    50          uses: actions/setup-go@v5
    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: "^.*sharedfilesystems.*$"
    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-sharedfilesystems-${{ matrix.name }}
    67            path: /tmp/devstack-logs/*