"Fossies" - the Fresh Open Source Software Archive

Member "manila-8.1.3/playbooks/legacy/grenade-dsvm-manila/run.yaml" (20 Jul 2020, 2475 Bytes) of package /linux/misc/openstack/manila-8.1.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "run.yaml": 8.1.2_vs_8.1.3.

    1 - hosts: all
    2   name: Autoconverted job legacy-grenade-dsvm-manila from old job gate-grenade-dsvm-manila-ubuntu-xenial-nv
    3   tasks:
    4 
    5     - name: Ensure legacy workspace directory
    6       file:
    7         path: '{{ ansible_user_dir }}/workspace'
    8         state: directory
    9 
   10     - shell:
   11         cmd: |
   12           set -e
   13           set -x
   14           cat > clonemap.yaml << EOF
   15           clonemap:
   16             - name: openstack/devstack-gate
   17               dest: devstack-gate
   18           EOF
   19           /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
   20               https://opendev.org \
   21               openstack/devstack-gate
   22         executable: /bin/bash
   23         chdir: '{{ ansible_user_dir }}/workspace'
   24       environment: '{{ zuul | zuul_legacy_vars }}'
   25 
   26     - shell:
   27         cmd: |
   28           set -e
   29           set -x
   30           export PROJECTS="openstack/grenade $PROJECTS"
   31           export PROJECTS="openstack/manila-tempest-plugin $PROJECTS"
   32           export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
   33           export PYTHONUNBUFFERED=true
   34           export DEVSTACK_GATE_NEUTRON=0
   35           export DEVSTACK_GATE_TEMPEST_NOTESTS=1
   36           export DEVSTACK_GATE_GRENADE=pullup
   37 
   38           export MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE=False
   39 
   40           # Basic services needed for grenade manila job using dummy driver
   41           export OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit
   42 
   43           export DEVSTACK_GATE_USE_PYTHON3=True
   44 
   45           # Enable manila grenade plugin. Provided repo should be
   46           # cloned by zuul before devstack run and below provided
   47           # link should not be used.
   48           export GRENADE_PLUGINRC="enable_grenade_plugin manila https://opendev.org/openstack/manila"
   49 
   50           # Keep localrc to be able to set some vars in pre_test_hook
   51           export KEEP_LOCALRC=1
   52 
   53           function pre_test_hook {
   54               source $BASE/new/manila/contrib/ci/pre_test_hook.sh \
   55                   True \
   56                   dummy \
   57                   multibackend
   58           }
   59           export -f pre_test_hook
   60 
   61           export BRANCH_OVERRIDE=default
   62           if [ "$BRANCH_OVERRIDE" != "default" ] ; then
   63               export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
   64           fi
   65 
   66           cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
   67           ./safe-devstack-vm-gate-wrap.sh
   68         executable: /bin/bash
   69         chdir: '{{ ansible_user_dir }}/workspace'
   70       environment: '{{ zuul | zuul_legacy_vars }}'