Browse Source

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)
changes/06/675906/2
Alfredo Moralejo 4 months ago
parent
commit
09bf673a3f
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      tools/copy-logs.sh

+ 3
- 3
tools/copy-logs.sh View File

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

Loading…
Cancel
Save