aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/packages
Commit message (Collapse)AuthorAge
* macOS compatibility in build.ps1.Gravatar Peter Mounce2017-11-28
| | | | | | | | | | | | Apparently powershell on macOS is a thing now... However, chocolatey does not yet seem to be... cc @dslomov Closes #4026. PiperOrigin-RevId: 177172660
* Allow Bazel's Debian package to install with headless JDK.Gravatar John Millikin2017-11-20
| | | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/3761 Closes #4015. PiperOrigin-RevId: 176340908
* bazelrc: remove experimental_ui optionsGravatar Klaus Aehlig2017-10-20
| | | | | | | | | | Now that the experimental_ui is enabled by default in commit 784bb52613feb484221c3aa6756de, we do not need to enable it in the (recommended) bazelrc file anymore. While there, also move the default number of actions shown in the experimental_ui to the flag default. Change-Id: I74673a0d677b6d832c9fb5e2983f97c0dcbc44e4 PiperOrigin-RevId: 172736977
* Remove some left over bits of Java 7 supportGravatar Liam Miller-Cushon2017-09-04
| | | | | Change-Id: I3fce66ec2e63d152aafc0cf9ea067d6dbf1245f7 PiperOrigin-RevId: 167484075
* Update files attribute on pkg_tar.Gravatar John Cater2017-08-10
| | | | | Change-Id: I37bb40cae9d8a6ca99460df83b33541972926766 PiperOrigin-RevId: 164726294
* 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
* Adjust chocolatey package for new artifact namesGravatar Peter Mounce2017-07-31
| | | | | | Closes #3466. PiperOrigin-RevId: 163459450
* Use the .bazel.build URL instead of the googleapis.com oneGravatar dmarting2017-07-27
| | | | PiperOrigin-RevId: 163326705
* 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
* 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
* 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
* Chocolatey install: fix script. problem onGravatar Peter Mounce2017-06-06
| | | | | | | | reading. Closes #2794. PiperOrigin-RevId: 158117701
* Make msysless flavour be the default inside chocolateyGravatar Peter Mounce2017-05-29
| | | | | | | | | | | | This attempts to fix #3006. This change will presumably have to be reversed once msysless binary name changes to become the default. It would be simpler to name the default binary for being default, to avoid special casing (see https://github.com/bazelbuild/bazel/issues/3006#issuecomment-301440068). Closes #3066. PiperOrigin-RevId: 157390473
* Fix #2982: Bazel installer should not check for installed JDK if using a ↵Gravatar philwo2017-05-15
| | | | | | bundled JDK. PiperOrigin-RevId: 156092071
* Fix #2958: Installer should not overwrite bazelrcGravatar Philipp Wollermann2017-05-08
| | | | | | | Closes #2959. Ping #2692 for cherry-picking into Bazel 0.5.0. PiperOrigin-RevId: 155357560
* Bundled JDK changes for the release process. This is a fixed versionGravatar philwo2017-04-28
| | | | | | | | | | | | | | | that should not break CI this time... - Make the default Bazel release artifacts include the bundled JDK. - Create additional Bazel release artifacts without a bundled JDK. Tested by running "bazel build //scripts/..." in a clean checkout and one with this patch in, then diffing the entire bazel-out folder and manually inspecting the resulting files (zips, tar.gz, deb, rpm) to make sure that they contain the right files. Looks all good now, so let's try again. PiperOrigin-RevId: 154544164
* Automated g4 rollback of commit 2c4dd1f3176371473667c551cd5a5ae5992f8154.Gravatar philwo2017-04-24
| | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks CI because //scripts/packages/debian:bazel-bin still references //scripts/packages:bazel-real. *** Original change description *** Bundled JDK changes for the release process. - Make the default Bazel release artifacts include the bundled JDK. - Create additional Bazel release artifacts without a bundled JDK. Change-Id: If87c986507ae8e7dbbf0e8f163dd0073a206b265 PiperOrigin-RevId: 154054435
* Bundled JDK changes for the release process.Gravatar Philipp Wollermann2017-04-24
| | | | | | | | - Make the default Bazel release artifacts include the bundled JDK. - Create additional Bazel release artifacts without a bundled JDK. Change-Id: If87c986507ae8e7dbbf0e8f163dd0073a206b265 PiperOrigin-RevId: 153718827
* Remove empty_files for bazel binary installer.Gravatar Harsh Vardhan2017-04-13
| | | | | | | | | Bazel binary installer contains empty files because of the line that wasn't removed while packaging bazel_tools inside bazel. Fixes: https://github.com/bazelbuild/bazel/issues/2662 Change-Id: I53a1f74566c48c3458ced2d46362873a68b6bf49 PiperOrigin-RevId: 153048191
* Squash remaining unmerged changes and resubmit PR from #2758Gravatar Peter Mounce2017-04-12
| | | | | | Closes #2764. PiperOrigin-RevId: 152907840
* Fix choco integrity checkGravatar dslomov2017-03-31
| | | | | | | | | | This causes a hard-fail. I'm attempting to publish a fixed package now, but chocolatey.org is failing with a `502 Bad Gateway`. I'm talking to the chocolatey team in their gitter now. I'll update here once I've been able to push. Closes #2758. PiperOrigin-RevId: 151693032
* Parse params via a built-in, and lock msys2 version Gravatar Peter Mounce2017-03-22
| | | | | | | | | | | | | @laszlocsomor - This addresses https://github.com/bazelbuild/bazel/issues/2449#issuecomment-278059161. Note - this is _not_ in the 0.4.5 package, since I was waiting for that release to go out prior to this. Closes #2690. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2690 PiperOrigin-RevId: 150745085 MOS_MIGRATED_REVID=150745085
* Fix #2671 on GitHub Gravatar Peter Mounce2017-03-15
| | | | | | | | | Closes #2678. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2678 PiperOrigin-RevId: 150167309 MOS_MIGRATED_REVID=150167309
* Fix powershellv2 Gravatar Peter Mounce2017-03-07
| | | | | | | | | | | | | | | | | | | Powershell v2 (win7 vintage) doesn't have json cmdlets. Got a report via chocolatey.org message that this doesn't work on win7. Cried. Replaced with simpler text file based approach for separating data from code. Also fix package version fix notation bit of the automation to produce version numbers valid with chocolatey/nuspec. I've already published a fixed 0.4.5-rc2 and 0.4.4 with this * https://chocolatey.org/packages/bazel/0.4.4.20170306 * https://chocolatey.org/packages/bazel/0.4.5-rc2-20170306-124051 Closes #2633. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2633 PiperOrigin-RevId: 149314972 MOS_MIGRATED_REVID=149314972
* Fix paths of binaries in .deb packages. Gravatar John Cater2017-02-28
| | | | | | | | | | | | To be cherry-picked for #2472. Fixes #2605. -- Change-Id: Idfd1bf264ceb696ca766268c8a16891476ee33b1 Reviewed-on: https://cr.bazel.build/9111 PiperOrigin-RevId: 148749784 MOS_MIGRATED_REVID=148749784
* Export Bazel's LICENSE file using our normal repo sync process.Gravatar Philipp Wollermann2017-02-17
| | | | | | -- PiperOrigin-RevId: 147825291 MOS_MIGRATED_REVID=147825291
* 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
* 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
* 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
* 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
* 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
* 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
* Revert "Fix scripts/packages/convert_changelog to read the changelog correctly"Gravatar John Cater2016-12-16
| | | | | | | | | | | This reverts commit 9012bf1676bd6426229625e2567bfa399f89dabe. Fixes #2260. -- Change-Id: Ia08dd65d55274acdd15993cfde4eab225fb01df0 Reviewed-on: https://cr.bazel.build/8012 PiperOrigin-RevId: 142294105 MOS_MIGRATED_REVID=142294105
* Fix scripts/packages/convert_changelog to read the changelog correctlyGravatar Damien Martin-Guillerez2016-12-16
| | | | | | | | | | | Partial fix of #2256 To cherry-pick for #2246 -- Change-Id: Ib25cc1dd85fd4af59b36eb2ac215ebd31d4d9eaa Reviewed-on: https://cr.bazel.build/7975 PiperOrigin-RevId: 142262764 MOS_MIGRATED_REVID=142262764
* Make release notes in chocolatey packages work for RCsGravatar Peter Mounce2016-12-05
| | | | | | | | | Closes #2152. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2152 PiperOrigin-RevId: 141046624 MOS_MIGRATED_REVID=141046624
* Make it easier for tools/bazel wrapper script to find bazel-realGravatar Dan Fabulich2016-12-02
| | | | | | | | | | | | | | | | | The launcher script uses "exec -a" to launch the wrapper, but if the wrapper script is itself a Bash script, Bash will set "$0" to be the path to the wrapper script, not the path to the launcher script. To work around this, we've been having our wrapper script search the user's PATH environment variable for bazel-real, but that doesn't work well with the IntelliJ plugin for Bazel, which may not use the expected PATH environment. -- Change-Id: I402ad29d5b809be8e687e217e19c03e7ac3eb972 Reviewed-on: https://cr.bazel.build/7550 PiperOrigin-RevId: 140851992 MOS_MIGRATED_REVID=140851992
* Release: refactor the way we keep track of release notesGravatar Damien Martin-Guillerez2016-12-02
| | | | | | | | | | | | | | | | | | | Now the release branch does not contains the release commit anymore. Instead, we regenerate the full release notes each time we have to (release candidate creation and final release). Two side effects: - The date is now showing the date of the operation and no longer the date of the release candidate (so release will be correctly dated) - The release notes show the release candidate number :) Tested: bazel test //scripts/release/... + build README.md -- Change-Id: Ia249bbdc0d6ed240bd969f24aa013f709f9a0a74 Reviewed-on: https://cr.bazel.build/7338 PiperOrigin-RevId: 140841432 MOS_MIGRATED_REVID=140841432
* Add Oracle JDK 7/8 as optional dependencies.Gravatar Misha Brukman2016-11-28
| | | | | | | | | | | | | | With this change, `oracle-java7-installer` and `oracle-java8-installer` become alternatives to satisfy the JDK dependency and thus can be implicitly installed when someone just asks to install Bazel by itself. Resolves issue #1821. Closes #2137. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2137 MOS_MIGRATED_REVID=140200795
* Prevent merge debris being part of packageGravatar Peter Mounce2016-11-24
| | | | | | | | Closes #2095. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2095 MOS_MIGRATED_REVID=140134289
* Support choco package fixesGravatar Peter Mounce2016-11-24
| | | | | | | | | | | | I've used this to create https://chocolatey.org/packages/bazel/0.4.1-rc2-20161124-122858 which is in the queue for automated validation. That package is built with #2134. Closes #2135. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2135 MOS_MIGRATED_REVID=140131036
* Reinstate python2 only constraintGravatar Peter Mounce2016-11-24
| | | | | | | | | | See gitter chat around https://gitter.im/chocolatey/choco?at=58361d42b07a1fd34833fe36. The rc failed automatic validation because of it, we think. Closes #2134. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2134 MOS_MIGRATED_REVID=140114046
* Make the python dependency more lenientGravatar Peter Mounce2016-11-23
| | | | | | | | | | Based on [this comment](https://github.com/bazelbuild/bazel/issues/2027#issuecomment-262229811), allow python3 to be used. cc @meteorcloudy. Closes #2122. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2122 MOS_MIGRATED_REVID=140031775
* Fix building Bazel under the new Linux sandboxGravatar Brian Silverman2016-11-14
| | | | | | | | | | find(1) defaults to not following symlinks, which doesn't work when all the folders get replaced with symlinks. -- Change-Id: I016db7bfefb308eb7026d2a52ba768613895dfee Reviewed-on: https://bazel-review.googlesource.com/c/6810/ MOS_MIGRATED_REVID=139063351
* Add the distribution artifact to the list of release filesGravatar Klaus Aehlig2016-11-11
| | | | | | | -- Change-Id: I09053cbd476e5f8bb5bdb9f272ad414d165f6d9f Reviewed-on: https://bazel-review.googlesource.com/#/c/7131 MOS_MIGRATED_REVID=138855685
* Fix chocolatey package hard-coding c: driveGravatar Peter Mounce2016-11-07
| | | | | | | | | | This fixes #2032. Closes #2046. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2046 MOS_MIGRATED_REVID=138377177
* Support RCs with chocolatey packageGravatar Peter Mounce2016-11-03
| | | | | | | | | | | | This - makes the `tools/*.ps1` generation more sane - supports generating a package for RCs Closes #2005. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2005 MOS_MIGRATED_REVID=138052483
* Change our URL to bazel.buildGravatar Damien Martin-Guillerez2016-10-28
| | | | | -- MOS_MIGRATED_REVID=137500893
* Fix chocolatey package build scripts - minor fixes.Gravatar Peter Mounce2016-10-24
| | | | | | | | Closes #1949. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1949 MOS_MIGRATED_REVID=137022912
* More changes for chocolatey package.Gravatar Peter Mounce2016-10-14
| | | | | | | | | | | 1. Update required version of msys to match versions that are published on chocolatey 2. Warn user about required possibly incompatible entries in PATH. Closes #1933. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1933 MOS_MIGRATED_REVID=136129573
* Changes necessary for releasing 0.3.2 chocolatey package.Gravatar Peter Mounce2016-10-11
| | | | | | | | | | Note - the chocolatey package to satisfy this has not yet been released, but it _will_ be according to [this trail](https://github.com/userzimmermann/choco-packages/issues/7#issuecomment-252605193) Closes #1905. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1905 MOS_MIGRATED_REVID=135774603