aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci
Commit message (Collapse)AuthorAge
* 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