TUN-4125: Change component tests to run in CI with its own dedicated resources

This commit is contained in:
Nuno Diegues
2021-03-25 20:45:53 +00:00
parent 1cf6ae37eb
commit 9d3a7bd08e
5 changed files with 170 additions and 40 deletions

View File

@@ -220,9 +220,11 @@ stretch: &stretch
pre-cache:
- sudo pip3 install --upgrade -r component-tests/requirements.txt
post-cache:
# Constructs config file from env vars
- python3 component-tests/config.py
# Creates and routes a Named Tunnel for this build. Also constructs config file from env vars.
- python3 component-tests/setup.py --type create
- pytest component-tests
# The Named Tunnel is deleted and its route unprovisioned here.
- python3 component-tests/setup.py --type cleanup
update-homebrew:
builddeps:
- openssh-client