By default, we use http without ssl. Depends-On: https://review.opendev.org/c/openstack/skyline-apiserver/+/862220 Change-Id: Ib5e6289e1d58bd368f53c1f35aef27c17dd0c920
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
---
|
|
- hosts: controller
|
|
vars:
|
|
- devstack_base_dir: /opt/stack
|
|
tasks:
|
|
- name: Run e2e tests
|
|
shell:
|
|
executable: /bin/bash
|
|
cmd: |
|
|
# use nvm
|
|
. $HOME/.nvm/nvm.sh
|
|
|
|
# make e2e
|
|
config_file="test/e2e/config/local_config.yaml"
|
|
cp test/e2e/config/config-network.yaml $config_file
|
|
sed -i "s#baseUrl.*#baseUrl: http://127.0.0.1:9999#" $config_file
|
|
sed -i "s/- neutron::qos/# - neutron::qos/" $config_file
|
|
sed -i "s/- neutron::vpn/# - neutron::vpn/" $config_file
|
|
sed -i "s/- neutron::port-forwarding/# - neutron::port-forwarding/" $config_file
|
|
sed -i "s/- octavia/# - octavia/" $config_file
|
|
# TODO
|
|
sed -i "s#- pages/network/floatingip.spec.js#\#- pages/network/floatingip.spec.js#" $config_file
|
|
sed -i "s#username:.*#username: admin#" $config_file
|
|
sed -i "s#password:.*#password: secretadmin#" $config_file
|
|
sed -i "s#usernameAdmin:.*#usernameAdmin: admin#" $config_file
|
|
sed -i "s#passwordAdmin:.*#passwordAdmin: secretadmin#" $config_file
|
|
make e2e
|
|
args:
|
|
chdir: "{{ devstack_base_dir }}/skyline-console"
|
|
become_user: stack
|
|
become: yes
|