| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This a first step toward supporting platform that does not requires
to generate released artifacts.
--
MOS_MIGRATED_REVID=102999025
|
|
|
|
|
|
|
| |
Fixes #440
--
MOS_MIGRATED_REVID=102739492
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=102022958
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101929112
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=100915378
|
|
|
|
|
|
|
|
| |
Moving it to scripts/ci let that unchanged and that results in an error
in the CI system.
--
MOS_MIGRATED_REVID=100825881
|
|
|
|
|
|
|
| |
--
Change-Id: I424db210611f94b986eda872626a97415221fcea
Reviewed-on: https://bazel-review.googlesource.com/1800
MOS_MIGRATED_REVID=100806076
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|