]>
git.apps.os.sepia.ceph.com Git - ceph-build.git/log
Andrew Schoen [Thu, 12 Nov 2015 17:57:08 +0000 (11:57 -0600)]
use build_utils in the ceph-deploy job to install / configure chacractl
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 12 Nov 2015 17:31:46 +0000 (11:31 -0600)]
use build_utils in the ceph-build job to install and configure chacractl
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 12 Nov 2015 17:15:35 +0000 (11:15 -0600)]
add a util function to create the .chacractl config file
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 12 Nov 2015 16:07:19 +0000 (10:07 -0600)]
adds a utility script that other jobs can use to install python packages
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ken Dreyer [Thu, 12 Nov 2015 16:46:01 +0000 (09:46 -0700)]
Merge pull request #222 from ceph/rename-ceph
Rename the ceph next jobs
Andrew Schoen [Thu, 12 Nov 2015 16:38:29 +0000 (10:38 -0600)]
Rename the ceph next jobs
We'll be using this moving forward from now on, so let's remove the
"next" suffix.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 12 Nov 2015 16:25:21 +0000 (10:25 -0600)]
remove the old ceph jobs
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 12 Nov 2015 14:59:37 +0000 (08:59 -0600)]
Merge pull request #221 from ktdreyer/ceph-setup-branch-var
ceph-setup-next: correct $BRANCH variable in output
Ken Dreyer [Thu, 12 Nov 2015 14:53:47 +0000 (07:53 -0700)]
ceph-setup-next: correct $BRANCH variable in output
$Branch is undefined. Use $BRANCH.
arior to this change, Jenkins would not print the branch name to the
console log during the "ceph-setup-next" job.
Alfredo Deza [Wed, 11 Nov 2015 20:21:54 +0000 (15:21 -0500)]
Merge pull request #220 from ktdreyer/ceph-next-tag-param-desc
ceph-next: clarify "TAG" parameter description
Ken Dreyer [Wed, 11 Nov 2015 17:45:22 +0000 (10:45 -0700)]
ceph-next: clarify "TAG" parameter description
Update ceph-next's "TAG" parameter description to clarify what happens
when the box is checked or unchecked.
Alfredo Deza [Tue, 10 Nov 2015 15:32:46 +0000 (10:32 -0500)]
Merge pull request #219 from ceph/chacractl-version
always update the pip cache before installing packages
Andrew Schoen [Tue, 10 Nov 2015 15:21:37 +0000 (09:21 -0600)]
always update the pip cache before installing packages
We do this to get around a bug in the previous code that would never go
out to look for new packages if something in the cache satisfied the
requirements. Specifically, we wanted chacractl==0.0.5 installed, but
because 0.0.4 exists in the cache and satisified the requirement of
>=0.0.4 the cache was never updated to include 0.0.5.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Mon, 9 Nov 2015 20:16:33 +0000 (15:16 -0500)]
Merge pull request #218 from ceph/chacractl-version
use --upgrade when installing chacractl
Andrew Schoen [Mon, 9 Nov 2015 20:13:14 +0000 (14:13 -0600)]
use --upgrade when installing chacractl
This will allow us to not have to change the CHACRACTL_VERSION variable
each time we release a new version of chacractl.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Mon, 9 Nov 2015 16:13:51 +0000 (11:13 -0500)]
Merge pull request #217 from ceph/chacractl-version
explicitly sepcify a chacractl version to install
Andrew Schoen [Mon, 9 Nov 2015 16:10:05 +0000 (10:10 -0600)]
explicitly sepcify a chacractl version to install
This fixes a bug where we don't get newer versions of chacractl
installed when we want it because of the use of the pip cache.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Mon, 9 Nov 2015 15:23:11 +0000 (10:23 -0500)]
Merge pull request #216 from ceph/no-venv-activate
do not source the venv in ceph-deploy and ceph-release-rpm jobs
Andrew Schoen [Mon, 9 Nov 2015 15:13:41 +0000 (09:13 -0600)]
do not source the venv in ceph-deploy and ceph-release-rpm jobs
When we source the virtualenv the virtualenv path is linked within the
binaries.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 9 Nov 2015 15:04:43 +0000 (09:04 -0600)]
Merge pull request #215 from ceph/rm-activate
do not activate virtualenv when building
Alfredo Deza [Mon, 9 Nov 2015 12:53:30 +0000 (07:53 -0500)]
use the full path to the chacractl exe on build_deb
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 9 Nov 2015 12:53:05 +0000 (07:53 -0500)]
use the full path to the chacractl exe on build_rpm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 9 Nov 2015 12:52:25 +0000 (07:52 -0500)]
do not activate a venv when installing chacractl
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 9 Nov 2015 13:54:08 +0000 (08:54 -0500)]
Merge pull request #214 from ktdreyer/wip-rm-disabled-false
remove default "disabled" and "concurrent" settings from jobs.
Ken Dreyer [Fri, 6 Nov 2015 23:25:17 +0000 (16:25 -0700)]
remove default "concurrent" setting from jobs.
Several jobs had an explicit "concurrent: false" setting. This is
already the default behavior in JJB. Remove these lines in order to
reduce the clutter.
Ken Dreyer [Fri, 6 Nov 2015 23:15:04 +0000 (16:15 -0700)]
remove "disabled" setting from jobs.
Several jobs had an explicit "disabled: false" setting. This is already
the default behavior in JJB. Remove these lines in order to reduce the
clutter.
Andrew Schoen [Fri, 6 Nov 2015 23:07:16 +0000 (17:07 -0600)]
Merge pull request #211 from ktdreyer/wip-calamari-urls
standardize calamari URLs
Ken Dreyer [Fri, 6 Nov 2015 22:21:50 +0000 (15:21 -0700)]
standardize calamari URLs
Use the publicly-accessible, non-SSH URLs for Git and GitHub.
Ken Dreyer [Fri, 6 Nov 2015 23:04:45 +0000 (16:04 -0700)]
Merge pull request #213 from ceph/chacractl-exists-fix
fix the chacractl exists call in ceph-build-next and ceph-deploy
Andrew Schoen [Fri, 6 Nov 2015 22:47:36 +0000 (16:47 -0600)]
fix the chacractl exists call in ceph-build-next and ceph-deploy
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Nov 2015 23:02:13 +0000 (17:02 -0600)]
Merge pull request #212 from ktdreyer/wip-standardize-browser
use auto browser for Git SCMs
Ken Dreyer [Fri, 6 Nov 2015 22:08:47 +0000 (15:08 -0700)]
use auto browser for Git SCMs
Many jobs specified the githubweb browser and defined a specific URL to
find the commits.
Reduce the duplication and rely on the Jenkins Git plugin's ability to
automatically construct the URLs to the SCM commits.
Andrew Schoen [Fri, 6 Nov 2015 22:54:30 +0000 (16:54 -0600)]
Merge pull request #207 from ktdreyer/wip-rm-docs-hostkey
ansible: do not pre-populate an SSH key for docs.ceph.com
Ken Dreyer [Fri, 6 Nov 2015 17:33:39 +0000 (10:33 -0700)]
ansible: do not pre-populate an SSH key for docs.ceph.com
The new docs VM is moving behind a firewall / reverse-proxy, so it will
not be directly accessible from the internet. We will to run the
documentation jobs directly on the docs VM as a Jenkins slave, and we
will stop using rsync over SSH for publishing the docs.
Since there's no direct SSH access to the docs VM any more, remove the
SSH host key from the slaves.
(My Ansible syntax in slave.yml.j2 was broken anyway.)
Andrew Schoen [Fri, 6 Nov 2015 22:41:43 +0000 (16:41 -0600)]
Merge pull request #210 from ktdreyer/wip-docs-jobs
use docs.ceph.com slave for docs jobs
Ken Dreyer [Fri, 6 Nov 2015 20:21:29 +0000 (13:21 -0700)]
use docs.ceph.com slave for docs jobs
No need to rsync over SSH, or even use ssh-agent with the
jenkins-publish credentials. We can just rsync the job's output directly
into the proper location in /var.
Update the "node" setting to make the job run on the node labeled
"docs".
Ken Dreyer [Fri, 6 Nov 2015 21:16:32 +0000 (14:16 -0700)]
Merge pull request #209 from ceph/ceph-deploy-next
ceph-deploy: remove squeeze; use a small && trusty node
Andrew Schoen [Fri, 6 Nov 2015 21:10:47 +0000 (15:10 -0600)]
ceph-deploy: run using a small trusty node
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Nov 2015 21:10:28 +0000 (15:10 -0600)]
ceph-build: remove squeeze
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Fri, 6 Nov 2015 20:15:42 +0000 (15:15 -0500)]
Merge pull request #208 from ceph/ceph-deploy-next
bug fixes for the ceph-deploy chacra port
Andrew Schoen [Fri, 6 Nov 2015 20:12:31 +0000 (14:12 -0600)]
ceph-deploy: correctly find the deb binaries to push to chacra
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Nov 2015 18:43:20 +0000 (12:43 -0600)]
ceph-deploy: inject global passwords into the build environment
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Nov 2015 18:35:02 +0000 (12:35 -0600)]
ceph-deploy: properly set the DISTRO for the chacra endpoint
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Nov 2015 17:45:20 +0000 (11:45 -0600)]
ceph-deploy: use the correct variable for the chacra url
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Nov 2015 17:39:29 +0000 (11:39 -0600)]
ceph-deploy: fix the chacra baseurl
Push to ceph-deploy, not ceph. Herp derp.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Nov 2015 17:30:21 +0000 (11:30 -0600)]
Merge pull request #206 from ktdreyer/wip-readme-testing-by-hand
README: add instructions for testing JJB by hand
Ken Dreyer [Fri, 6 Nov 2015 17:09:36 +0000 (10:09 -0700)]
README: add instructions for testing JJB by hand
Alfredo Deza [Fri, 6 Nov 2015 17:12:40 +0000 (12:12 -0500)]
Merge pull request #205 from ceph/ceph-deploy-next
make the ceph-deploy job upload to chacra
Andrew Schoen [Fri, 6 Nov 2015 16:46:44 +0000 (10:46 -0600)]
ceph-deploy: no need to archive when we're pushing to chacra
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Nov 2015 16:45:52 +0000 (10:45 -0600)]
ceph-deploy: don't use a relative path when finding binaries
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Nov 2015 16:44:05 +0000 (10:44 -0600)]
ceph-deploy: set wipe-workspace to true and remove cleanup code
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 Nov 2015 20:57:48 +0000 (14:57 -0600)]
ceph-deploy: push debian binaries to chacra
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 Nov 2015 17:13:42 +0000 (11:13 -0600)]
ceph-deploy: push the rpm binaries to chacra
This also removes the repo creation from this job because that'll be
done by chacra now.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 Nov 2015 17:13:28 +0000 (11:13 -0600)]
ceph-deploy: install and configure chacractl
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 Nov 2015 15:35:14 +0000 (09:35 -0600)]
ceph-deploy: add the FORCE and TEST properties
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 Nov 2015 21:48:45 +0000 (15:48 -0600)]
Merge pull request #177 from ktdreyer/wip-github-hostkey
ansible: add github.com host key on slaves
Ken Dreyer [Wed, 28 Oct 2015 16:55:26 +0000 (10:55 -0600)]
ansible: add github.com host key on slaves
This prevents "Host key verification failed" errors when operating with
GitHub over SSH.
Andrew Schoen [Thu, 5 Nov 2015 21:19:18 +0000 (15:19 -0600)]
Merge pull request #204 from ceph/rpmmacros
Create `rpmmacros` file
Alfredo Deza [Thu, 5 Nov 2015 21:10:44 +0000 (16:10 -0500)]
do not cast to int
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 5 Nov 2015 21:09:32 +0000 (16:09 -0500)]
use the jenkins_user variable in the slave.yml.j2 template
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 5 Nov 2015 21:09:16 +0000 (16:09 -0500)]
use the jenkins_user variable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 5 Nov 2015 20:52:06 +0000 (15:52 -0500)]
create a template for the rpmmacros
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 5 Nov 2015 20:51:53 +0000 (15:51 -0500)]
add the macros directive to the slave.yml.j2 template
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 5 Nov 2015 20:44:16 +0000 (15:44 -0500)]
ensure that rpmmacros is set when building centos slaves
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 4 Nov 2015 15:42:02 +0000 (10:42 -0500)]
Merge pull request #203 from ceph/force-ceph-next
ceph-build-next: use --force with chacractl when FORCE is checked
Andrew Schoen [Wed, 4 Nov 2015 15:28:23 +0000 (09:28 -0600)]
ceph-build-next: use --force with chacractl when FORCE is checked
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Tue, 3 Nov 2015 22:59:09 +0000 (17:59 -0500)]
Merge pull request #202 from ktdreyer/jjb-postbuildscript
jenkins-job-builder: postbuildscript publisher fixes
Ken Dreyer [Tue, 3 Nov 2015 22:55:09 +0000 (15:55 -0700)]
jenkins-job-builder: postbuildscript publisher fixes
Prior to this commit, the JJB YAML syntax was just broken, and
jenkins-job-builder would not parse this file.
Fix the YAML syntax, make the script run properly as a "shell" step,
make it execute regardless of the build status (with the
"script-only-if-*" settings).
Alfredo Deza [Tue, 3 Nov 2015 22:26:17 +0000 (17:26 -0500)]
Merge pull request #199 from ktdreyer/jjb-libyaml-dev
ansible: install libyaml-dev on the slaves
Alfredo Deza [Tue, 3 Nov 2015 22:25:47 +0000 (17:25 -0500)]
Merge pull request #200 from ktdreyer/wip-slave-api-user
ansible: use "ceph-jenkins" as API user
Alfredo Deza [Tue, 3 Nov 2015 22:25:25 +0000 (17:25 -0500)]
Merge pull request #201 from ktdreyer/jjb-delete-config-after-build
jenkins-job-builder: rm jenkins_jobs.ini after build
Ken Dreyer [Tue, 3 Nov 2015 21:45:44 +0000 (14:45 -0700)]
jenkins-job-builder: rm jenkins_jobs.ini after build
Clean up this file after each run, to make it less likely other jobs
will have access to it.
Ken Dreyer [Mon, 2 Nov 2015 23:12:02 +0000 (16:12 -0700)]
ansible: use "ceph-jenkins" as API user
Jenkins authorizes this user account to add or remove slaves. In order
to have permission to add or remove slaves, we have to give this account
administrator rights to Jenkins.
Prior to this commit, we had a system user "prado" in Jenkins with
administrator rights.
Since we do not control this user account on GitHub.com, it is better to
use a GitHub.com user account that we control.
Ken Dreyer [Tue, 3 Nov 2015 21:36:06 +0000 (14:36 -0700)]
ansible: install libyaml-dev on the slaves
The jenkins-job-builder module on PyPI requires this package.
Ken Dreyer [Tue, 3 Nov 2015 21:31:44 +0000 (14:31 -0700)]
Merge pull request #198 from ceph/fix-baeurl
inject passwords
Alfredo Deza [Tue, 3 Nov 2015 21:29:48 +0000 (16:29 -0500)]
do noarch stuff, not x86_64
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 3 Nov 2015 21:27:09 +0000 (16:27 -0500)]
remove artifact configuration, chacra takes care of this
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 3 Nov 2015 21:20:44 +0000 (16:20 -0500)]
inject passwords
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Tue, 3 Nov 2015 21:16:32 +0000 (14:16 -0700)]
Merge pull request #197 from ceph/fix-baeurl
fix links to post to ceph-release, not ceph urls
Alfredo Deza [Tue, 3 Nov 2015 20:59:22 +0000 (15:59 -0500)]
fix links to post to ceph-release, not ceph urls
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Tue, 3 Nov 2015 18:25:14 +0000 (11:25 -0700)]
Merge pull request #196 from ceph/ceph-retag
Ceph retag
Alfredo Deza [Tue, 3 Nov 2015 18:20:54 +0000 (13:20 -0500)]
use TAG in script
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 3 Nov 2015 18:06:42 +0000 (13:06 -0500)]
configure TAG and default it to true
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 3 Nov 2015 17:58:45 +0000 (12:58 -0500)]
prevent ansible from re-tagging
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Tue, 3 Nov 2015 16:26:20 +0000 (10:26 -0600)]
Merge pull request #195 from ceph/bang-bash
prevent an early exit from a non-zero exit status
Alfredo Deza [Tue, 3 Nov 2015 15:53:42 +0000 (10:53 -0500)]
prevent an early exit from a non-zero exit status
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 3 Nov 2015 15:10:33 +0000 (10:10 -0500)]
Merge pull request #194 from ceph/port-ceph-release
port ceph-release-rpm to use chacra
Andrew Schoen [Tue, 3 Nov 2015 15:04:07 +0000 (09:04 -0600)]
ceph-release-rpm: fix the chacra TEST flag
actually post to the 'test' ref now
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 3 Nov 2015 14:51:40 +0000 (08:51 -0600)]
ceph-release-rpm: use chacractl binary --force
This will force a binary to update even it it already exists
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 3 Nov 2015 14:46:54 +0000 (08:46 -0600)]
ceph-release-rpm: add the FORCE and TEST properties
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 2 Nov 2015 23:00:20 +0000 (17:00 -0600)]
ceph-release-rpm: push the created binary to chacra
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 2 Nov 2015 20:58:12 +0000 (14:58 -0600)]
ceph-release-rpm: install chacractl and the .chacractl config file
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Mon, 2 Nov 2015 20:13:02 +0000 (15:13 -0500)]
Merge pull request #193 from ktdreyer/wip-ceph-release-key-url
ceph-release-rpm: use download.ceph.com GPG key URL
Ken Dreyer [Mon, 2 Nov 2015 20:09:16 +0000 (13:09 -0700)]
ceph-release-rpm: use download.ceph.com GPG key URL
This should be more reliable than the Gitweb interface, and matches what
we've done in ceph's docs, ceph-deploy, etc.
Alfredo Deza [Fri, 30 Oct 2015 11:08:28 +0000 (07:08 -0400)]
Merge pull request #191 from ktdreyer/wip-ansible-hsts
ansible: set HSTS header in nginx
Alfredo Deza [Fri, 30 Oct 2015 11:08:10 +0000 (07:08 -0400)]
Merge pull request #192 from ktdreyer/wip-calamari-branches
fix calamari jobs' "branches" definition
Ken Dreyer [Thu, 29 Oct 2015 22:50:46 +0000 (16:50 -0600)]
fix calamari jobs' "branches" definition
A bug in jenkins-job-wrecker screwed up the "branches" settings when we
imported these jobs from the internal Calamari jenkins server. Fix this.
Ken Dreyer [Thu, 29 Oct 2015 20:14:22 +0000 (14:14 -0600)]
ansible: set HSTS header in nginx
This will cause a browser to automatically load the "https://" URL when
the user enters "jenkins.ceph.com" into the browser.
We are using HTTP redirects from HTTP -> HTTPS already on
jenkins.ceph.com, but this change should make it a bit more secure.
See https://www.owasp.org/index.php/HTTP_Strict_Transport_Security for
more information
Alfredo Deza [Thu, 29 Oct 2015 18:44:06 +0000 (14:44 -0400)]
Merge pull request #190 from ceph/ceph-next-updates
ceph-build-next: fix the grep that finds the binaries to push to chacra
Andrew Schoen [Thu, 29 Oct 2015 17:41:16 +0000 (12:41 -0500)]
ceph-build-next: fix the grep that finds the binaries to push to chacra
Signed-off-by: Andrew Schoen <aschoen@redhat.com>