Fix URL to get the list of projects

It's used in copy-logs.sh. Also copy all content of /var/tmp/packstack
instead of only latest directory.

Change-Id: I7c6d72876e881f73d2421206e004f514563ad803
(cherry picked from commit fcdaff0d25)
This commit is contained in:
Alfredo Moralejo 2019-05-17 13:28:34 +02:00
parent bc91243a4c
commit c43d84801f
1 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@ LOGROOT=${WORKSPACE:-/tmp}
LOGDIR="${LOGROOT}/logs"
DIAG_LOGDIR="${LOGDIR}/diag"
CONF_LOGDIR="${LOGDIR}/etc"
GIT_URL="http://git.openstack.org/cgit"
PROJECTS_URL="${GIT_URL}/openstack/governance/plain/reference/projects.yaml"
GIT_URL="https://opendev.org"
PROJECTS_URL="${GIT_URL}/openstack/governance/raw/branch/master/reference/projects.yaml"
if [ $(id -u) != 0 ]; then
SUDO='sudo'
@ -100,7 +100,7 @@ function get_config_and_logs {
'/var/log/mariadb'
'/etc/httpd/conf.d/'
'/var/log/httpd'
'/var/tmp/packstack/latest'
'/var/tmp/packstack'
'/var/tmp/packstack/latest/testrepository.subunit' # So we're copying it
'/var/log/audit' # to the root of
'/var/log/secure' # /logs