Commit Graph

295 Commits

Author SHA1 Message Date
Phillip Webb 3fb30fddb4 Use Bintray API key rather than password in CI
Update CI scripts to use the Bintray API key rather than the password
when making curl calls.

Closes gh-15015
2018-11-15 11:15:33 -08:00
Phillip Webb 3fe7bf4dc7 Fix Java 11 CI reference
See gh-15179
2018-11-15 11:14:39 -08:00
Phillip Webb 578f093d64 Merge branch '2.0.x' 2018-11-15 10:12:59 -08:00
Toshiaki Maki dd2ed72fae Fix CI Java 11 references
Closes gh-15179
2018-11-15 10:10:33 -08:00
Madhura Bhave 8cdfb6c70b Merge branch '2.0.x' 2018-11-13 17:07:29 -08:00
Johnny Lim 7eb93a0126 Remove unnecessary echo in release notes script
Closes gh-15169
2018-11-13 17:06:00 -08:00
Phillip Webb 90bfd0bf36 Merge branch '2.0.x' 2018-11-13 11:16:12 -08:00
Phillip Webb acf046ba27 Update all JDK images to AdoptJDK
Closes gh-15158
2018-11-13 11:15:05 -08:00
Phillip Webb 761ebf0336 Merge branch '2.0.x' 2018-11-13 10:17:10 -08:00
Phillip Webb 506fbd803b Use release notes generator docker image in CI
Closes gh-15160
2018-11-13 10:15:50 -08:00
Phillip Webb 2bd0a01344 Merge branch '2.0.x' 2018-11-13 09:54:20 -08:00
Phillip Webb ee2d469881 Upgrade CI to artifactory resource 0.0.5
Closes gh-15159
2018-11-13 09:53:36 -08:00
Phillip Webb 06e9a97dfd Merge branch '2.0.x' 2018-11-13 00:41:52 -08:00
Phillip Webb 27714b1e7d Attempt to fix docker-lib.sh script
See gh-15158
2018-11-13 00:04:55 -08:00
Phillip Webb e8eaeba20c Attempt to fix docker-lib.sh script
See gh-15158
2018-11-12 23:39:54 -08:00
Phillip Webb e9232288f4 Merge branch '2.0.x' 2018-11-12 22:47:17 -08:00
Phillip Webb 8fcad7bb53 Fix CI curl calls
Fix `curl` to follow redirects and use the correct `strip` variable.

See gh-15158
2018-11-12 22:23:34 -08:00
Phillip Webb 8f341fa61d Switch CI to OpenJDK releases
Update the download URLs to archives that include the `javadoc` binary.

See gh-15158
2018-11-12 22:15:26 -08:00
Phillip Webb 7934b08ecd Update docker-lib.sh for CLI changes
Update docker-lib.sh to deal with the latest docker CLI changes.

See gh-15158
2018-11-12 21:21:58 -08:00
Phillip Webb c5a7704774 Use local docker-lib.sh
Update the modified docker image build to use the local docker-lib.sh
file rather than grabbing it from the concourse github.

See gh-15158
2018-11-12 20:39:05 -08:00
Phillip Webb 1480dd81eb Migrate CI images to tagged Ubuntu release
Update the CI image process to build from a tagged ubuntu release. All
images now make use of a shared setup script to install the appropriate
binaries.

