Commit Graph

36 Commits

Author SHA1 Message Date
Carlos Sanchez e3d4632d6d
Merge pull request #589 from carlossg/curl-error
Exit publish on unexpected error
2017-12-17 11:36:19 +01:00
Daniel Beck 79a039378c Retrieve sha256 checksum for war file from Maven repo 2017-10-12 21:38:15 +02:00
Carlos Sanchez bc19733e53 Exit publish on unexpected error
Do not print curl errors to stdout
2017-10-11 17:22:34 +02:00
R. Tyler Croy 4c2b7bf803
Revert "Re-push non-Alpine images which were incorrectly overwritten"
This reverts commit f60aa223c0.
2017-09-13 16:40:47 -07:00
R. Tyler Croy f60aa223c0
Re-push non-Alpine images which were incorrectly overwritten
This should be reverted as soon as the tags are back to the way they should be
2017-09-13 16:36:24 -07:00
Carlos Sanchez 8471f3f58e Fix #570 Publishing script was using old jenkinsci repo
Ensure that we don't publish when we receive unexpected http codes
2017-09-12 23:23:45 +02:00
R. Tyler Croy b4f95e2b8b Oh right, and a slash.
I'm pretty much the best code reviewer of all time :frown:
2017-07-20 10:54:30 -07:00
R. Tyler Croy 8acff02bed Properly reference variable in publish.sh 2017-07-20 10:51:06 -07:00
R. Tyler Croy 57e601fc03 Merge pull request #532 from ndeloof/master
use a dedicated Dockerfile for alpine variant
2017-07-20 10:47:29 -07:00
Nicolas De Loof 638459b643 shellcheck 2017-07-20 19:20:27 +02:00
Nicolas De Loof e1c8666476 fix the publish script 2017-07-20 19:19:03 +02:00
Nicolas De Loof dbb6078fcd also publish alpine on dockerhub 2017-07-20 19:12:20 +02:00
Nicolas De loof 720fffd065 Publish under "jenkins" dockerhub organization (#517)
* Publish under "jenkins" dockerhub organization

see https://github.com/jenkinsci/docker/issues/515

* Update README.md

* Remove lts reference

* also publish images under "jenkinsci"

We have asked Docker folks to support redirection from jenkinsci -> jenkins
2017-07-20 18:02:47 +02:00
Carlos Sanchez ed1a330c47 Run shellcheck on build (#499)
And fix all the errors and warnings reported
2017-05-27 18:22:27 +02:00
Carlos Sanchez 8501e6ac06 Get versions for publish script from the maven repo 2017-04-26 18:12:43 +02:00
Carlos Sanchez 894b9e405c Fix #463 lts-alpine points to non alpine image 2017-04-04 19:48:32 +02:00
Carlos Sanchez b3f7302900 Fix #449 Tag is not pushed when dry run is false 2017-03-17 14:12:57 +01:00
Carlos Sanchez dc86915462 Push the right tag 2017-03-07 20:21:30 +01:00
Carlos Sanchez 09f1e500a6 Add a debug option to publish 2017-03-07 20:06:42 +01:00
Carlos Sanchez 4d0468a539 pull the image to tag, in case it was built before 2017-03-07 19:37:18 +01:00
Carlos Sanchez b857bb2548 Print erro message if get-digest fails 2017-03-07 19:28:02 +01:00
Carlos Sanchez ac44f2ae6b Fix the tagging of images in publish script 2017-03-07 18:39:32 +01:00
Carlos Sanchez df48ce7493 Make publish do a build, even when dry running 2017-03-07 18:15:06 +01:00
Carlos Sanchez 48c86a39e7 Issue #444 Use sha256 for the weekly builds 2017-03-07 18:14:17 +01:00
Carlos Sanchez dbdcfe4a4b When dry running publish, tag may not exist 2017-03-07 09:42:40 +01:00
Carlos Sanchez 6a34438926 Fix unbound variables 2017-03-07 09:14:58 +01:00
Carlos Sanchez ef7d4ef34e Print the digests when publishing 2017-03-02 11:12:08 +05:30
Carlos Sanchez 881d143fda Do not recreate tags that already have the same sha 2017-02-15 10:28:27 +01:00
Carlos Sanchez 7fd3f21520 Add a dry run option to publish 2017-02-15 10:01:07 +01:00
Carlos Sanchez 4b0dcec679 [INFRA-1067] latest is pointing to a previous release
Ensure that lts points to the latest lts

Avoid republishing some tags by querying for 30 elements
2017-02-14 00:20:41 +01:00
Carlos Sanchez b108a5362c Push latest (for master) or the name of the branch 2017-02-06 14:31:24 +01:00
Carlos Sanchez e43b7f99c3 [INFRA-729] Correctly determine what branch are we in, again 2017-02-06 14:12:34 +01:00
Carlos Sanchez d43f4296dd [INFRA-729] Correctly determine what branch are we in 2017-02-06 13:50:53 +01:00
Carlos Sanchez 3ffc4e4a7f [INFRA-729] Publish alpine variant too 2017-02-06 13:20:44 +01:00
Carlos Sanchez 7b8382f41b Use the correct build args and fix regex check 2017-02-06 12:01:05 +01:00
Carlos Sanchez 0f763d400c [INFRA-729] Publish all our versions under jenkinsci docker org 2017-02-06 11:25:47 +01:00