diff options
| author | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2019-11-20 14:25:16 +0100 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2019-11-26 17:30:14 +0100 |
| commit | a2fc684164cb5169492d6e0c007ad006f814492c (patch) | |
| tree | 1062a97f09ffe6eb58d3154de377e307dcc1df5a /tests/init-core-openstack.sh | |
| parent | a1cd432630158f988dc1a8ed8a385397e2770ec9 (diff) | |
| download | kolla-ansible-a2fc684164cb5169492d6e0c007ad006f814492c.tar.gz kolla-ansible-a2fc684164cb5169492d6e0c007ad006f814492c.zip | |
CI: Refactor a lot
Separate upgrade logic to is_upgrade job var and rename
scenarios to match.
Rename "ACTION" to "SCENARIO" (as it is a scenario).
Separate testing of dashboard (aka Horizon) and increase
its timeout to 5 minutes (CentOS 7 slow as always).
Separate initialization of core OpenStack.
Use gate setup script from ./tests/
Remove useless tox setupenv.
Do not deploy Heat when not really necessary.
Change-Id: I4fca319ccc3de7188f8b7b44c9c71321e3899467
Diffstat (limited to 'tests/init-core-openstack.sh')
| -rwxr-xr-x | tests/init-core-openstack.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/init-core-openstack.sh b/tests/init-core-openstack.sh new file mode 100755 index 000000000..02a445c4c --- /dev/null +++ b/tests/init-core-openstack.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +set -o xtrace +set -o errexit + +export PYTHONUNBUFFERED=1 + + +function init_runonce { + . /etc/kolla/admin-openrc.sh + . ~/openstackclient-venv/bin/activate + + echo "Initialising OpenStack resources via init-runonce" + tools/init-runonce &> /tmp/logs/ansible/init-runonce +} + + +init_runonce |