Closes gh-15158
2018-11-12 20:11:59 -08:00
Andy Wilkinson 7d5a76c61f Work around SUREFIRE-1588 by dropping back to 10.0.2+13-Debian-1
See gh-15056
2018-11-01 14:57:33 +00:00
Andy Wilkinson 8f67373581 Merge branch '2.0.x' 2018-11-01 13:04:26 +00:00
Andy Wilkinson d267f1ed69 Use full path when specifying Dockerfile to build
See gh-15058
2018-11-01 13:02:59 +00:00
Andy Wilkinson 022c9dd55b Merge branch '2.0.x' 2018-11-01 12:57:43 +00:00
Andy Wilkinson f210e9c77f Add local docker-lib.sh file when building CI images
Closes gh-15058
2018-11-01 12:53:31 +00:00
Andy Wilkinson 16d4a826a3 Merge branch '2.0.x' 2018-11-01 12:09:48 +00:00
Andy Wilkinson e915006161 Use sha256 hashes for Docker base images to ensure repeatability
Closes gh-15056
2018-11-01 11:32:07 +00:00
Andy Wilkinson 8d701e6d4d Revert addition of JDK-12 based CI
See gh-15031
2018-11-01 07:14:06 +00:00
Andy Wilkinson e9124fac0f Correct CI resource config after adding JDK 12 build
See gh-15031
2018-11-01 06:42:30 +00:00
Andy Wilkinson 9bb7edcb88 Remove JDK 9 and 10-based CI and add JDK 12
Closes gh-15031
2018-11-01 06:33:33 +00:00
Andy Wilkinson bbdd731535 Use 11.0.1-jdk for Java 11 CI builds
Closes gh-15030
2018-10-31 09:59:05 +00:00
Madhura Bhave 520ce148f5 Merge branch '2.0.x' 2018-10-19 16:21:20 -07:00
Madhura Bhave f145e81354 Use github release resource for publishing release notes
This commit also marks a release as pre-release for milestones and RCs

Closes gh-14908
Closes gh-14875
2018-10-19 16:17:11 -07:00
Madhura Bhave 8a94c5581c Merge branch '2.0.x' 2018-10-16 16:39:32 -07:00
Madhura Bhave b832a2f604 Add reference to docker-lib source 2018-10-16 16:36:44 -07:00
Madhura Bhave aae3d17c77 Merge branch '2.0.x' 2018-10-16 14:24:45 -07:00
Madhura Bhave 3a7101233f Fix publish release notes script
See gh-14857
2018-10-16 14:22:48 -07:00
Madhura Bhave 89b4d5e6b1 Merge branch '2.0.x' 2018-10-16 11:53:36 -07:00
Madhura Bhave 54966bea6f Use the entire version for the tag name
This commit also restores the `sed` call to sanitize the request body.

Fixes gh-14857
2018-10-16 11:51:54 -07:00
Madhura Bhave e7fd7eb3cc Merge branch '2.0.x' 2018-10-15 15:16:01 -07:00
Madhura Bhave ef655ce949 Update sonatype credentials in sync-to-maven-central job
Closes gh-14454
2018-10-15 15:15:02 -07:00
Madhura Bhave 29a43851b5 Merge branch '2.0.x' 2018-10-11 16:34:26 -07:00
Madhura Bhave 042d495d92 Set gradle-plugin attribute on the Bintray package
Closes gh-14447
2018-10-11 16:30:33 -07:00
Madhura Bhave 0f10dbb5f5 Merge branch '2.0.x' 2018-10-05 11:41:44 -07:00
Madhura Bhave cdc6cfcaa8 Publish release notes after artifacts have been promoted
Closes gh-14604
2018-10-05 11:39:48 -07:00
Stephane Nicoll f8f6b474eb Merge branch '2.0.x' 2018-10-05 10:38:15 +02:00
Hanope 31a5bfdcba Simplify escaping of newline characters when publishing release notes
Closes gh-14620
2018-10-05 10:37:26 +02:00
Gustavo Andrade 95ae66b3ff Upgrade Java 11 CI image to 11-ea-28-jdk
Closes gh-14631
2018-09-28 14:02:10 -04:00
Andy Wilkinson 9b7122bf91 Merge branch '2.0.x' 2018-09-28 13:58:30 -04:00
Gustavo Andrade 9cd0c5a05d Upgrade Java 10 CI image to 10.0.2-13-jdk
Closes gh-14630
2018-09-28 13:57:42 -04:00
Andy Wilkinson d4e7959a93 Merge branch '2.0.x' 2018-09-27 06:22:59 -04:00
Andrade, Gustavo (ESI) 31f89e5981 Upgrade Java 8 CI image to openjdk:8u181-jdk
Closes gh-14618
2018-09-27 06:21:21 -04:00
Madhura Bhave 072be48fc3 Merge branch '2.0.x' 2018-09-25 12:31:24 -04:00
Madhura Bhave 579722bfbd Fix braces in publish release notes script 2018-09-25 12:30:27 -04:00
Phillip Webb fd2080e7cc Merge branch '2.0.x' 2018-09-24 19:55:41 -04:00
Phillip Webb 96f5c8280c Make release notes script executable 2018-09-24 19:54:13 -04:00
Madhura Bhave 9fa517c47c Merge branch '2.0.x' 2018-09-24 11:13:37 -04:00
Madhura Bhave ea3d9b4ead Update publish release notes script
The milestone name and tag name can be different if the release type
is ".RELEASE".
2018-09-24 11:11:58 -04:00
Madhura Bhave 7650321817 Merge branch '2.0.x' 2018-09-20 16:38:58 -07:00
Madhura Bhave 7d04c51294 Automate creation of releases notes on GitHub
Closes gh-12552
2018-09-20 16:36:43 -07:00
Madhura Bhave 7127098f86 Remove call to stop_docker 2018-09-17 13:25:30 -07:00
Madhura Bhave 3ed9730b86 Merge branch '2.0.x' 2018-09-12 16:20:57 -07:00
Madhura Bhave dfda247972 Fix warnings for params defined in pipeline but not in task
Closes gh-14445
2018-09-12 16:19:58 -07:00
Stephane Nicoll 9a94fb3464 Add ci build for Java 11
Closes gh-14028
2018-08-17 15:16:08 +02:00
Madhura Bhave e6a69119ef Add trigger for 2.0.x-based pull requests
Closes gh-14034
2018-08-13 14:02:48 -07:00
Madhura Bhave c8570a9459 Merge branch '2.0.x' 2018-08-08 15:06:56 -07:00
Madhura Bhave 26af0ca742 Increase wait timeout for bintray to 20 min
Closes gh-13947
2018-08-08 15:05:54 -07:00
Madhura Bhave fb443aa3bf Merge branch '2.0.x' 2018-07-02 14:03:32 -07:00
Madhura Bhave d15ca6e0de Update sync-to-maven-central CI job
Closes gh-13296
2018-07-02 13:57:34 -07:00
Madhura Bhave b01efb2392 Merge branch '2.0.x' 2018-06-21 12:00:28 -07:00
Madhura Bhave f10972ad32 Remove redundant build_number
Fixes gh-13442
2018-06-21 11:59:05 -07:00
Madhura Bhave bdd66a6003 Merge branch '2.0.x' 2018-06-21 11:55:46 -07:00
Madhura Bhave a7fb3cf182 Remove extra / from artifactory server param
Fixes gh-13535
2018-06-21 11:43:19 -07:00
Madhura Bhave 9ec9a74a58 Merge branch '2.0.x' 2018-05-30 19:06:50 -07:00
Madhura Bhave 1758d8c106 Remove email resource from pipeline
Closes gh-13307
2018-05-30 19:05:34 -07:00
Phillip Webb e47e499af2 Merge branch '2.0.x' 2018-05-21 17:26:40 -07:00
Phillip Webb f84014d7df Add save_build_info param to maven sync job
Update CI pipeline so that the `sync-to-maven-central` job has access
to the artifactory build info.

