Commit Graph

4 Commits

Author SHA1 Message Date
Clark Boylan 2224100eac Update stackviz tarball location
We've patched stackviz to work under python3 properly but we are still
pulling an old tarball for stackviz that was built last year. The legacy
job that built the file at this location seems to have been removed.
Switch to the new dist/ location which appears to be correct based on
tarball file sizes.

Someone that understands stackviz better than me should confirm this new
locations is the correct one.

Change-Id: If659a6f1fb50d288afed75e3f4975f7a4d140d35
2018-10-04 10:46:08 -07:00
Ian Wienand 91b88fde0a Use https for stackviz get
We are noticing on nb03 that the curl get of this file fails; but it
starts working when you use https.  Switch to it.

Change-Id: I5fef4281547758f484cd8a93326b0cfeb790762a
2018-04-18 07:27:12 +10:00
Ian Wienand 2e308fc94a Move jenkins cache to /opt/cache
For whatever reason, the source-repositories caching element is
running in the very early extra-data phase of disk-image-builder.
cache-devstack is instructing source-repositories to put the cached
urls into /home/jenkins/cache/files (55-cache-devstack-repos makes up
the list of images to download from devstack; the other two are just
pre-configured URLS).

This causes a problem when trying to add the jenkins user later in
jenkins-slave/install.d/20-jenkins-slave.  Since source repositories
has already created /home/jenkins, useradd won't do it again and does
not copy in any of the skeleton files.

This moves the extra-data phase caching into /opt/cache, which is
probably a more logical place for it anyway.  To maintain the status
quo, after we create the jenkins user, symlink ~jenkins/cache/files to
this new location.

This was probably going wrong with puppet too.  I'm guessing it just
ignored the existing homedir when creating the user.  I have tested
this by building trusty and stopping the build before and after the
useradd calls in 20-jenkins-slave.  "/home" was empty, the useradd
creates the user, group & directory, the symlink is made correctly and
/opt/cache/files appears populated as usual.

Change-Id: Ibca6867f29b257a5110cb5522a5cca3a97fa9377
2017-04-28 16:00:23 +10:00
Paul Belanger 2a3cb6a729
Add stackviz-latest.tar.gz to ~jenkins/cache/files
In an effor to remove the stackviz element from nodepool, we can now
use the periodic job and download the package from tarballs.o.o. This
mean, we can remove npm development libraries from our base images in
a follow commit.

Move periodic-package-stackviz-element to the periodic pipeline.

Change-Id: I798c98f9ed91e0e7b2a43bd9e8d0837ce223cb8b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-04-16 13:13:22 -04:00