Skip to content

Commit 4a2f7d3

Browse files
committed
Add tempest-all-downstream container image
In Downstream, openstack-tempest-all package does not ship python3-whitebox-tests-tempest. tempest-all-downstream container image provides a place to include all the tempest plugin which are not shipped to customers but used for downstream testing. Signed-off-by: Chandan Kumar (raukadah) <[email protected]>
1 parent 24b03c1 commit 4a2f7d3

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# tempest-all-downstream container image
2+
3+
In Downstream, openstack-tempest-all package does not ship python3-whitebox-tests-tempest.
4+
tempest-all-downstream container image provides a place to include all the tempest plugin which are not shipped to customers
5+
but used for downstream testing.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
tcib_envs:
2+
USE_EXTERNAL_FILES: true
3+
TEMPESTCONF_OCTAVIA_TEST_SERVER_PATH: /usr/libexec/octavia-tempest-plugin-tests-httpd
4+
tcib_actions:
5+
- run: bash /usr/local/bin/uid_gid_manage {{ tcib_user }}
6+
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
7+
- run: cp /usr/share/tcib/container-images/tcib/base/os/tempest/tempest_sudoers /etc/sudoers.d/tempest_sudoers
8+
- run: chmod 440 /etc/sudoers.d/tempest_sudoers
9+
- run: mkdir -p /var/lib/tempest/external_files
10+
- run: mkdir -p /var/lib/kolla/config_files
11+
- run: chown -R tempest.tempest /var/lib/tempest
12+
- run: touch /var/lib/kolla/config_files/config.json
13+
- run: cp /usr/share/tcib/container-images/tcib/base/os/tempest/run_tempest.sh /var/lib/tempest/run_tempest.sh
14+
- run: chmod +x /var/lib/tempest/run_tempest.sh
15+
16+
tcib_entrypoint: /var/lib/tempest/run_tempest.sh
17+
18+
tcib_packages:
19+
common:
20+
- iputils
21+
- openstack-tempest-all
22+
- python3-whitebox-tests-tempest
23+
- subunit-filters
24+
- python3-subunit
25+
- qemu-img
26+
27+
tcib_user: tempest

0 commit comments

Comments
 (0)