]>
git.apps.os.sepia.ceph.com Git - ceph-build.git/log
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>
Ken Dreyer [Thu, 29 Oct 2015 16:31:48 +0000 (10:31 -0600)]
Merge pull request #189 from ceph/ceph-next-updates
fix a typo when constructing the chacra endpoint
Andrew Schoen [Thu, 29 Oct 2015 16:26:42 +0000 (11:26 -0500)]
fix a typo when constructing the chacra endpoint
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 29 Oct 2015 14:14:11 +0000 (09:14 -0500)]
Merge pull request #188 from ceph/doc-update
remove old docs that relied on a convention that is not enforced
Alfredo Deza [Thu, 29 Oct 2015 14:02:48 +0000 (10:02 -0400)]
remove old docs that relied on a convention that is not enforced
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 29 Oct 2015 12:48:29 +0000 (08:48 -0400)]
Merge pull request #187 from ceph/ceph-next-updates
fix FORCE logic; use correct $DIST var
Andrew Schoen [Thu, 29 Oct 2015 12:43:23 +0000 (07:43 -0500)]
use the correct DIST variable
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 22:43:28 +0000 (17:43 -0500)]
ceph-build-next: fix logic for the FORCE flag
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 22:35:58 +0000 (17:35 -0500)]
Merge pull request #185 from ktdreyer/ceph-deploy-docs
ceph-deploy-docs: misc changes
Andrew Schoen [Wed, 28 Oct 2015 22:35:30 +0000 (17:35 -0500)]
Merge pull request #186 from ktdreyer/ceph-docs
ceph-docs: switch to github webhooks
Ken Dreyer [Wed, 28 Oct 2015 22:25:59 +0000 (16:25 -0600)]
ceph-docs: update git URL
Avoid ".git" HTTPS URLs, for consistency
Ken Dreyer [Wed, 28 Oct 2015 22:24:35 +0000 (16:24 -0600)]
ceph-docs: switch to github webhooks
Polling is slow and inefficient
Ken Dreyer [Wed, 28 Oct 2015 22:22:14 +0000 (16:22 -0600)]
ceph-deploy-docs: keep only the last 10 builds
no need to keep more
Ken Dreyer [Wed, 28 Oct 2015 22:21:34 +0000 (16:21 -0600)]
ceph-deploy-docs: trigger on github webhooks
Polling is slow and inefficient
Ken Dreyer [Wed, 28 Oct 2015 22:16:37 +0000 (16:16 -0600)]
ceph-deploy-docs: update Git URLs
Don't refer to ".git" in the HTTPS urls.
In addition to providing consistency, this change also un-breaks the
githubweb commit viewer (github was 404'ing on these URLs)
Andrew Schoen [Wed, 28 Oct 2015 22:16:30 +0000 (17:16 -0500)]
Merge pull request #184 from ktdreyer/wip-readme
README: note polling convention vs webhooks
Ken Dreyer [Wed, 28 Oct 2015 22:12:46 +0000 (16:12 -0600)]
README: note polling convention vs webhooks
Ken Dreyer [Wed, 28 Oct 2015 22:07:39 +0000 (16:07 -0600)]
Merge pull request #183 from ceph/ceph-next-updates
ceph-build-next: source the venv in build_deb and build_rpm
Andrew Schoen [Wed, 28 Oct 2015 22:05:11 +0000 (17:05 -0500)]
ceph-build-next: source the venv in build_deb and build_rpm
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ken Dreyer [Wed, 28 Oct 2015 22:00:56 +0000 (16:00 -0600)]
calamari-clients-centos: fix branch definition
A bug in jenkins-job-wrecker screwed up the "branches" setting when we
imported these jobs from the internal Calamari jenkins server. Fix this.
Ken Dreyer [Wed, 28 Oct 2015 21:48:48 +0000 (15:48 -0600)]
Merge pull request #182 from ceph/ceph-next-updates
missing source when activating the venv; fix .chacractl file
Ken Dreyer [Wed, 28 Oct 2015 21:45:33 +0000 (15:45 -0600)]
calamari-clients: fix branch definition
A bug in jenkins-job-wrecker screwed up the "branches" setting when we
imported these jobs from the internal Calamari jenkins server. Fix this.
Andrew Schoen [Wed, 28 Oct 2015 21:44:30 +0000 (16:44 -0500)]
missing source when activating the venv
This also fixes the path to pip after have the venv activated
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 21:42:55 +0000 (16:42 -0500)]
quote the values in .chacractl
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ken Dreyer [Wed, 28 Oct 2015 21:39:12 +0000 (15:39 -0600)]
README.rst: update CentOS versions in example
I don't think we've ever supported CentOS 5.
Andrew Schoen [Wed, 28 Oct 2015 21:34:23 +0000 (16:34 -0500)]
Merge pull request #181 from ktdreyer/wip-jjb-urls
jenkins-job-builder: update URLs
Ken Dreyer [Wed, 28 Oct 2015 21:31:46 +0000 (15:31 -0600)]
jenkins-job-builder: update URLs
GitHub's webhooks to https://jenkins.ceph.com/git/notifyCommit are not
triggering rebuilds of this job.
Tweak the URLs to see if this makes a difference.
Alfredo Deza [Wed, 28 Oct 2015 21:14:25 +0000 (17:14 -0400)]
Merge pull request #180 from ceph/ceph-next-updates
create the chacractl virtualenv at $WORKSPACE/venv
Andrew Schoen [Wed, 28 Oct 2015 21:09:31 +0000 (16:09 -0500)]
activate the virtualenv so we don't have to use the full path
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 21:04:20 +0000 (16:04 -0500)]
create the chacractl virtualenv at $WORKSPACE/venv
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 20:50:42 +0000 (16:50 -0400)]
Merge pull request #179 from ceph/ceph-next-updates
various updates to ceph-build-next
Andrew Schoen [Wed, 28 Oct 2015 20:44:37 +0000 (15:44 -0500)]
use $BRANCH as the chacra_ref
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 20:43:10 +0000 (15:43 -0500)]
do not assign get_rpm_dist to a var so that all globals are available
If you assign the value of get_rpm_dist to a variable, the other global
variables created in that method are not available to use
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 20:10:46 +0000 (15:10 -0500)]
fix logic when defining the chacra_ref
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 20:00:18 +0000 (15:00 -0500)]
use the chacractl that's installed in the virtualenv
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 19:57:41 +0000 (14:57 -0500)]
get_bptag needs to be before the chacractl exists command
without this the $dist var will not be set
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 17:03:10 +0000 (13:03 -0400)]
Merge pull request #178 from ktdreyer/wip-comment-credential-id
ceph-setup-next: add comment explaining credential-id
Ken Dreyer [Wed, 28 Oct 2015 16:59:23 +0000 (10:59 -0600)]
ceph-setup-next: add comment explaining credential-id
Andrew Schoen [Wed, 28 Oct 2015 16:55:49 +0000 (11:55 -0500)]
Merge pull request #176 from ceph/creds-releases
use the right credentials id user for git ceph-releases
Alfredo Deza [Wed, 28 Oct 2015 16:52:49 +0000 (12:52 -0400)]
use the right credentials id user for git ceph-releases
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 16:32:55 +0000 (12:32 -0400)]
use the right ssh credentials for ceph-releases
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 16:12:10 +0000 (11:12 -0500)]
Merge pull request #175 from ceph/github-trigger
GitHub trigger
Alfredo Deza [Wed, 28 Oct 2015 16:10:51 +0000 (12:10 -0400)]
use the github trigger only for jenkins job builder
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 16:10:26 +0000 (12:10 -0400)]
use the github trigger for teuthology docs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 16:08:57 +0000 (11:08 -0500)]
Merge pull request #174 from ceph/setup-releases
Setup releases
Alfredo Deza [Wed, 28 Oct 2015 16:07:57 +0000 (12:07 -0400)]
use the right git url to setup ceph
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 16:07:38 +0000 (12:07 -0400)]
we no longer need a ceph-mirror
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 15:56:02 +0000 (11:56 -0400)]
Merge pull request #173 from ceph/ceph-next-updates
add jenkins-build user ssh credentials to ceph-setup-next
Andrew Schoen [Wed, 28 Oct 2015 15:54:40 +0000 (10:54 -0500)]
add jenkins-build user ssh credentials to ceph-setup-next
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 15:50:12 +0000 (10:50 -0500)]
Merge pull request #172 from ceph/releases-ssh
use the jenkins-build ssh key so we can push to ceph-releases.git
Alfredo Deza [Wed, 28 Oct 2015 15:47:36 +0000 (11:47 -0400)]
use the jenkins-build ssh key so we can push to ceph-releases.git
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Wed, 28 Oct 2015 15:32:07 +0000 (10:32 -0500)]
Merge pull request #171 from ceph/ceph-next-updates
ceph-setup-next should request a huge trusty node
Andrew Schoen [Wed, 28 Oct 2015 15:19:05 +0000 (10:19 -0500)]
ceph-setup-next should request a huge trusty node
We've updated our tagging scheme, so now this job should request a slave
that's tagged with both 'huge' and 'trusty'.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 15:11:12 +0000 (11:11 -0400)]
Merge pull request #170 from ceph/force-push
force push to ceph-releases
Alfredo Deza [Wed, 28 Oct 2015 15:04:30 +0000 (11:04 -0400)]
force push to ceph-releases
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 14:56:11 +0000 (10:56 -0400)]
clear the local and remote tags just before tagging again
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 14:49:19 +0000 (10:49 -0400)]
reset hard to origin
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 14:42:50 +0000 (10:42 -0400)]
reset the branch before making changes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 28 Oct 2015 12:28:51 +0000 (08:28 -0400)]
ignore when adding 'origin' fails as it may already exist
Signed-off-by: Alfredo Deza <adeza@redhat.com>