Skip to content

Commit bd12b34

Browse files
chore: bazel8 transition (#520)
* chore: bazel8 transition Signed-off-by: Sam Gammon <[email protected]> * chore(deps-dev): bump @commitlint/cli from 19.5.0 to 19.6.1 Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 19.5.0 to 19.6.1. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.6.1/@commitlint/cli) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@5076954...b4b15b8) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump actions/checkout from 4.2.0 to 4.2.2 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@d632683...11bd719) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps-dev): bump prettier-plugin-java from 2.6.4 to 2.6.5 Bumps [prettier-plugin-java](https://github.com/jhipster/prettier-java) from 2.6.4 to 2.6.5. - [Release notes](https://github.com/jhipster/prettier-java/releases) - [Changelog](https://github.com/jhipster/prettier-java/blob/main/CHANGELOG.md) - [Commits](https://github.com/jhipster/prettier-java/compare/[email protected]@2.6.5) --- updated-dependencies: - dependency-name: prettier-plugin-java dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps-dev): bump @commitlint/config-conventional Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 19.5.0 to 19.6.0. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.6.0/@commitlint/config-conventional) --- updated-dependencies: - dependency-name: "@commitlint/config-conventional" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps-dev): bump husky from 9.1.6 to 9.1.7 Bumps [husky](https://github.com/typicode/husky) from 9.1.6 to 9.1.7. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v9.1.6...v9.1.7) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump actions/dependency-review-action from 4.3.4 to 4.5.0 Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.5.0. - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](actions/dependency-review-action@5a2ce3f...3b139cf) --- updated-dependencies: - dependency-name: actions/dependency-review-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump github/codeql-action from 3.26.10 to 3.27.9 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.27.9. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@e2b3eaf...df409f7) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump actions/cache from 4.0.2 to 4.2.0 Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.2.0. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@0c45773...1bd1e32) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump cross-spawn in the npm_and_yarn group Bumps the npm_and_yarn group with 1 update: [cross-spawn](https://github.com/moxystudio/node-cross-spawn). Updates `cross-spawn` from 7.0.3 to 7.0.6 - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps-dev): bump prettier from 3.3.3 to 3.4.2 Bumps [prettier](https://github.com/prettier/prettier) from 3.3.3 to 3.4.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.3.3...3.4.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * fix: unstable download urls for latest gvm - feat: ability to specify `latest` for gvm version - fix: always use archive urls for oracle graalvm - chore: issue mappings for latest oracle graalvm - chore: issue mappings for latest graalvm ce Thanks to @develar for his help via #504 Fixes and closes #521 Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump org.graalvm.polyglot:polyglot from 24.1.0 to 24.1.1 Bumps [org.graalvm.polyglot:polyglot](https://github.com/oracle/graal) from 24.1.0 to 24.1.1. - [Release notes](https://github.com/oracle/graal/releases) - [Commits](oracle/graal@vm-24.1.0...vm-24.1.1) --- updated-dependencies: - dependency-name: org.graalvm.polyglot:polyglot dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump org.graalvm.compiler:compiler from 24.1.0 to 24.1.1 Bumps [org.graalvm.compiler:compiler](https://github.com/oracle/graal) from 24.1.0 to 24.1.1. - [Release notes](https://github.com/oracle/graal/releases) - [Commits](oracle/graal@vm-24.1.0...vm-24.1.1) --- updated-dependencies: - dependency-name: org.graalvm.compiler:compiler dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump org.graalvm.sdk:graal-sdk from 24.1.0 to 24.1.1 Bumps [org.graalvm.sdk:graal-sdk](https://github.com/oracle/graal) from 24.1.0 to 24.1.1. - [Release notes](https://github.com/oracle/graal/releases) - [Commits](oracle/graal@vm-24.1.0...vm-24.1.1) --- updated-dependencies: - dependency-name: org.graalvm.sdk:graal-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump org.graalvm.nativeimage:svm from 24.1.0 to 24.1.1 Bumps [org.graalvm.nativeimage:svm](https://github.com/oracle/graal) from 24.1.0 to 24.1.1. - [Release notes](https://github.com/oracle/graal/releases) - [Commits](oracle/graal@vm-24.1.0...vm-24.1.1) --- updated-dependencies: - dependency-name: org.graalvm.nativeimage:svm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore(deps): bump org.graalvm.nativeimage:native-image-base Bumps [org.graalvm.nativeimage:native-image-base](https://github.com/oracle/graal) from 24.1.0 to 24.1.1. - [Release notes](https://github.com/oracle/graal/releases) - [Commits](oracle/graal@vm-24.1.0...vm-24.1.1) --- updated-dependencies: - dependency-name: org.graalvm.nativeimage:native-image-base dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sam Gammon <[email protected]> * chore: lockfile updates, restore workspace file for earlier bzl versions Signed-off-by: Sam Gammon <[email protected]> * chore: bazel 8 in readme Signed-off-by: Sam Gammon <[email protected]> --------- Signed-off-by: Sam Gammon <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 5c67c84 commit bd12b34

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3901
-4655
lines changed

.aspect/bazelrc/bazel7.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ build --reuse_sandbox_directories
1212

1313
# Avoid this flag being enabled by remote_download_minimal or remote_download_toplevel
1414
# See https://meroton.com/blog/bazel-6-errors-build-without-the-bytes/
15-
build --noexperimental_action_cache_store_output_metadata
15+
build --noaction_cache_store_output_metadata

.bazelci/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
matrix:
2-
bazel_version: ["7.0.0", "7.3.1"]
2+
bazel_version: ["8.0.0"]
33
platform:
44
- ubuntu2004
55
- macos

.bazelrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ common:verbose --announce_rc
22

33
# Import Aspect bazelrc presets
44
import %workspace%/.aspect/bazelrc/convenience.bazelrc
5-
import %workspace%/.aspect/bazelrc/correctness.bazelrc
65
import %workspace%/.aspect/bazelrc/debug.bazelrc
7-
import %workspace%/.aspect/bazelrc/performance.bazelrc
6+
7+
# Inlined into `bazel8.bazelrc` because of broken flags at latest. Tests enforce use of latest.
8+
#import %workspace%/.aspect/bazelrc/correctness.bazelrc
9+
#import %workspace%/.aspect/bazelrc/performance.bazelrc
810

911
# Import project-level presets
1012
import %workspace%/tools/bazel/base.bazelrc

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.3.1
1+
8.0.0

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Configs: bzlmod
8080
Targets: //...
8181
Tests: //...
8282
Args:
83-
--config=bzlmod --config=fastbuild
83+
--config=fastbuild
8484
```
8585

8686
As you can see, the `Makefile` has decided to apply the `fastbuild` config based on having no other inputs (it's the default in Bazel too). Let's see what passing `RELEASE=yes` does:
@@ -100,7 +100,7 @@ Configs: bzlmod
100100
Targets: //...
101101
Tests: //...
102102
Args:
103-
--config=bzlmod --config=release
103+
--config=release
104104
```
105105

106106
Makes sense, checks out. You can pass these `Args` and `Targets` yourself directly to Bazel if you want, which is all the `Makefile` will do anyway.

.github/workflows/check.buildifier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
3838
with:
3939
egress-policy: audit
40-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
40+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4141
- name: buildifier
4242
continue-on-error: true
4343
run: bazel run --enable_bzlmod //.github/workflows:buildifier.check

.github/workflows/check.codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444
with:
4545
egress-policy: audit
4646
- name: Checkout repository
47-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
47+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
49+
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
5050
with:
5151
languages: ${{ matrix.language }}
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
53+
uses: github/codeql-action/autobuild@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
5454
- name: Perform CodeQL Analysis
55-
uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
55+
uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
5656
continue-on-error: true
5757
with:
5858
category: "/language:${{matrix.language}}"

.github/workflows/check.lint-yaml.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
allowed-endpoints: >
6464
github.com:443
6565
- name: "Setup: Checkout"
66-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
66+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6767
- name: "Lint: YAML"
6868
uses: karancode/yamllint-github-action@0a904064817924fc6fb449a32f67f25bfacc48ae # master
6969
with:
@@ -90,7 +90,7 @@ jobs:
9090
allowed-endpoints: >
9191
github.com:443
9292
- name: "Setup: Checkout"
93-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
93+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9494
- name: "Lint: YAML"
9595
uses: karancode/yamllint-github-action@0a904064817924fc6fb449a32f67f25bfacc48ae # master
9696
with:

.github/workflows/check.scorecards.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
egress-policy: audit
2626
- name: "Checkout code"
27-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828
with:
2929
persist-credentials: false
3030
- name: "Run analysis"
@@ -35,12 +35,12 @@ jobs:
3535
publish_results: true
3636
repo_token: ${{ secrets.SCORECARD_TOKEN }}
3737
- name: "Upload artifact"
38-
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
38+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
3939
with:
4040
name: SARIF file
4141
path: results.sarif
4242
retention-days: 5
4343
- name: "Upload to code-scanning"
44-
uses: github/codeql-action/upload-sarif@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
44+
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
4545
with:
4646
sarif_file: results.sarif

.github/workflows/deploy.docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
egress-policy: audit
3535
- name: "Setup: Checkout"
36-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
36+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3737
- name: "Setup: Pages"
3838
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
3939
- name: "Build: Jekyll"

0 commit comments

Comments
 (0)