Jason Bedard
7b382c9ff1
ci: enable buildifier check on ci
2023-06-13 16:28:17 -07:00
Jason Bedard
c4e601f244
ci: add bazel 7 prerelease tests ( #452 )
2023-06-13 16:26:33 -07:00
Alex Eagle
d13884f29d
chore: bump minimum Bazel version to 5.4.0
...
this was forced by a rules_go upgrade. We don't actually require all bazel-lib users to upgrade.
This does reduce our tested compatibility range a bit, but the important thing is we work with Bazel 5.x
2023-05-08 08:08:21 -07:00
Alex Eagle
e30284f2fa
chore: use config.yml to indicate releaser
...
We want to cleanup our GitHub tokens, and this repo is different from all others by historical accident.
2023-04-06 16:58:07 -07:00
Greg Magolan
f2bb1d1519
fix: windows CI ( #395 )
2023-03-12 02:36:10 +00:00
Greg Magolan
5faf59e8a6
chore: fix 'windows' pull request check; head_ref is the branch name while ref ends up being a generated GH actions branch name for the PR
2023-03-10 17:15:52 -08:00
Greg Magolan
8255da2d2c
chore: remove unnecessary call to register_coreutils_toolchains() in e2e/coreutils ( #393 )
2023-03-10 16:31:54 -08:00
Sahin Yort
e31867302e
chore: use coreutils hashsum ( #333 )
2023-03-10 20:37:57 +03:00
Greg Magolan
cb6e0c1626
build: add MacOS and Windows to CI for landed commits ( #371 )
2023-02-17 11:56:56 -08:00
Alex Eagle
1df2becc7a
chore: turn on more basic precommit checks
...
In particular this makes our bazelrc presets more compliant with client codebases, ensuring they can copy these files and not trip on their own pre-commit check
2023-02-17 11:00:00 -08:00
Greg Magolan
fde705ba8c
feat: make bazel-lib the source-of-truth for Aspect recommended bazelrc settings ( #369 )
2023-02-16 16:59:21 -08:00
Greg Magolan
fe1dc9c734
chore: remove New PR workflows as it doesn't work on forks
2023-02-08 11:35:25 -08:00
Greg Magolan
16d9f9cb18
chore: add workflows for new issues & PRs
2023-02-07 10:58:14 -05:00
Alex Eagle
3d58a71c60
fixup! release: publish release artifact
2023-02-01 10:43:45 -08:00
Alex Eagle
dead59b7b0
release: publish release artifact
...
GitHub's stability guarantee for the archive is iffy, and we want metrics on downloads.
See https://github.com/bazel-contrib/SIG-rules-authors/issues/11#issuecomment-1412241948
2023-02-01 10:43:45 -08:00
Greg Magolan
25a3040180
chore: add e2e/workspace test ( #339 )
2023-01-16 21:46:39 -08:00
Greg Magolan
1aa5280092
chore: fixup GH release yaml
2023-01-03 12:37:05 -08:00
Greg Magolan
8457e351a1
chore: update release to include copy_to_directory action binary ( #309 )
2023-01-03 12:26:51 -08:00
Alex Eagle
d82f551393
Update workspace_snippet.sh
2022-12-04 09:42:52 -08:00
Greg Magolan
5cf6ff92a5
ci: fix pattern for Bazel version CI matrix so Aspect CLI is still used ( #280 )
2022-11-12 07:31:19 -08:00
Alex Eagle
a145c6bb47
feat: install Aspect CLI for all users ( #278 )
...
Assuming you are using Bazelisk, this causes it to fetch Aspect's CLI and use that to wrap Bazel
2022-11-10 13:52:31 -08:00
Alex Eagle
bcffe70196
chore: account for github actions deprecation
...
Followed https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-28 10:59:02 -07:00
Greg Magolan
93c43e908e
chore: upgrade to Bazel 6.0.0rc1 but continue to also test Bazel 5.3.2 on CI ( #266 )
2022-10-26 15:05:27 -07:00
Derek Cormier
fa7fdc177e
fix: use person as release author
2022-09-19 13:21:36 -07:00
Alex Eagle
0450c0c652
Update release.yml
...
Don't use my PAT, instead use the default credentials like our other rulesets do.
2022-09-14 12:10:21 -07:00
Greg Magolan
f4b2b1b3b6
fix: disable e2e/bzlmod with RBE temporarily
2022-09-12 20:52:13 -07:00
Derek Cormier
c86f355dd0
ci: prepare bazel-lib for publish-to-bcr app
2022-09-10 12:30:53 -07:00
Alex Eagle
eecda0e2d8
ci: exclude rbe jobs if no engflow secret
2022-09-01 16:48:59 -07:00
Alex Eagle
3b9afd5807
Revert "Run PR workflow in the main repo, not the fork"
...
This reverts commit 64b8541ad6
.
2022-09-01 12:30:21 -07:00
Alex Eagle
64b8541ad6
Run PR workflow in the main repo, not the fork
2022-08-31 12:55:39 -07:00
Greg Magolan
af057bd509
chore: don't fail fast on GitHub actions matrix ( #226 )
2022-08-25 20:44:07 -07:00
Alex Eagle
de5274835b
refactor: tighten up key management code
2022-08-22 12:39:54 -07:00
Derek Cormier
cd6c2f63ee
fix: broken gh actions cache
2022-08-19 08:42:26 -07:00
Alex Eagle
15ec78eb73
ci: enable engflow RBE for github actions
2022-08-19 08:42:00 -07:00
Greg Magolan
3caff577b9
fix: handle copy_to_directory '.' and './**' special patterns correctly when in the root package ( #212 )
2022-08-11 16:25:51 -07:00
Derek Cormier
6dbfbba082
chore: change the auto bcr presubmit.yml
2022-06-28 11:06:36 -07:00
Derek Cormier
df04df7cd2
ci: change token for bcr publish
2022-06-23 17:05:26 -07:00
Derek Cormier
627ac0b82c
fix: don't set assignees for bcr pr
2022-06-16 14:03:50 -07:00
Derek Cormier
35adb03d48
chore: create a pull request against our bcr fork on successful release
2022-06-16 12:06:35 -07:00
Alex Eagle
fafdd8610c
chore: remove unneeded bazelisk setup
2022-06-11 12:57:49 -07:00
Renovate Bot
d19d6efafe
chore(deps): update bazelbuild/setup-bazelisk action to v2
2022-06-11 12:57:49 -07:00
Renovate Bot
0ec727048b
chore(deps): update actions/setup-node action to v3
2022-06-10 17:42:35 -07:00
renovate[bot]
12db1f32f9
chore(deps): update actions/checkout action to v3 ( #140 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 13:00:59 -07:00
renovate[bot]
f6bc73cb28
chore(deps): update actions/cache action to v3 ( #139 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 13:00:44 -07:00
Derek Cormier
73bfc53660
Use PAT to publish prs to bcr on release
2022-06-07 10:57:21 -07:00
Derek Cormier
fbb26dc678
chore: remove hardcoded toolchain versions from workspace snippet
2022-06-06 12:28:06 -07:00
Alex Eagle
14cc74b2cb
fix escaping in release snippet
2022-06-06 11:56:40 -07:00
Alex Eagle
15d95b9dc1
fix escaping in release snippet
2022-06-06 11:56:04 -07:00
Alex Eagle
021b24e2df
chore: publish production releases, prep for 1.0 ( #130 )
2022-06-06 11:28:10 -07:00
Alex Eagle
6585079da0
add bzlmod usage instructions ( #129 )
...
fixes #124
2022-06-06 11:19:37 -07:00
Derek Cormier
d944c2fbc3
ci: remove committer for auto-bcr
2022-05-17 14:02:54 -07:00
Derek Cormier
6761d9da11
ci: use pat to perform release and allow subsequent workflows to trigger ( #112 )
2022-05-17 13:48:16 -07:00
Derek Cormier
5c226869a1
fix release token and set committer on bcr workflow ( #111 )
...
* ci: use github bot token for release
* ci: set committers and pr assignees in bcr workflow
2022-05-17 11:51:46 -07:00
Alex Eagle
ba519a9e1f
Revert "fix: use pat for bcr mirror"
...
This reverts commit ea7a3e4549
.
2022-05-17 09:10:06 -07:00
Derek Cormier
97ef0a21fd
Revert "test: change release action to use app token ( #99 )" ( #110 )
...
This reverts commit 0bea5ccc49
.
2022-05-17 06:32:50 -07:00
Derek Cormier
ea7a3e4549
fix: use pat for bcr mirror
2022-05-16 17:22:30 -07:00
Derek Cormier
bbe8047a55
feat: mirror releases to bcr
2022-05-16 16:42:16 -07:00
Derek Cormier
278090f87e
fix: don't sort versions in bcr metadata.josn
2022-05-02 20:50:51 -07:00
Alex Eagle
8f877b6a84
style: minor nit, use destructuring assignment
2022-05-02 20:37:32 -07:00
Derek Cormier
f4d38ac959
fix: fix a bug where bcr action wouldn't follow redirects to artifact
2022-05-02 20:34:46 -07:00
Derek Cormier
91e1086f79
debug: add some logging to debug bcr action
2022-05-02 19:41:10 -07:00
Derek Cormier
0bea5ccc49
test: change release action to use app token ( #99 )
2022-05-02 19:24:08 -07:00
Derek Cormier
fc855df8cf
feat: post a pr to bcr on successful release ( #97 )
...
* feat: post a pr to bcr on successful release
* Change to GH app based auth
Following instructions at https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens
Co-authored-by: Alex Eagle <alex@aspect.dev>
2022-05-02 18:42:29 -07:00
Alex Eagle
8138d7f6c3
test: introduce an e2e test asserting that bzlmod works
2022-04-27 17:34:45 -07:00
Derek Cormier
cf7b195031
fix: minor yq docs updates and fixes
2022-04-22 13:21:57 -07:00
Jason Bedard
d21acfbd5a
test - add bash script tests to CI ( #54 )
2022-03-30 17:01:16 -07:00
Alex Eagle
ba8b737c24
chore: Update github archive URLs to have stable SHAs ( #32 )
...
Required per https://github.com/bazel-contrib/SIG-rules-authors/issues/11
2022-02-11 08:03:34 -08:00
Matt Mackay
c54981857a
fix: add missing .bzl suffix in release template loads ( #29 )
2022-01-30 16:25:57 -08:00
Derek Cormier
81eaa054b7
build: fix ci build caching ( #25 )
2022-01-21 08:48:43 -08:00
Alex Eagle
ff2c2d2d33
Fix release snippet load statements
2021-12-17 16:41:59 -08:00
Derek Cormier
4c2620cded
docs: update workspace snippet with jq instructions ( #15 )
2021-12-15 11:51:29 -08:00
Alex Eagle
aca19c4ac7
fix: release archive needs a strip_prefix ( #14 )
...
Also remove some dead code
2021-12-11 12:43:57 -08:00
Alex Eagle
2dc7954b5a
fix: add missing file for release process
2021-12-11 11:39:58 -08:00
Alex Eagle
1c5fb6370b
refactor: simplify release ( #13 )
...
Fixes #12
2021-12-11 11:27:39 -08:00
Alex Eagle
c891bbcf52
release: don't require manual edits to version.bzl
...
Instead the release process should key off the git tag
2021-11-11 06:57:46 -08:00
Alex Eagle
1c5ab3dad8
fix release
2021-11-08 07:26:45 -08:00
Alex Eagle
394f900560
Initial commit
2021-11-08 06:20:26 -08:00