]>
git.apps.os.sepia.ceph.com Git - ceph-build.git/log
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>
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.