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