SERVER: Invalid relationship: File[/var/lib/jenkins/hudson.plugins.gearman.GearmanPluginConfig.xml] { require => Class[Zuul] }, because Class[Zuul]doesn't seem to be in the catalog
This reverts commit 2a9cd677e4eb6a60787ebc73bd8fd9e1b6f26b34
* gerrit-git-prep.sh: If the zuul ref is a tag, then fetch the tag
from zuul. Otherwise there's a risk that it may not have replicated
to the origin yet when initially setting up the workspace.
Change-Id: Iadd8385e4a0d0957fcac1cf89d0b5a1cfa848b49
* modules/jenkins/files/slave_scripts/gerrit-git-prep.sh: Allow
callers to supply BRANCH in the environment for cases where there
will be no ZUUL_REF environment variable. This is mainly to support
use in periodic jobs, so that we can transition away from the
Jenkins SCM plug-in.
Change-Id: I86c77695d8c374c94932664026ab7a541686ae74
Without this, we get "Error installing puppetlabs_spec_helper: rake
requires Ruby version >= 1.9."
Change-Id: I81a32380cee1a35a50e1c3baf2e1afcd69b1614f
There was an extra closing bracked "]" that breaks the script.
Hope this finally gets the job running again.
Change-Id: Ib9721e312aa9a678fe483d6cbb1fb910be1c1659
pip's default timeout of 15 seconds doesn't seem to be high enough
causing us to intermittently fail getting the pypi index. Increasing
the timeout to 60 in an attempt to make it less likely to hit the
problem.
Change-Id: Ifd4689283e53d6afb7a76b480e004cdde3b302f6
Related-Bug: #1272417
The current job fails to run since there's no venv created, we need
to pass -V to update it - otherwise the job will fail.
Change-Id: I4293cbef253cea9638c22bb5a980d07da9d315db
Some git repositories have .tx directories, most have none. Handle both
ways - check if .tx directory exists and create it with tx init if not.
Change-Id: I7035fd6d130aabe553678e8b7aec78d33333715f
Check if there is already a .tx folder and run tx --init only if
there is none. The horizon repo currently has one and thus the job fails
to build.
Change-Id: Ifa3115943c49550f3d72007484e9343f7de1d8ca
This was used when transitioning to ZUUL_URL from the calling
environment, and is no longer required by any calls to the script.
Change-Id: Ie3e1740a6cc3d67bd306b5d6c258002d51eaffe8
Currently the periodic job manuals-propose-translation-update runs
three times on the same repository instead of running once each for
api-site, openstack-manuals and operations-guide.
Also, manuals-upstream-translation-update does not handle the api-site
repo.
* Change the scripts so that they handle all three repositories.
* Update the jenkins configuration to call the scripts with repository name
as parameter. This needs new job-templates.
* Create a job-group
* Use job-group for each repository.
* Adjust Zuul for new jobs using a template.
* Update manual jobs in zuul to check for just "master" as branch
instead of using a regex.
Change-Id: I755730ea43ad05a373704ab2fb7e5b55f1c8aeee
Closes-Bug: #1291844
Maintaining transifix in git causes some problems, we're removing it
now from openstack-manuals and thus need to initialize it here.
The manuals change at https://review.openstack.org/#/c/79859 is waiting
for this to go in.
Change-Id: I1bc1e1ae0f25ce5d88a70cdbab2541c8a52ddd78
Jenkins needs to sudo as stack and tempest to properly run devstack jobs
and may need to act on behalf of other users in the future. Rather than
listing root,stack,tempest in the sudoer file just let jenkins sudo as
any user.
Fixes-bug: 1290669
Change-Id: I4a5c6b7ead717475d6334a7ef3121271aca83f5a
Some providers include gettext preinstalled by default on their base
images, but others do not. Make this consistent by explicitly
installing it when not already present. Rackspace seems to have
recently ceased including it on their Ubuntu Precise images, which
precipitated this patch.
Change-Id: Idb86c805e2fc56d885081876642bd9d3dbf58434
the script has a set -e mid way through which is now defeating
the explanation parts of the script. Remove this to actually
come back to our normally scheduled program.
Change-Id: I53b5888f44083731b60e03a833f6d8e7769e0e47
Add script and job to push the 4 Horizon translation source files
(4 English po files) to Transifex.
Since Horizon has two "locale" folders in different position,
it's not able to levarage the existing upstream_translation.sh
and have to add a new upstream_translation_horizon.sh.
Change-Id: I7a42365414a6a5dcde276bc10761b08e3e756931
puppet was throwing the following error..
nodepool.image.build.rax-iad.bare-centos6: Could not find dependent
Exec[update-java-alternatives] for Package[ant] at |
/root/config/modules/jenkins/manifests/slave.pp:86
because update-java-alternatives was only defined for debian, not for redhat systems.
This change adds java alternatives update to redhat. Needed to change
'java-1.7.0-openjdk' to 'java-1.7.0-openjdk-devel' because 'java-1.7.0-openjdk' does
not install the javac compiler.
We are setting alternatives for debian and centos but not for fedora because the java 6
packages are not available on fedora.
Change-Id: I04b3e8292d3f31cd56ada9be99da8a234e13585a
Use the new version-properties.sh script. Note this should only be done
once all slave images have the new version-properties.sh script in
place. Without it jobs will fail.
Change-Id: Ieaa16cc264fa57556afbd37b723503a19ce6682a
Create a new version-properties.sh script that will be used on slave
hosts to determine version information from git. This is mostly a copy
of the maven-properties.sh script. The reason we are not simply renaming
is that this commit must be merged then all slave images updated before
we change our jenkins jobs to use the new script. Renaming doesn't allow
us to do that.
Change-Id: I37c0b7cc3ca034addf32897a5a8c6501dedf00b0
This reverts commit dea3bdb050a55d56a1913e50e59cf176d70d3eb7.
This revert is necessary because it changed jenkins jobs before the
slave images could be rebuilt. We need to update the slave images first
then update the jenkins jobs in a pair of changes that can be merged one
at a time.
Change-Id: Iae4abf8c2dd8ad67ad008c57bbd17ba1304134c6
One our single use unittest slaves we want to allow unittests to create
and destroy arbitrary mysql database schemas. The simplest way to do
this is to grant all priveleges to the test user on the mysql server
globally. This is safe because the nodes are thrown away post test.
Change-Id: Ic92ff2f9c752d955e6f82eb4b88330b5448cfa75
Currently only MySQL is being opportunistically tested for bare-metal
migrations. This change configures the Jenkins slaves to have a
postgresql database openstack_baremetal_ci.
Change-Id: Ifb2eb7b1ef15b28a326a7d7eb1f99dc675cc40b6
extract_docs.awk (used to extract devtest.rst from devtest.sh, and
similiarly with other scripts that have docs auto-generated) does not
work in mawk, which is the default in precise.
gawk is already the default choice in Fedora 19, and seems to be the
default in later versions of Ubuntu. Haven't tested Debian.
Change-Id: I00cf5137d8e39c78a5d52b2cf094365a56deb353
ant dependency requires java 6 so alternatives was set to java 6 on an ant package
install. This change updates alternatives to point to java 7 after all packages
have been installed.
Change-Id: I7b8c975879dda085102a1d4740777d3d8c5f54ea