mirror of
https://opendev.org/openstack/python-heatclient.git
synced 2026-01-16 23:00:35 +00:00
Merge "Use generic user for both zuul v2 and v3"
This commit is contained in:
commit
868f3b80b7
1 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ function generate_testr_results {
|
|||
sudo /usr/os-testr-env/bin/subunit2html $BASE/logs/testrepository.subunit $BASE/logs/testr_results.html
|
||||
sudo gzip -9 $BASE/logs/testrepository.subunit
|
||||
sudo gzip -9 $BASE/logs/testr_results.html
|
||||
sudo chown jenkins:jenkins $BASE/logs/testrepository.subunit.gz $BASE/logs/testr_results.html.gz
|
||||
sudo chown $USER:$USER $BASE/logs/testrepository.subunit.gz $BASE/logs/testr_results.html.gz
|
||||
sudo chmod a+r $BASE/logs/testrepository.subunit.gz $BASE/logs/testr_results.html.gz
|
||||
fi
|
||||
}
|
||||
|
|
@ -35,13 +35,13 @@ source openrc admin admin
|
|||
# Go to the heatclient dir
|
||||
cd $HEATCLIENT_DIR
|
||||
|
||||
sudo chown -R jenkins:stack $HEATCLIENT_DIR
|
||||
sudo chown -R $USER:stack $HEATCLIENT_DIR
|
||||
|
||||
# Run tests
|
||||
echo "Running heatclient functional test suite"
|
||||
set +e
|
||||
# Preserve env for OS_ credentials
|
||||
sudo -E -H -u jenkins tox -efunctional
|
||||
sudo -E -H -u $USER tox -efunctional
|
||||
EXIT_CODE=$?
|
||||
set -e
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue