aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci
Commit message (Collapse)AuthorAge
...
* Remove unused method from build.shGravatar Damien Martin-Guillerez2017-05-29
| | | | | Change-Id: I21c738873b2bc6b4d2e8b607e0a206589d905f86 PiperOrigin-RevId: 157271290
* Fix typo. Also do not override host_cpu for msvc.Gravatar dslomov2017-05-15
| | | | | RELNOTES: None. PiperOrigin-RevId: 156107235
* Make make sure that msys build actually builds msys versionGravatar dslomov2017-05-15
| | | | | RELNOTES: None. PiperOrigin-RevId: 156102527
* Disable msys path conversion on Windows.Gravatar dslomov2017-05-15
| | | | | RELNOTES: None PiperOrigin-RevId: 156068741
* Remove references to ANDROID_SDK_API_LEVEL from CIGravatar Adam Michael2017-05-11
| | | | | | | | | ANDROID_SDK_API_LEVEL was previously set by a script that parsed that platforms/ directory of the SDK. Now this functionality is handled by android_sdk_repository which autodetects the available API levels. Change-Id: Ifbbc5499444f465929b9d70bf488ff5ba3c4cded PiperOrigin-RevId: 155747062
* Do not mark the JDK7 installer -without-jdk-installerGravatar dmarting2017-05-09
| | | | | | | | | | Instead just mark it as a default installer when there is no installer with a bundled JDK. Fixes #2969 To be cherry-picked for #2692. PiperOrigin-RevId: 155483548
* Release to GCS: put the final release in its own directoryGravatar dmarting2017-05-04
| | | | | | To be cherry-picked for #2692. PiperOrigin-RevId: 155063394
* Bundled JDK changes for the release process. This is a fixed versionGravatar philwo2017-04-28
| | | | | | | | | | | | | | | that should not break CI this time... - Make the default Bazel release artifacts include the bundled JDK. - Create additional Bazel release artifacts without a bundled JDK. Tested by running "bazel build //scripts/..." in a clean checkout and one with this patch in, then diffing the entire bazel-out folder and manually inspecting the resulting files (zips, tar.gz, deb, rpm) to make sure that they contain the right files. Looks all good now, so let's try again. PiperOrigin-RevId: 154544164
* Automated g4 rollback of commit 2c4dd1f3176371473667c551cd5a5ae5992f8154.Gravatar philwo2017-04-24
| | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks CI because //scripts/packages/debian:bazel-bin still references //scripts/packages:bazel-real. *** Original change description *** Bundled JDK changes for the release process. - Make the default Bazel release artifacts include the bundled JDK. - Create additional Bazel release artifacts without a bundled JDK. Change-Id: If87c986507ae8e7dbbf0e8f163dd0073a206b265 PiperOrigin-RevId: 154054435
* Bundled JDK changes for the release process.Gravatar Philipp Wollermann2017-04-24
| | | | | | | | - Make the default Bazel release artifacts include the bundled JDK. - Create additional Bazel release artifacts without a bundled JDK. Change-Id: If87c986507ae8e7dbbf0e8f163dd0073a206b265 PiperOrigin-RevId: 153718827
* Release: also push the final release to GCSGravatar dmarting2017-03-29
| | | | PiperOrigin-RevId: 151564075
* Build MSVC Bazel on windows-msvc-x86_64 platformGravatar Yun Peng2017-03-23
| | | | | | | | -- Change-Id: I044b8c244d63232ccec7bf48556248ee2dd1c43d Reviewed-on: https://cr.bazel.build/9515 PiperOrigin-RevId: 151019006 MOS_MIGRATED_REVID=151019006
* Build a version of Bazel with a bundled OpenJDK inside the binary.Gravatar Philipp Wollermann2017-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're using Azul Systems, Inc.'s ZuluĀ® OpenJDK build[1], as it's a good vanilla build of OpenJDK available for our three most important platforms: zulu8.20.0.5-jdk8.0.121-linux_x64.tar.gz zulu8.20.0.5-jdk8.0.121-macosx_x64.zip zulu8.20.0.5-jdk8.0.121-win_x64.zip You can build & run a Bazel binary with an embedded JDK by simple doing: bazel build //src:bazel_with_jdk bazel-bin/src/bazel_with_jdk info The "bazel license" command prints the license of the embedded OpenJDK. We mirror the binaries and sources of the OpenJDK used for bundling on this website: https://bazel-mirror.storage.googleapis.com/openjdk/index.html RELNOTES: Bazel can now be built with a bundled version of the OpenJDK. This makes it possible to use Bazel on systems without a JDK, or where the installed JDK is too old. [1] http://www.azul.com/downloads/zulu/ -- PiperOrigin-RevId: 150440467 MOS_MIGRATED_REVID=150440467
* Filter out perf.bazel.*.nobuild for release.Gravatar Yue Gan2017-03-16
| | | | | | -- PiperOrigin-RevId: 150194302 MOS_MIGRATED_REVID=150194302
* Fix calling of test Gravatar Klaus Aehlig2017-03-07
| | | | | | | | | | | For test (a.k.a '[') the closing bracket has to be a separate argument. Fix this by adding the missing space. -- Change-Id: Ie1d64bc1fa37f85ee0c7b5520b2ba12a30c9f635 Reviewed-on: https://cr.bazel.build/9290 PiperOrigin-RevId: 149418360 MOS_MIGRATED_REVID=149418360
* Do not generate a dist archive to jdk7 Gravatar Klaus Aehlig2017-03-06
| | | | | | | | | | | | | | | Our distribution archive is supposed to contain all the original sources, as well as derived architecture-independent files needed for bootstrapping. So there should only be one distribution archive, not a separate one for jdk7, especially, as the project is moving away from java 7 soon. Change our artifact building accordingly. Closes #2250. -- Change-Id: If34afb544702bc309f722bdc2891b9dc60fe9899 Reviewed-on: https://cr.bazel.build/9190 PiperOrigin-RevId: 149104302 MOS_MIGRATED_REVID=149104302
* Support pushing a file under directory.Gravatar Yue Gan2017-02-20
| | | | | | -- PiperOrigin-RevId: 148015085 MOS_MIGRATED_REVID=148015085
* Fixes a variable mistake.Gravatar Yue Gan2017-02-20
| | | | | | -- PiperOrigin-RevId: 148010735 MOS_MIGRATED_REVID=148010735
* Add function for pushing benchmark result to site.Gravatar Yue Gan2017-02-17
| | | | | | | | This will only affect site after adding new job calling this function on CI. -- PiperOrigin-RevId: 147730290 MOS_MIGRATED_REVID=147730290
* Fixes another bug that "nobuild" tar files are not extracted.Gravatar Yue Gan2017-02-15
| | | | | | -- PiperOrigin-RevId: 147612226 MOS_MIGRATED_REVID=147612226
* Rollback of commit 1893c21f9f04acff4a3cc5cd20ddbf9fe89ae59a.Gravatar Yue Gan2017-02-15
| | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Fix CI build *** Original change description *** Automated [] rollback of commit 01aa7d6f177f3284b5fecc0397bf29a605b37df0. *** Reason for rollback *** Breaks the CI: http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/1270/console *** Original change description *** Adds support for pushing sites that don't need build, and build benchmark site. This should not affect CI for now. -- PiperOrigin-RevId: 147572787 MOS_MIGRATED_REVID=147572787
* Rollback of commit 60b525597bf7aafdec99ea51c7f82ce5801b4725.Gravatar Dmitry Lomov2017-02-14
| | | | | | | | | | | | | | *** Reason for rollback *** Follow-up for CI breakage. *** Original change description *** Fix bazel build on CI. -- PiperOrigin-RevId: 147475894 MOS_MIGRATED_REVID=147475894
* Rollback of commit 01aa7d6f177f3284b5fecc0397bf29a605b37df0.Gravatar Dmitry Lomov2017-02-14
| | | | | | | | | | | | | | | *** Reason for rollback *** Breaks the CI: http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/1270/console *** Original change description *** Adds support for pushing sites that don't need build, and build benchmark site. This should not affect CI for now. -- PiperOrigin-RevId: 147474775 MOS_MIGRATED_REVID=147474775
* Fix bazel build on CI.Gravatar Yue Gan2017-02-14
| | | | | | -- PiperOrigin-RevId: 147470288 MOS_MIGRATED_REVID=147470288
* Adds support for pushing sites that don't need build, and build benchmark site.Gravatar Yue Gan2017-02-14
| | | | | | | | This should not affect CI for now. -- PiperOrigin-RevId: 147346229 MOS_MIGRATED_REVID=147346229
* Move debian package building into its own package. Gravatar John Cater2017-01-31
| | | | | | | | | | | | | | | As more package options are added, it's confusing that the debian package is generated in scripts/package/BUILD, but scripts/package/debian/ contains the related files (and isn't itself a Bazel package). This change makes the file locations more predictable, and also makes it easier to see what is happening in scripts/packages. -- Change-Id: Id8c445fc164a1a4aa09c52559a5143578cfdea88 Reviewed-on: https://cr.bazel.build/8510 PiperOrigin-RevId: 146003934 MOS_MIGRATED_REVID=146003934
* For the time being, only test building on freebsd Gravatar Klaus Aehlig2017-01-20
| | | | | | | | | | | | The targets //site:jekyll-tree and //scripts/packages currently fail due to the python rules. They will be reenabled, once those are fixed in a released version. -- Change-Id: I54a8bcad87b153e2eb4e86f8e4d76d1d92f00bf9 Reviewed-on: https://cr.bazel.build/8397 PiperOrigin-RevId: 145066780 MOS_MIGRATED_REVID=145066780
* On FreeBSD as well, the sha256 binary is not called sha256sumGravatar Klaus Aehlig2017-01-19
| | | | | | | | -- Change-Id: Ia527ef1616546044e61a103749ff22191b24cb11 Reviewed-on: https://cr.bazel.build/8394 PiperOrigin-RevId: 144963679 MOS_MIGRATED_REVID=144963679
* Do not hard-code path to bash in ci-scripts Gravatar Klaus Aehlig2017-01-19
| | | | | | | | | | ...as they will also be run on platforms with different paths. -- Change-Id: Iaa14e35c4cec3ed927a18b580d4207b0244a6620 Reviewed-on: https://cr.bazel.build/8392 PiperOrigin-RevId: 144960305 MOS_MIGRATED_REVID=144960305
* Debian repository: override section and priority fieldsGravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | | | | | | | | | Those field are not added to the dsc file and reprepro has started failing. Reproducing the whole set-up is almost impossible so I am sending this and will trigger a test release. Also use release label instead of release name so we get the rc number (for some reason this was not included in previous release). Fixes #2256. To be cherry-picked for #2246 -- Change-Id: Ia0b879a24f1288cbbbb843013d41725fb1ddb569 Reviewed-on: https://cr.bazel.build/8032 PiperOrigin-RevId: 142537787 MOS_MIGRATED_REVID=142537787
* Fix release notes in emailsGravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | To be cherry-picked for #2246. -- Change-Id: I50bbd7dc00e4305f36d9a2a3a8841d6d9bcd2bd7 Reviewed-on: https://cr.bazel.build/8034 PiperOrigin-RevId: 142524920 MOS_MIGRATED_REVID=142524920
* Release: refactor the way we keep track of release notesGravatar Damien Martin-Guillerez2016-12-02
| | | | | | | | | | | | | | | | | | | Now the release branch does not contains the release commit anymore. Instead, we regenerate the full release notes each time we have to (release candidate creation and final release). Two side effects: - The date is now showing the date of the operation and no longer the date of the release candidate (so release will be correctly dated) - The release notes show the release candidate number :) Tested: bazel test //scripts/release/... + build README.md -- Change-Id: Ia249bbdc0d6ed240bd969f24aa013f709f9a0a74 Reviewed-on: https://cr.bazel.build/7338 PiperOrigin-RevId: 140841432 MOS_MIGRATED_REVID=140841432
* Do not patch WORKSPACE in the release processGravatar Klaus Aehlig2016-12-02
| | | | | | | | | | | | While we do need changes for certain test to refer to a local copy of android SDKs, we do not want those changes in the environment where we build the release artefacts (in particular the distribution artefact). -- Change-Id: I471a8c23efea389f52cd7b07b8511f69d16b8d3d Reviewed-on: https://cr.bazel.build/7592 MOS_MIGRATED_REVID=140831994
* Bazel release script: fix `gsutil -m`Gravatar Laszlo Csomor2016-11-30
| | | | | | | | | commit f17fb3a816851b9f3a954c881e3fbc35bed5d6a6 added the `-m` in the wrong location, causing the gsutil command to fail, e.g. http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel-Release/87/console -- MOS_MIGRATED_REVID=140589924
* Bazel release script: run `gsutil cp` in parallelGravatar Laszlo Csomor2016-11-24
| | | | | | | | | | | | | Run the command with the `-m` option so gsutil will copy files in parallel. Suggested by gsutil itself http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel-Release/83/console (look for "NOTE: You are performing a sequence of gsutil operations") -- MOS_MIGRATED_REVID=140119304
* Fix pattern matching for the dist archiveGravatar Klaus Aehlig2016-11-23
| | | | | | | -- Change-Id: I4d4b7d84b105061d1555da7f7144f310dde38cc8 Reviewed-on: https://cr.bazel.build/7512 MOS_MIGRATED_REVID=140025107
* compile_windows.sh: Fix zipping Windows Bazel binaryGravatar Yun Peng2016-11-18
| | | | | -- MOS_MIGRATED_REVID=139573133
* compile_windows.sh: Remove .exe extension when copying ./bazel-bin/src/bazelGravatar Yun Peng2016-11-18
| | | | | -- MOS_MIGRATED_REVID=139572117
* Remove --workspace_status_command from windows bootstrapGravatar Yun Peng2016-11-18
| | | | | | | On Windows, passing a shell script to this command will lead to a crash. -- MOS_MIGRATED_REVID=139570957
* Fix JAVA_HOME format on WindowsGravatar Yun Peng2016-11-18
| | | | | | | fixed https://github.com/bazelbuild/bazel/issues/2102 -- MOS_MIGRATED_REVID=139562049
* compile_windows.sh: use ${BOOTSTRAP_BAZEL}Gravatar Klaus Aehlig2016-11-17
| | | | | | | | | | | ...as compile.sh from a plain checkout won't work in the future (an unpacked distribution archive would be necessary, but using the bootstrap bazel is easier for CI). -- Change-Id: I186a9422bb1a092ced7396f396a8a158aa67e0f4 Reviewed-on: https://bazel-review.googlesource.com/#/c/7352 MOS_MIGRATED_REVID=139458547
* Use SHA256 as digest algorithm when signing bazel debian packagesGravatar Yun Peng2016-11-15
| | | | | | | Fixed https://github.com/bazelbuild/bazel/issues/1611 -- MOS_MIGRATED_REVID=139190088
* Only install bazel-distfile.zip on linuxGravatar Klaus Aehlig2016-11-11
| | | | | | | | | | | ...since we only build it on this architecture. And as it is an architecture-independent artifact anyway, it is enough to build it once. -- Change-Id: I31a108154d20a190260ca5842947b6319d434735 Reviewed-on: https://bazel-review.googlesource.com/#/c/7333 MOS_MIGRATED_REVID=138859209
* Add the distribution artifact to the list of release filesGravatar Klaus Aehlig2016-11-11
| | | | | | | -- Change-Id: I09053cbd476e5f8bb5bdb9f272ad414d165f6d9f Reviewed-on: https://bazel-review.googlesource.com/#/c/7131 MOS_MIGRATED_REVID=138855685
* Remove all node specific set-up from the Windows CI compile scriptGravatar Damien Martin-Guillerez2016-11-11
| | | | | | | | | Those set-up have been moved to the Jenkins job or simply removed. -- Change-Id: Ib687ad4ab682d81f94ea2eadacf3d145c9fcfe14 Reviewed-on: https://bazel-review.googlesource.com/7332 MOS_MIGRATED_REVID=138789683
* On ci, bootstrap from a bootstrap bazelGravatar Klaus Aehlig2016-11-10
| | | | | | | | | | | | | | With the implementation of the distribution-artifact design, calling ./compile.sh on a git checkout won't work any more unless you already have the correct version of the protoc installed. To prepare for that, and to also keep the maintenance burden for the ci slaves low, we build bazel on the ci machines with the latest release of bazel as bootstrap bazel. -- Change-Id: I18953489cc7282586d6d0a3911ec94e11215a540 Reviewed-on: https://bazel-review.googlesource.com/#/c/6771 MOS_MIGRATED_REVID=138761693
* Remove bazel windows tests from Bazel bootstrap jobGravatar Yun Peng2016-11-08
| | | | | -- MOS_MIGRATED_REVID=138389908
* Also mention the release key id in the release notesGravatar Klaus Aehlig2016-10-28
| | | | | | | | | | ...as quite some users are more used to downloading keys from key servers. -- Change-Id: I6bb60a618d50c7c70561eb5851932153c470e3d2 Reviewed-on: https://bazel-review.googlesource.com/#/c/6934 MOS_MIGRATED_REVID=137526194
* Add zip file of Windows binary into release processGravatar Yun Peng2016-10-28
| | | | | -- MOS_MIGRATED_REVID=137503749
* Change our URL to bazel.buildGravatar Damien Martin-Guillerez2016-10-28
| | | | | -- MOS_MIGRATED_REVID=137500893