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