aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
Commit message (Collapse)AuthorAge
...
* CI: Add def parser test into Windows testsGravatar pcloudy2017-08-31
| | | | | RELNOTES: None PiperOrigin-RevId: 167132537
* Clean up NO_MSVC_WRAPPER flagGravatar Yun Peng2017-08-28
| | | | | | | This flag no longer exists after MSVC-less CROSSTOOL became default. Change-Id: I015c3c03c72d15c0efe00f48e923a2d54876b1b2 PiperOrigin-RevId: 166680678
* Increase size of //src/test/shell/integration:java_integration_testGravatar Klaus Aehlig2017-08-25
| | | | | | | | | | | ...and re-enable of FreeBSD. It turns out that the timeout-flakyness was just because the CI machines weren't fast enough. Running the test 150 times showed no further timeout. Fixes #3614. Change-Id: Icdf2f91b1fe91e22117c3cf6d3fda9409d473198 PiperOrigin-RevId: 166470850
* Shard docker-testsGravatar dmarting2017-08-25
| | | | | | | | This divide the docker tests in 2 parts (with the current build file it is 6 per jobs) and each configuration can now be run on different worker. Issue bazelbuild/continuous-integration#98 PiperOrigin-RevId: 166469254
* Support BUILD.bazel in the autocomplete scriptGravatar Ian Cottrell2017-08-24
| | | | | | | | This adds support for BUILD.bazel in the bash auto completion script. Closes #3604. PiperOrigin-RevId: 166317130
* Add a Bazel test testing determinism of `bazel build //src:bazel`Gravatar Damien Martin-Guillerez2017-08-23
| | | | | | | | | - Test if hash(bazel1) == hash(bazel2) This ensure that the build of bazel is a fixed point. Change-Id: I422dfc7ec5b95aa054a2677e59427cbd8cd4ef01 PiperOrigin-RevId: 166180529
* Deactivate //src/test/shell/integration:java_integration_test on FreeBSDGravatar dmarting2017-08-23
| | | | | | This test is timeout flaky, deactivating. PiperOrigin-RevId: 166180421
* Update javac version to 9-dev-r4023-3Gravatar Liam Miller-Cushon2017-08-22
| | | | | Change-Id: If9373f81193050009432759da6299f1382e587ec PiperOrigin-RevId: 165994437
* Fix osx_cc_wrapper.sh for multiple rpathsGravatar Marcel Hlopko2017-08-18
| | | | | | | | | | | | | | osx_cc_wrapper.sh was not working correctly in cases when multiple rpaths were specified on linking command line. This cl modifies the wrapper to record all rpaths, and use the rpath that corresponds to a particular library when updating libraries install name. Fixes #3450 RELNOTES: None. Change-Id: I614694a792b6724a1db9814ee25af1802560c463 PiperOrigin-RevId: 165618946
* Update files attribute on pkg_tar.Gravatar John Cater2017-08-10
| | | | | Change-Id: I37bb40cae9d8a6ca99460df83b33541972926766 PiperOrigin-RevId: 164726294
* Remove non-existent target from IntelliJ config.Gravatar John Cater2017-08-10
| | | | | Change-Id: Id31ff0fcf72388fe1e5697b57e67385c6c27824b PiperOrigin-RevId: 164720069
* Fix typo in the chocolatey generation scriptGravatar hlopko2017-08-09
| | | | | | | | It's releases.bazel.build where we share the release candidates, not release.bazel.build. RELNOTES: None. PiperOrigin-RevId: 164694701
* Make tests more portableGravatar Klaus Aehlig2017-08-04
| | | | | | | | | By replacing uses of /bin/bash by /bin/sh, a tool which is more reliably at this location. Then, enable most of the bazel tests for FreeBSD as well. Change-Id: Ic56a1705858f1ed67d1e96e2937e9389dd1d0e36 PiperOrigin-RevId: 164241635
* Don't run bazel_windows_example_test with MSYS toolchain anymore.Gravatar pcloudy2017-07-31
| | | | | | | Instead just using a //examples/cpp:hello-world to make sure the MSYS toolchain doesn't regress. RELNOTES: None PiperOrigin-RevId: 163676783
* Adjust chocolatey package for new artifact namesGravatar Peter Mounce2017-07-31
| | | | | | Closes #3466. PiperOrigin-RevId: 163459450
* Release script: remove non-needed `xargs echo`Gravatar dmarting2017-07-28
| | | | | | They are the root cause of #3459. PiperOrigin-RevId: 163392890
* Replace create_embedded_tools.sh with a faster Python version.Gravatar Philipp Wollermann2017-07-28
| | | | | | | | | This is functionally equivalent, but ~30x faster on Windows, ~2x faster on macOS and ~1.5x faster on Linux. RELNOTES: None. Change-Id: Ib4a7e10400a3955e47772425acfce2d9530de462 PiperOrigin-RevId: 163346634
* bazel-tests.json: remove trailing commaGravatar Klaus Aehlig2017-07-27
| | | | | | | Trailing commas are not part of the JSON specification. Change-Id: Icbfc072b448e422a3cdb7fd827fbfb392611d344 PiperOrigin-RevId: 163331760
* Use the .bazel.build URL instead of the googleapis.com oneGravatar dmarting2017-07-27
| | | | PiperOrigin-RevId: 163326705
* CI build.sh: delete unused codeGravatar Damien Martin-Guillerez2017-07-27
| | | | | | | This code was replaced by code on the CI side where it belongs. Change-Id: I67741f27aee5f133fe29f8e1d57b843d96f3f9ea PiperOrigin-RevId: 163320045
* Move the configuration file for Bazel jobs to our own repositoryGravatar Damien Martin-Guillerez2017-07-27
| | | | | | | | | | This will allow to update the file that explains how to build and test Bazel at the same time that Bazel evolves. Fixes bazelbuild/continuous-integration#99 Change-Id: I2ab8641a6eb5d8cf7ea95667bd6b3af42be5a420 PiperOrigin-RevId: 163320005
* Force fetch when fetching remote release notesGravatar dmarting2017-07-26
| | | | | | | | If the release note locally are totally different, they will failed to fetch and we want to consider the remote as the source of truth rather than the local. Fixes #3447. PiperOrigin-RevId: 163202815
* Use the correct function to generate the release notesGravatar Damien Martin-Guillerez2017-07-26
| | | | | | | To be cherry-picked for #3375 Change-Id: I81e3660d1e01935101a19d75e1a696296df1941d PiperOrigin-RevId: 163202698
* Create Windows ZIP release artifact using BazelGravatar Damien Martin-Guillerez2017-07-25
| | | | | | | | | | | | The new pipeline does not support ziping artifact which was a custom hack for Windows, relies on Bazel to generate those zip instead. Step forward fixing bazelbuild/continuous-integration#101 To cherry-pick for #3375. Change-Id: Id566d66bb179096d60c5b535f245d64cea28c5b8 PiperOrigin-RevId: 163054883
* Automated rollback of commit 820a46af10808396873c36d0f331e533118cf0c6.Gravatar dmarting2017-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Now the new jenkins pipeline has been rolled forward we actually needs that change To cherry-pick for #3375 *** Original change description *** Automated rollback of commit 6d6e87297fe8818e4c374fdfabfbcf538bca898a. *** Reason for rollback *** Does not work so well, see https://storage.googleapis.com/bazel/0.5.3/rc1/index.html *** Original change description *** Release script: generate the index.html from the commit message Do not rely on the README.md anymore, because it relies on log still existing forever on Jenkins. Incoming change will just provides the log as a file that will be archived on GCS. PiperOrigin-RevId: 162950464
* Don't build MSYS Bazel anymoreGravatar pcloudy2017-07-24
| | | | | | | This is the first CL to remove MSYS Bazel. RELNOTES: PiperOrigin-RevId: 162731750
* Add more of our common targets to the IJWB project file.Gravatar Philipp Wollermann2017-07-19
| | | | | | | | | | | | This will make it easier to work on Bazel's core tools like buildjar, singlejar and the JUnit test runner. Also correctly mark their tests as test code in the project. RELNOTES: None. Change-Id: Id79810b4c78b73d92b9c01b1d33f77b7504eab3d PiperOrigin-RevId: 162472964
* generate_bash_completion.sh: add explict end-of-options for exprGravatar aehlig2017-07-19
| | | | | | | | | Some implementations of expr(1) get confused if the first argument is not an option argument but starts with a minus sign. To make this script more portable, add an explict '--' argument, signaling "end of options", which seems to be understood by most implementations. PiperOrigin-RevId: 162349479
* Automated rollback of commit 6d6e87297fe8818e4c374fdfabfbcf538bca898a.Gravatar dmarting2017-07-18
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Does not work so well, see https://storage.googleapis.com/bazel/0.5.3/rc1/index.html *** Original change description *** Release script: generate the index.html from the commit message Do not rely on the README.md anymore, because it relies on log still existing forever on Jenkins. Incoming change will just provides the log as a file that will be archived on GCS. Change-Id: Ib962c249145d222bf9909070698c5d419b34db4c PiperOrigin-RevId: 162321172
* Release script: generate the index.html from the commit messageGravatar Damien Martin-Guillerez2017-07-14
| | | | | | | | | Do not rely on the README.md anymore, because it relies on log still existing forever on Jenkins. Incoming change will just provides the log as a file that will be archived on GCS. Change-Id: Ib962c249145d222bf9909070698c5d419b34db4c PiperOrigin-RevId: 161804017
* Allow Debian package to be installed alongside JDK 9Gravatar Thomas Broyer2017-07-10
| | | | | | | | | Update the documentation to instruct explicitly installing JDK 8. Fixes #3147 Change-Id: If92ff93b095bead043c9b069e000b7afbc0abca0 PiperOrigin-RevId: 161387193
* build_windows_jni.sh: move file to subdirectoryGravatar Laszlo Csomor2017-07-05
| | | | | | | | | | | | | The script more logically belongs in src/main/native/windows than in src/main/native. Also move the //src/main/native:windows_jni rule into //src/main/native/windows:windows_jni, so the logic of building the JNI library is fully contained in that package. Change-Id: I96e19003932cc0ddc5af3471b0b31a1aec09b8fa PiperOrigin-RevId: 160876594
* Bazel, bootstrap: fix JNI build errorsGravatar Laszlo Csomor2017-06-29
| | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/3292 Change-Id: I67db893c36067b950303d2b131b925dce974d7d1 PiperOrigin-RevId: 160529960
* zsh completion: discard progress from internal bazel invocationsGravatar Klaus Aehlig2017-06-29
| | | | | | | | | When computing completion options, bazel has to be called. For those calls, discard the progress output (on stderr) to avoid them messing up the terminial. Fixes #2279. Change-Id: Ic1536058a44dac687ad59042ec56af50a4125f3b PiperOrigin-RevId: 160525601
* Windows: Bootstrap Bazel with wrapper-less CROSSTOOLGravatar pcloudy2017-06-29
| | | | | RELNOTES: None. PiperOrigin-RevId: 160482939
* Bazel moved to Java 8.Gravatar philwo2017-06-29
| | | | | | Happy dance \o/ PiperOrigin-RevId: 160412092
* Minor Bash improvementsGravatar Androbin2017-06-27
| | | | | | | | | | | | | | | | | Based on output of static analysis tool. https://github.com/koalaman/shellcheck/wiki/SC2166 https://github.com/koalaman/shellcheck/wiki/SC2207 https://github.com/koalaman/shellcheck/wiki/SC2145 https://github.com/koalaman/shellcheck/wiki/SC2001 https://github.com/koalaman/shellcheck/wiki/SC2129 https://github.com/koalaman/shellcheck/wiki/SC2128 https://github.com/koalaman/shellcheck/wiki/SC2004 https://github.com/koalaman/shellcheck/wiki/SC2048 Closes #3162. PiperOrigin-RevId: 160261247
* Single quote the release messageGravatar Damien Martin-Guillerez2017-06-27
| | | | | | | | | | Double quoting make bash interpret the backquote and bazel is not on the path of the resulting process, showing error on the console. To cherry-pick for #3086. Change-Id: I15a4cdbd349300c87bd90d56ecb8df63ecf62dfb PiperOrigin-RevId: 160250275
* Remove jdk7 variant of the APT repositoryGravatar Damien Martin-Guillerez2017-06-27
| | | | | | | To cherry-pick for #3086. Change-Id: I05db2aef04a7cd6cec22c918f00e4b47bae3a1f4 PiperOrigin-RevId: 160249482
* Include all directories in ij.bazelproject.Gravatar Philipp Wollermann2017-06-22
| | | | | | | | Without this change you can't work on any code that's not in src/{main,test} in IntelliJ, e.g. tools like the remote_worker. Closes #3224. PiperOrigin-RevId: 159812248
* Use getopt to parse process-wrapper's command-line.Gravatar philwo2017-06-22
| | | | | | | | This will allow us to add new and optional flags like selecting a strategy used to spawn / wait for the child process. No one except Bazel should be calling "process-wrapper" and I couldn't find any references, so this breaking change should be fine. PiperOrigin-RevId: 159685867
* Windows, bootstrapping: fix bootstrap_testGravatar Laszlo Csomor2017-06-14
| | | | | | | | | | | | | | | Compute the --host_jvm_args for the bazel.windows_unix_root JVM flag on Windows. After commit 9c54e2a764f0ddd2d3787aade1c530c5f43bd26c it's the Bazel client's job to compute this JVM flag and pass to the server, but during bootstrapping we run Bazel in a client-less mode. Fixes https://github.com/bazelbuild/bazel/issues/3186 Change-Id: I2facfdef7d301d8a96213b488728e3ae6aec1c33 PiperOrigin-RevId: 158972256
* In the default bazelrc use experimental UI and target pattern evaluatorGravatar Klaus Aehlig2017-06-14
| | | | | | | | | | | | | | | In the bazelrc we ship with our packages and recommend other package maintainers to use, enable the experimental_skyframe_target_evaluator and experimental_ui by default. Also set show_progress_rate_limit to a value that fits with the experimental UI. We plan to switch to those values as default (Issue #3187), and by setting apropriate defaults in the rc-file, we encourage users to test those settings while giving the possibility to easily roll back, should any problems arise. Change-Id: I456a5a34158541151a0bff61f3039b3d7e2d61b0 PiperOrigin-RevId: 158970147
* Fix paths in Bazel docs, removing references to versions/master.Gravatar dzc2017-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up to https://github.com/bazelbuild/bazel/commit/22b85a2a3c79c6f3aef1e0a61e485bb135be4551. This change updates paths and URLs to Bazel docs, removing the versions/master directory and changing bazel.build/docs to docs.bazel.build. For clarification on the convention of the docs site, links referencing docs.bazel.build/foo.html will be redirected to docs.bazel.build/versions/master/foo.html. The versions/master directory will contain the documentation pages pushed from HEAD. Once versioned documentation is ready, then docs.bazel.build/foo.html will instead be redirected to docs.bazel.build/x.y.z/foo.html, where x.y.z is the directory for the latest stable Bazel version. Follow-ups to this change: * Add script that will be used by the daily push job that pushes the latest documentation from HEAD to docs.bazel.build. This script will do the following: * Build the Jekyll tree, run jekyll build, and modify the resulting site tree, moving the docs/ directory into versions/master. * Add redirects for each of the site pages from the root of the site to the corresponding page in versions/master. * This should give us the minimum viable product for the new docs site. * Add script for cutting a release of the docs and pushing to a new versioned directory on the docs.bazel.build bucket. RELNOTES: None PiperOrigin-RevId: 158347197
* Windows, CI: print the version of BOOTSTRAP_BAZELGravatar László Csomor2017-06-07
| | | | | | | | | | | | This will help diagnose https://github.com/bazelbuild/bazel/issues/2977, which I believed to have been fixed by the release of 0.5.0, however it seems to have failed once more with 0.5.0, alas without knowing the actual bootstrap bazel's version I cannot be sure. Change-Id: I71e100c549b4ef30699efe6363b72eb792ad1c23 PiperOrigin-RevId: 158243584
* Chocolatey install: fix script. problem onGravatar Peter Mounce2017-06-06
| | | | | | | | reading. Closes #2794. PiperOrigin-RevId: 158117701
* Restructure site/ directory into docs/ which only contains Bazel documentation.Gravatar dzc2017-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The new docs/ directory in the bazel source tree will only contain the Bazel docs site, which is hosted at docs.bazel.build. This change deletes the marketing site and blog, which have been migrated to the bazel-website and bazel-blog GitHub repositories respectively. This change also updates the serve-docs.sh and ci/build.sh under scripts/ in preparation for publishing the docs site. Note that to help make reviews more manageable, this change is limited to moving files to their new locations. Here are the follow-up changes: * Update all links in docs to remove versions/master in paths and to add correct bazel.build subdomain when linking to pages on the marketing site or the blog. * Set up versioned directories on GCS bucket and add tooling for versioning docs This change is also coordinated with https://bazel-review.googlesource.com/c/11568/ to have the PublishSite job publish to docs.bazel.build rather than www.bazel.build. Issue #2397 RELNOTES: None PiperOrigin-RevId: 157612651
* Update grpc-java to 1.3.0, netty to 4.1.8.FinalGravatar Jakob Buchgraber2017-05-31
| | | | | Change-Id: I24e44ce87f5e042ddddb4cdbdcdd118a2d30a5eb PiperOrigin-RevId: 157573075
* Fix typo: s/exists/exist/ where needed.Gravatar philwo2017-05-31
| | | | | RELNOTES: None. PiperOrigin-RevId: 157572063
* Windows: ignore envvars with degenerate namesGravatar Laszlo Csomor2017-05-31
| | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/3077 Change-Id: I5f29fdec1f69bdda51fa62be695b8791a45240e9 PiperOrigin-RevId: 157559455