aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci
Commit message (Collapse)AuthorAge
* Make Windows build failure UNSTABLE instead of FAILURE.Gravatar Dmitry Lomov2016-06-02
| | | | | -- MOS_MIGRATED_REVID=123862681
* Remove the setting of APT gpg key pathGravatar Yun Peng2016-05-25
| | | | | | | | | | It should be put into the deploy slave configuration in BUILD file. Also the APT gpg key id. -- Change-Id: I3d61bd1998bd282e74ba00867f46e60f93c69b6a Reviewed-on: https://bazel-review.googlesource.com/#/c/3708 MOS_MIGRATED_REVID=123195119
* Push documentation to GCS instead of Github pages.Gravatar Damien Martin-Guillerez2016-05-25
| | | | | | | | | | | | | | | | www.bazel.io is now served from GCS and this change archive the site on CI and adds a function to do the push to GCS. Another change to github pages is needed to redirect http://bazel.io to http://www.bazel.io and a change to ci.bazel.io to add the job that calls the added method. Moving towards #47. -- MOS_MIGRATED_REVID=123126457
* Create APT repository for Bazel during release processGravatar Yun Peng2016-05-25
| | | | | | | -- Change-Id: I1a817ebcd5a7ea644f6566f92d209548948679af Reviewed-on: https://bazel-review.googlesource.com/#/c/3702 MOS_MIGRATED_REVID=123124232
* Re-enable a test on Windows.Gravatar Dmitry Lomov2016-05-11
| | | | | -- MOS_MIGRATED_REVID=122031687
* Remove running tests on Windows bot.Gravatar Dmitry Lomov2016-04-27
| | | | | | | | Fixing uncovered issues takes longer than expected: diabling tests to reduce CI noise. -- MOS_MIGRATED_REVID=120898842
* Windows build: propagate retCode from tests.Gravatar Dmitry Lomov2016-04-25
| | | | | | | Helps with #1182. -- MOS_MIGRATED_REVID=120695171
* Failing tests on Windows shouldn't fail the build.Gravatar Dmitry Lomov2016-04-25
| | | | | | | Helps with #1182. -- MOS_MIGRATED_REVID=120686181
* Run our first test on Windows.Gravatar Dmitry Lomov2016-04-22
| | | | | -- MOS_MIGRATED_REVID=120545193
* Refactor JDK 7 build to use the vendored version of itGravatar Damien Martin-Guillerez2016-04-20
| | | | | | | | | | | | | Along the path, fix the build for JDK 7 and get rid of most ugliness in the JDK 7 build. Now simply setting JAVA_VERSION to 1.7 will build a JDK 7 compatible version. Fixes #1159. -- Change-Id: I9599283844a57d9e053f12d37445907f22a9232e Reviewed-on: https://bazel-review.googlesource.com/#/c/3452 MOS_MIGRATED_REVID=120332747
* Fixed bugs blocking bazel shell test on WindowsGravatar Yun Peng2016-04-20
| | | | | | | -- Change-Id: I6a2f9026fda578905ccb72b317223eaca16b882b Reviewed-on: https://bazel-review.googlesource.com/#/c/3440 MOS_MIGRATED_REVID=120228541
* Rollback of commit 6cb8d820689ad029a9d0dc4ee1100db9b2d96515.Gravatar Damien Martin-Guillerez2016-04-14
| | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks ci.bazel.io While the basics for fixing the build is easy (just a few typos in packages building), fixing the test is a bit more tricky. I see only one solution for fixing the test: use a select statement that would select the good bazel version but that would always pull JavaBuilder as an external dependency when we do test. Better roll this back then check the JavaBuilder 0.1.0 as a binary in third_party before rolling forward (a similar change is still needed to decouple running the test and building the binary for JDK 7) *** Original change description *** Refactor build for JDK 7 Now the JDK 7 tuning happens all in Bazel, removing logic from the CI script. It uses remote repositories to access JDK 7 dependencies. -- MOS_MIGRATED_REVID=119773123
* Refactor build for JDK 7Gravatar Damien Martin-Guillerez2016-04-13
| | | | | | | | | | | Now the JDK 7 tuning happens all in Bazel, removing logic from the CI script. It uses remote repositories to access JDK 7 dependencies. -- Change-Id: Iff590c6642ca5b2343aa15096f8fd837d1c80787 Reviewed-on: https://bazel-review.googlesource.com/#/c/3327 MOS_MIGRATED_REVID=119634530
* Make the Windows tempdir default to something under the CI directory and ↵Gravatar Lukacs Berki2016-02-24
| | | | | | | | | explicitly create it. Turns out, mktemp doesn't like being passed a non-existent directory. -- MOS_MIGRATED_REVID=115454169
* Update compile_windows scripts to the MSYS64 location hardcoded into Chocolatey.Gravatar Lukacs Berki2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115207057
* Add continuous integration scripts for Windows.Gravatar Lukacs Berki2016-02-22
| | | | | | | | | Jenkins setup is not done yet, but it appears doable. Work towards #927. -- MOS_MIGRATED_REVID=115059680
* Fix installer under OS XGravatar Damien Martin-Guillerez2016-01-11
| | | | | | | | | The installer was missing the StdRedirect.dylib after a recent change. This was breaking the Tutorial job on ci.bazel.io (and iOS builds using that installer). -- MOS_MIGRATED_REVID=111855462
* Use openjdk7 as dependency for debian package of jdk7 flavorGravatar Damien Martin-Guillerez2016-01-07
| | | | | | | Fixes #752. -- MOS_MIGRATED_REVID=111614541
* release process: Fix _ in the index files of release candidatesGravatar Damien Martin-Guillerez2015-11-25
| | | | | | | Manually tested with `source scripts/ci/build.sh; create_index_html rc2` where rc2 is the folder from 0.1.2rc2. -- MOS_MIGRATED_REVID=108630774
* Introduce debian and tar packaging rulesGravatar Damien Martin-Guillerez2015-10-09
| | | | | | | | | | | This refactor a bit the docker rules to reuse the tarball construction. Also introduce the debian archive for the release process. RELNOTES[NEW]: Debian and tar packaging is now supported (see tools/build_defs/pkg/README.md). -- MOS_MIGRATED_REVID=105053604
* [ci] Do not exit on successGravatar Damien Martin-Guillerez2015-10-05
| | | | | | | | | | | Before, CI was exiting when an exit code of 0 was returned, failing to build the installer script. Tested with `bash -c 'source scripts/ci/build.sh; bazel_build output/ci'` and checking output/ci for the installer. -- MOS_MIGRATED_REVID=104647177
* Fix Java 7 test suiteGravatar Damien Martin-Guillerez2015-10-02
| | | | | | | | | | | | | - Prevent test from JavaBuilder to be run (mark them as JDK8 only). - Hack to replace the JavaBuilder target so that test that needs JavaBuilder will depends on the pre-built binary version. Tested: bash -c 'export JAVA_VERSION=1.7; source scripts/ci/build.sh; bazel_build' (and verified that there is no build failure). We might still have failing tests (worker and runfiles) but the failure seems like flakiness. -- MOS_MIGRATED_REVID=104504123
* [ci] Do not fail on test failureGravatar Damien Martin-Guillerez2015-10-02
| | | | | | | | | | | Instead set a BUILD_UNSTABLE=1 environment variable such as a subsequent change to Jenkins can mark our build as unstable instead of failed when we have test flakiness. This would also allow to test the Tutorial with flaky builds. -- MOS_MIGRATED_REVID=104501213
* Fix our Java 7 buildGravatar Damien Martin-Guillerez2015-10-02
| | | | | | | | | | | | | | | | | | - Follow redirects when downloading files: The github provided file lies after several redirect, giving a bad jars (see http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/144/console). - Remove building tools as part of the determinism tests: With recent update, JavaBuilder can no longer be built with Java 7, so we use a pre-built binary from version 0.1.0. However, the determinism test was still using it as a point of comparison. Removing tools from the determinism test prevent building JavaBuilder without giving up on testing actual determinism (building Bazel already contains all the edge-cases). Tested with `bash -c 'export JAVA_VERSION=1.7; source scripts/ci/build.sh; bazel_build'` -- MOS_MIGRATED_REVID=104480161
* Fix build for JDK 7Gravatar Damien Martin-Guillerez2015-10-01
| | | | | | | | | The latest update of javac broke JDK 7 because we were using a JavaBuilder that is not synced with the javac. Fix it by using javac from our 0.1.0 release. -- MOS_MIGRATED_REVID=104431158
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Requires JDK 8Gravatar Damien Martin-Guillerez2015-09-15
| | | | | | | | | | | | This change deprecate JDK 7 as JavaBuilder follow changes in Java 9 and might use Java 8 features. We will maintain a build with the JDK 7 as long as possible but this build won't include updates in JavaBuilder. RELNOTES[INC]: Bazel requires JDK 8 to run. -- MOS_MIGRATED_REVID=103069207
* Allow CI to run the build script without storing the output artifactsGravatar Damien Martin-Guillerez2015-09-15
| | | | | | | | This a first step toward supporting platform that does not requires to generate released artifacts. -- MOS_MIGRATED_REVID=102999025
* Add the filename to SHA256 filesGravatar Damien Martin-Guillerez2015-09-11
| | | | | | | Fixes #440 -- MOS_MIGRATED_REVID=102739492
* Fix release to github scriptGravatar Damien Martin-Guillerez2015-09-09
| | | | | | | | | | | github-release actually takes a glob, not a list of file and tmpdir was not global so because errexit was set it leads to the job failing. Tested by simulating a release environment on my machine but we cannot fully test it until the next release. -- MOS_MIGRATED_REVID=102642172
* Remove BUILD.glob and incorporate the necessary filegroups into the ↵Gravatar Lukacs Berki2015-09-08
| | | | | | | | | android_{ndk,sdk}_repository rules themselves. This is to that the Android tests also work on OS X (otherwise, we'd end up creating a file called "BUILD" in its root, which doesn't work, because it already has a directory called "build") -- MOS_MIGRATED_REVID=102484286
* Setup the ci build to test also Android tests when availableGravatar Damien Martin-Guillerez2015-09-04
| | | | | | | | | | | | With this script, the easiest way to run the test suite is now: bash -c "export ANDROID_SDK_PATH=$HOME/bin/android-sdk-linux; \ export ANDROID_NDK_PATH=$HOME/bin/android-ndk-r10e; \ source ./scripts/ci/build.sh; \ bazel_build output/ci" -- MOS_MIGRATED_REVID=102334239
* Change URLs to bazelbuildGravatar Kristina Chodorow2015-09-01
| | | | | -- MOS_MIGRATED_REVID=102022958
* Renamed the installer to bazel-$VERSION-installer-$PLATFORM.shGravatar Damien Martin-Guillerez2015-08-31
| | | | | -- MOS_MIGRATED_REVID=101929112
* CI scripts: another fix after moving from .ci/ to scripts/ciGravatar Damien Martin-Guillerez2015-08-18
| | | | | -- MOS_MIGRATED_REVID=100915378
* CI scripts: fix path to common.shGravatar Damien Martin-Guillerez2015-08-17
| | | | | | | | Moving it to scripts/ci let that unchanged and that results in an error in the CI system. -- MOS_MIGRATED_REVID=100825881
* Tweak CI script to not run tests tagged as manual.Gravatar Erik Kuefler2015-08-17
| | | | | | | -- Change-Id: I424db210611f94b986eda872626a97415221fcea Reviewed-on: https://bazel-review.googlesource.com/1800 MOS_MIGRATED_REVID=100806076
* CI scripts for the release processGravatar Damien Martin-Guillerez2015-08-17
| | | | | | | | | | | | | | It provides method to build, package and deploy artifacts, as well as constructing announcement mails: - bazel_build build bazel with the good label, execute the tests, build the packages and copy the artifacts into a release directory. - bazel_release deploy the relase to GCS and Github and send an announcement mail. -- Change-Id: I68f5a600c0718fac5fa12423d1cb8e0cc86728b5 Reviewed-on: https://bazel-review.googlesource.com/#/c/1811 MOS_MIGRATED_REVID=100805636
* Add --noshow_progress when performing queries in the CI script.Gravatar Erik Kuefler2015-07-27
| | | | | | | | | | Progress messages here mostly consist of package loading messages that aren't very interesting in this context. -- Change-Id: Ifee2ce5979ea47eb06cff199670fc5ed2218c139 Reviewed-on: https://bazel-review.googlesource.com/#/c/1730/ MOS_MIGRATED_REVID=99163320
* Update CI script to build against a common ancestor of origin/master and HEADGravatar Thomas Broyer2015-06-29
| | | | | | | | | | Also give advice for some changes to make to the script depending on the environment and events triggering the script. -- Change-Id: Ic230d96c29785c8df392b72fc4809eb7703fafff Reviewed-on: https://bazel-review.googlesource.com/#/c/1570/ MOS_MIGRATED_REVID=97118314
* Create an example script for CI servers.Gravatar Andrew Z Allen2015-06-26
This script looks at the files changed in git against origin/master and queries for all build and test targets associated with those files. Running this script on a CI server should allow you to only test the things that have changed since the last time your merged. -- Change-Id: I30d33e21eff370b795e1055c7150906f2a6782cd Reviewed-on: https://bazel-review.googlesource.com/#/c/1470 MOS_MIGRATED_REVID=96849243