Closes gh-13223
2018-05-21 17:24:43 -07:00
Andy Wilkinson 55d66f3e6d Merge branch '2.0.x' 2018-05-08 09:58:57 +01:00
Andy Wilkinson 14520f6ca8 Include build pipeline name in Slack alerts 2018-05-08 09:58:33 +01:00
Andy Wilkinson a3ac21a231 Merge branch '2.0.x' 2018-05-04 10:25:18 +01:00
Andy Wilkinson d70434a27d Use 9.0.4-12-jdk for JDK 9-based CI
Closes gh-13059
2018-05-04 10:24:55 +01:00
Madhura Bhave 868dc6e370 Merge branch '2.0.x' 2018-05-02 17:21:16 -07:00
Madhura Bhave 1fb51dcc0d Send Slack Notifications when build completes
Closes gh-10790
2018-05-02 17:19:36 -07:00
Madhura Bhave 1be616aebc Merge branch '2.0.x' 2018-05-02 14:35:08 -07:00
Madhura Bhave 04d6bc5119 Update email script to find status till one is found
The determine-email-body script would only look at the previous commit's
status to determine whether to send a success email or not. If no status
was found (this happens when commits are pushed close to each other and CI
only runs the latest one), it would send a successful email even if the last
CI run was successful.
2018-05-02 13:33:14 -07:00
Andy Wilkinson 0f2241a122 Merge branch '2.0.x' 2018-04-27 14:01:03 +01:00
Andy Wilkinson d448c5ac49 Use openjdk:10.0.1-10-jdk Docker image for JDK 10-based CI
Closes gh-12988
2018-04-27 14:00:51 +01:00
Madhura Bhave c81e984b79 Merge branch '2.0.x' 2018-04-19 10:40:17 -07:00
Madhura Bhave 2e836ac74b Use token to prevent rate limiting by Github API 2018-04-19 10:39:52 -07:00
Madhura Bhave 982a110fc1 Merge branch '2.0.x' 2018-04-13 12:00:06 -07:00
Madhura Bhave df7ddeefc4 Polish promotion script
See gh-12292
2018-04-13 11:57:56 -07:00
Madhura Bhave 20acd2a89b Merge branch '2.0.x' 2018-04-12 10:33:11 -07:00
Madhura Bhave 3f34f25d10 Use the right image 2018-04-12 10:10:04 -07:00
Madhura Bhave 0ffede920e Merge branch '2.0.x' 2018-04-12 09:46:58 -07:00
Madhura Bhave eaa8faae09 Apply email notification config to jdk9 & 10 builds
See gh-10790
2018-04-12 09:46:03 -07:00
Madhura Bhave 94362d51ec Merge branch '2.0.x' 2018-04-11 19:36:35 -07:00
Madhura Bhave 62a8f60bb3 Second attempt at fixing email notification script 2018-04-11 19:34:44 -07:00
Madhura Bhave d375808d42 Merge branch '2.0.x' 2018-04-11 19:21:52 -07:00
Madhura Bhave 68a9aa56f0 Fix determine email body script 2018-04-11 18:09:08 -07:00
Madhura Bhave eff6ce5c3c Merge branch '2.0.x' 2018-04-11 14:32:07 -07:00
Madhura Bhave 8d4e5cbfb7 No need to create output directory 2018-04-11 14:13:11 -07:00
Madhura Bhave ad5b8e8bfb Merge branch '2.0.x' 2018-04-11 13:50:39 -07:00
Madhura Bhave ee8188a19c Send email if build is successful after failure
See gh-10790
2018-04-11 13:41:52 -07:00
Madhura Bhave 5cfbd33235 Merge branch '2.0.x' 2018-04-10 12:00:31 -07:00
Madhura Bhave a09a6f223b Reinstate commit status for concourse builds
Fixes gh-10851
2018-04-10 11:59:17 -07:00
Andy Wilkinson d8b2a17e1c Reinstate CI image builds for 2.0.x pipeline 2018-04-10 16:47:42 +01:00
Andy Wilkinson a9020df9b9 Remove pull request and CI image builds from 2.0.x pipeline 2018-04-10 09:53:15 +01:00
Andy Wilkinson a50ef54e3b Create 2.0.x branch and CI pipeline 2018-04-10 09:42:30 +01:00
Madhura Bhave fa4a3ab308 Don't force snapshot update for integration tests
See if that fixes intermittent NoClassDefFoundError.

See gh-12689
2018-04-03 12:04:20 -07:00
Madhura Bhave a938c372ea Switch to async promotion
Due to timeouts while distributing release artifacts,
this commit uses the async mode for distribution.

Before syncing to maven central, we need to check if all the artifacts
have been published to Bintray. This is done by hitting the Bintray API
till we get the version or until a timeout is reached.

