aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
Commit message (Collapse)AuthorAge
* Add javac-9-dev-r3297-3Gravatar Liam Miller-Cushon2017-02-22
| | | | | | https://github.com/google/error-prone-javac/archive/9-dev-r3297-3.zip Change-Id: I78b073c8db4a525d19b73650ed8d3a12b10ff86a
* 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
* Make the interface dynamic library builder a regular label instead of a ↵Gravatar Lukacs Berki2017-02-17
| | | | | | | | magic artifact. -- PiperOrigin-RevId: 147830857 MOS_MIGRATED_REVID=147830857
* Export Bazel's LICENSE file using our normal repo sync process.Gravatar Philipp Wollermann2017-02-17
| | | | | | -- PiperOrigin-RevId: 147825291 MOS_MIGRATED_REVID=147825291
* 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
* Github query URL for all bugs sheriff needs to look at.Gravatar Dmitry Lomov2017-02-16
| | | | | | -- PiperOrigin-RevId: 147713590 MOS_MIGRATED_REVID=147713590
* Revert "Add javac-9-dev-r3297-3"Gravatar Damien Martin-Guillerez2017-02-16
| | | | | | | This reverts commit efe4a6d889d6a6f563a1d492530f13351ce4eef7. This commit broke several downstream project with a bug in the Java compiler, see http://ci.bazel.io/job/intellij-clion/78/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/console
* Add javac-9-dev-r3297-3Gravatar Liam Miller-Cushon2017-02-16
| | | | | | https://github.com/google/error-prone-javac/archive/9-dev-r3297-3.zip Change-Id: I173e50f92f93009270c84ba90916e2696501f4de
* 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
* Windows: fix bootstrapping bugs with 0.4.4 Gravatar László Csomor2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix 3 bugs to get bootstrapping working on Windows after it was broken in bazel-0.4.4: * Move the definition of PATHSEP to before the code that overrides it for Windows * Fix the Java code processing the --javahome flag to recognize absolute Windows paths as absolute. See: https://github.com/bazelbuild/bazel/issues/2520 * Do not propagate the JAVA_HOME value in variables, because it contains spaces on Windows, and when we pass the variable to Bazel, and it's expanded to e.g. ... --foo=C:/Program Files, these are interpreted as two args instead of one. Also fix a bug that is just annoying, not causing any trouble (on Windows): * Silently swallow errors from the "rm -rf" in the atexit functions Also do some refactoring: * Rename a variable (BAZEL_ARGS) and a method to indicate they're private. They are not used from anywhere else as far as I know -- no occurrences in either the bazel or the continuous-integration repos. Fixes: https://github.com/bazelbuild/bazel/issues/2473 -- Change-Id: I309752cd7bbff0b5dd683ddb5573f3061350043c Reviewed-on: https://cr.bazel.build/8797 PiperOrigin-RevId: 147345194 MOS_MIGRATED_REVID=147345194
* Add quotes to improve space supportGravatar Alexander Chung2017-02-07
| | | | | | | | | | | These changes addresses issues where Windows users have a space in their username. Allows the default output_base path to be used. Closes #2491. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2491 PiperOrigin-RevId: 146773331 MOS_MIGRATED_REVID=146773331
* Add pkg_rpm build rule to help generating RPM packages. Gravatar John Cater2017-02-06
| | | | | | | | | | RELNOTES: Adds pkg_rpm rule for generating RPM packages. -- Change-Id: I2e83161e29218700bbe7e62186b0b1667e555a7c Reviewed-on: https://cr.bazel.build/8590 PiperOrigin-RevId: 146477490 MOS_MIGRATED_REVID=146477490
* Make the bash completion generation easier to customize per product, take 2.Gravatar Julio Merino2017-02-02
| | | | | | | | | | | Refactor the code to generate the bash completions file by moving the logic to a separate script and keeping the genrule as a dumb invocation of this script. This allows us to more easily customize the rules for Blaze. -- PiperOrigin-RevId: 146362379 MOS_MIGRATED_REVID=146362379
* Rollback of commit 37debf0e532ccba7e9b6e2758b247659d28e905c.Gravatar Florian Weikert2017-02-02
| | | | | | -- PiperOrigin-RevId: 146347158 MOS_MIGRATED_REVID=146347158
* Make the bash completion generation easier to customize per product.Gravatar Julio Merino2017-02-02
| | | | | | | | | | | Refactor the code to generate the bash completions file by moving the logic to a separate script and keeping the genrule as a dumb invocation of this script. This allows us to more easily customize the rules for Blaze. -- PiperOrigin-RevId: 146265210 MOS_MIGRATED_REVID=146265210
* Moved bazelrc and version.txt to scripts/packages to be more effectively shared.Gravatar John Cater2017-02-01
| | | | | | | | -- Change-Id: I8c6d5cdbe9e2fc19ca6a626bea26944efa36e4db Reviewed-on: https://cr.bazel.build/8550 PiperOrigin-RevId: 146120078 MOS_MIGRATED_REVID=146120078
* Bazel bootstrapping: make it work on Windows againGravatar Laszlo Csomor2017-01-31
| | | | | | | | | | | | | | | | | | | | | In this change: (1) add a sanity check to verify that GNU bintools are on the PATH (2) correct the PATH on Windows if (1) failed (3) use "<user>/My Documents/Temp" as the default temp directory instead of "%windir%/Temp", because the latter is non-writable Motivated by: https://github.com/bazelbuild/bazel/issues/2431 https://github.com/bazelbuild/bazel/issues/2449 -- PiperOrigin-RevId: 146006796 MOS_MIGRATED_REVID=146006796
* 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
* Follow-up of commit dbdaf83fe5480179bf65b86421168a5dba0e2198: common.sh was ↵Gravatar Damien Martin-Guillerez2017-01-26
| | | | | | | | | | not exported This also make sure we list cherry-picks with long hash. -- PiperOrigin-RevId: 145724726 MOS_MIGRATED_REVID=145724726
* Fix release scripts by using full hash everywhereGravatar Damien Martin-Guillerez2017-01-26
| | | | | | | | | | | | | Previously we were using short hash for rendering to the user but our repository as grown and on some configuration of git the short hash size has increased. To be future-proof, just remove all usage of short hash and use full hash instead. Fixes #2429. -- PiperOrigin-RevId: 145667804 MOS_MIGRATED_REVID=145667804
* Rollback of commit 96297ed7a9ab3df0f45e93bae9d71833f4195334.Gravatar Damien Martin-Guillerez2017-01-26
| | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Roll-forward with fix *** Original change description *** Automated [] rollback of commit ffc0d2df0213123a4451bed5850827319afcdeee. *** Reason for rollback *** Grr I knew I shouldn't have done 2 changes in one tests are failing now Fixes #2429. *** Original change description *** Release scripts: factor out the push to notes and fix a typo -- PiperOrigin-RevId: 145662713 MOS_MIGRATED_REVID=145662713
* Rollback of commit ffc0d2df0213123a4451bed5850827319afcdeee.Gravatar Damien Martin-Guillerez2017-01-26
| | | | | | | | | | | | | | | | *** Reason for rollback *** Grr I knew I shouldn't have done 2 changes in one tests are failing now Fixes #2429. *** Original change description *** Release scripts: factor out the push to notes and fix a typo -- PiperOrigin-RevId: 145657489 MOS_MIGRATED_REVID=145657489
* Release scripts: factor out the push to notes and fix a typoGravatar Damien Martin-Guillerez2017-01-25
| | | | | | -- PiperOrigin-RevId: 145559628 MOS_MIGRATED_REVID=145559628
* Set JAVA_HOME for every invocation of compile.sh . Gravatar Lukacs T. Berki2017-01-23
| | | | | | | | | | | | This is necessary since it's now passed in --javabase= even if no bootstrap build is requested. Fixes #2384. -- Change-Id: Icc15d9ec174ce9ed82b703c13449d88ec1d936a1 Reviewed-on: https://cr.bazel.build/8408 PiperOrigin-RevId: 145268264 MOS_MIGRATED_REVID=145268264
* Fix bootstrapping in Docker images.Gravatar Lukacs Berki2017-01-20
| | | | | | | | | | | | | | | | | | Turns out, we couldn't run jarjar because the Java launcher script looks for the .jars in the runfiles and build-runfiles is stubbed out during bootstrapping. The only reason why this worked at all is that sandboxing *also* doesn't work during bootstrapping but it causes the creation of symlinks that happened to be just in the right place for the Java launcher to find the .jars . The fix is: - Explicitly disable sandboxing during bootstrapping so that coincidences like this don't happen again - Pass a --javabase and --host_javabase option during the bootstrap build so that we don't need any symlinks to access to JVM - Invoke jarjar using its deploy jar instead of the launcher script. That was fun. -- PiperOrigin-RevId: 145083357 MOS_MIGRATED_REVID=145083357
* Fix regex condition in the bootstrap script.Gravatar Damien Martin-Guillerez2017-01-20
| | | | | | | | Bootstrap is broken at HEAD but that was hidden by another change. -- PiperOrigin-RevId: 145075041 MOS_MIGRATED_REVID=145075041
* 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
* Use regex to match error prone and guava jarGravatar Damien Martin-Guillerez2017-01-20
| | | | | | | | Hard-coding the version is causing difficulties to update error prone, so let's not do it. -- PiperOrigin-RevId: 145061484 MOS_MIGRATED_REVID=145061484
* Avoid hard-coding path to bashGravatar Klaus Aehlig2017-01-19
| | | | | | | | -- Change-Id: Ief0dd31d7b514caaf5ea0108b7c497d42e86da70 Reviewed-on: https://cr.bazel.build/8395 PiperOrigin-RevId: 144966247 MOS_MIGRATED_REVID=144966247
* 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
* Disable turbine for bootstrap buildsGravatar Liam Miller-Cushon2017-01-12
| | | | | | -- PiperOrigin-RevId: 144296949 MOS_MIGRATED_REVID=144296949
* Fix formatting of the release CHANGELOG file Gravatar Damien Martin-Guillerez2017-01-10
| | | | | | | | | | | | | | - Add backquotes around the changelog - Add empty line at the end of the changelog - Enforce the use of the master changelog prior to release Fixes #2281. -- Change-Id: I449f5209a6b05e65411a64ce82ea1d89d60ee4d3 Reviewed-on: https://cr.bazel.build/8044 PiperOrigin-RevId: 144080940 MOS_MIGRATED_REVID=144080940
* Release scripts: add a git note with the cherrypick origin Gravatar Damien Martin-Guillerez2017-01-10
| | | | | | | | | | | | | | | | | | | If the patch-id differ because of merge conflict or subtle adjacent change, the cherrypick origin was missing, resulting in non existent cherrypick lines in the changelog. If the cherrypicks are done by the script, adds the cherrypick origin to a git note and use that origin when generating the release note. Also fallback to the commit hash of the resulting commit if the cherrypick origin cannot be found. Fixes #2272. -- Change-Id: I311bbe777ea82be05f9fba0a658bab075ed1bd97 Reviewed-on: https://cr.bazel.build/8042 PiperOrigin-RevId: 144075867 MOS_MIGRATED_REVID=144075867
* Add script and genrule to build RPM package.Gravatar John Cater2017-01-03
| | | | | | | | | | | | This only builds a development package, further work (and probably a full pkg_rpm rule) will be needed to make a releasable RPM. Closes #2276. -- Change-Id: If307c6143334957a127c7c2fe897009a08e88d5c Reviewed-on: https://github.com/bazelbuild/bazel/pull/2276 PiperOrigin-RevId: 143450212 MOS_MIGRATED_REVID=143450212
* Rollback of commit b7c00d8762d74fb54d0a6b0eb355abc6dc7a97c3.Gravatar Damien Martin-Guillerez2016-12-22
| | | | | | | | | | | | | | *** Reason for rollback *** Does not build: http://ci.bazel.io/job/Bazel/1129/ *** Original change description *** Export dot-format graphs as-is and download dot as an external repo -- PiperOrigin-RevId: 142748151 MOS_MIGRATED_REVID=142748151
* Export dot-format graphs as-is and download dot as an external repoGravatar Kristina Chodorow2016-12-22
| | | | | | -- PiperOrigin-RevId: 142692462 MOS_MIGRATED_REVID=142692462
* Power supportGravatar Nishidha Panpaliya2016-12-21
| | | | | | | | | Closes #2139. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2139 PiperOrigin-RevId: 142570236 MOS_MIGRATED_REVID=142570236
* 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
* WindowsFileSystem: use JNI impl. of isJunctionGravatar Laszlo Csomor2016-12-20
| | | | | | | | | | | | | | | | | | | Also build the JNI library while bootstraping. This was once submitted in commit 4a249b6962d32ed4cfd4165dfdae4a555b00bb69 but got rolled back due to some test breakage that's long since fixed. In this change I'm slightly modifying the original code in compile.sh. Using JNI methods however is necessary because we can't implement WindowsFileOperations.GetLongPath in native Java, and having that code is a prerequisite for the fix of https://github.com/bazelbuild/bazel/issues/2145 See also https://github.com/bazelbuild/bazel/issues/2238 -- PiperOrigin-RevId: 142535019 MOS_MIGRATED_REVID=142535019
* Revert "Revert "Fix scripts/packages/convert_changelog to read the changelog ↵Gravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | | | | | | | correctly"" Roll-forward with fix: the original change did not produced any changelog if this was not a release branch, use a default, empty one in that case. The debian version number will then be LAST_VERSION~HEAD This reverts commit e4cf9aa8b63173326cfe72ba76be4303bc038def. -- Change-Id: I9e19b1132570ea20d90053734418f2703b1a641e Reviewed-on: https://cr.bazel.build/7976 PiperOrigin-RevId: 142525180 MOS_MIGRATED_REVID=142525180
* Release script: if master branch does not exist, fall back on origin/masterGravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | | | | | | On ci.bazel.io local branch names are not set, so the release script was not finding information about the master branch. If the master ref does not exist, this change fall backs to looking at origin/master instead. Fixes #2263. To be cherry-picked for #2246. -- Change-Id: Ibe4f3533e529d79917233d89951f88cb58d14ce3 Reviewed-on: https://cr.bazel.build/8033 PiperOrigin-RevId: 142524954 MOS_MIGRATED_REVID=142524954
* 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
* Remove usages of build_tools_version attribute.Gravatar Adam Michael2016-12-20
| | | | | | -- PiperOrigin-RevId: 142494003 MOS_MIGRATED_REVID=142494003