Closes gh-12292
2018-03-29 16:03:24 -07:00
Madhura Bhave 8633ddc198 Fix exclude pattern 2018-03-28 18:53:16 -07:00
Madhura Bhave 770cbfae0e Don't publish effective POM
Fixes gh-12662
2018-03-28 13:43:06 -07:00
Andy Wilkinson 87782a2db4 Upgrade JDK 10-based CI to jdk-10-ea-46
Closes gh-12515
2018-03-16 08:27:29 +00:00
Madhura Bhave 0b64ac07c6 Add a separate job for syncing release to central
See gh-12292
2018-03-12 17:07:15 -07:00
Andy Wilkinson f80343b2ea Use the correct tag for JDK 10 EA 32
See gh-12028
2018-03-02 14:36:14 +00:00
Andy Wilkinson dfbababd11 Add a JDK 10 build to the CI pipeline
Closes gh-12028
2018-03-02 14:20:29 +00:00
Phillip Webb 9bb39f0d44 Increase promote timeouts
Fixes gh-12291
2018-02-28 19:01:24 -08:00
Madhura Bhave 00218dbfea Remove duplicate curl parameter 2018-02-27 18:56:06 -08:00
Madhura Bhave 6b3b7909f3 Update CI docker image with latest scripts tag 2018-02-27 11:26:21 -08:00
Madhura Bhave 589d4f9cdf Fix concourse scripts to get next release version
Fixes gh-12239
2018-02-27 11:06:00 -08:00
Madhura Bhave 013310738f Get CI image in RC and release jobs 2018-01-30 15:02:17 -08:00
Phillip Webb 2f834b377c Fix variable names used in concourse stage script 2018-01-30 14:31:24 -08:00
Madhura Bhave a38d99762c Fix PR build so that it doesn't require privileged 2018-01-05 10:51:08 -08:00
Madhura Bhave 8001c6a2b8 Fix docker-lib url in images 2018-01-04 12:42:28 -08:00
Madhura Bhave 747b71ba69 Add docker-lib from github 2018-01-04 12:01:27 -08:00
Madhura Bhave e28915bd4b Make integration tests self-contained
Fixes gh-10516
2018-01-04 11:26:40 -08:00
Phillip Webb 24f681826c Upgrade to artifactory resource 0.0.3
Fixes gh-10832
2017-11-28 16:23:02 -08:00
Johnny Lim 73c65286ea Polish 2017-11-18 10:07:30 -08:00
Phillip Webb dd3dde3531 Make concourse pipeline public
Migrate concourse pipeline to use credhub and expose a limited number
of jobs as "public".

Closes gh-10693
2017-11-06 15:26:46 -08:00
Phillip Webb 0c10ebf255 Add github-repo-name parameter to CI 2017-10-30 11:25:04 -07:00
Phillip Webb 030d93d5ed Upgrade to artifactory resource 0.0.3-SNAPSHOT
See gh-10832
2017-10-30 11:19:32 -07:00
Madhura Bhave 948a86e4eb Build PRs as part of concourse pipeline
Closes gh-10526
2017-10-18 09:32:39 -07:00
Andy Wilkinson fc68af33c4 Correct typos (sonattype -> sonatype) in pipeline.yml 2017-10-16 12:14:16 +01:00
Andy Wilkinson 74d7a53119 Trigger JDK 9 build when Git repo changes
Closes gh-10515
2017-10-16 12:03:30 +01:00
Phillip Webb ac4b923b88 More promote script fixes
See gh-9316
2017-10-12 09:35:13 -07:00
Phillip Webb 39e680ddc1 Increase promotion timeouts
See gh-9316
2017-10-11 18:58:04 -07:00
Phillip Webb c20af0f57a Fix promote target repo
See gh-9316
2017-10-11 18:49:33 -07:00
Phillip Webb 3dd59ba00b Fix promote script
See gh-9316
2017-10-11 18:44:59 -07:00
Phillip Webb dcad69fd23 Fix artifactory property used on docs
Fixes gh-10608
2017-10-11 18:43:46 -07:00
Phillip Webb 4f0a41d80e Fix pipeline stage script 2017-10-11 15:22:46 -07:00
Phillip Webb 6de12b20f0 Upgrade CI to use artifactory-resource 0.0.2
Fixes gh-10570
2017-10-10 12:15:02 -07:00
Phillip Webb 250eb67f46 Stop using checksum based artifactory deploys
Fixes gh-10552
2017-10-08 07:51:35 -07:00
Phillip Webb 8d36e88fdf Upgrade to artifactory resource 0.0.2 SNAPSHOT
See gh-10521
2017-10-08 07:51:35 -07:00
Phillip Webb e9f9462917 Add Concourse CI pipeline
Add CI pipeline for builds and releases.

Fixes gh-9316
2017-10-04 20:18:53 -07:00