From 92daacd5f6f5ba54191d5df80186356890360237 Mon Sep 17 00:00:00 2001 From: Bot Date: Wed, 20 Dec 2023 09:35:28 +0000 Subject: [PATCH 1/4] chore(release): 1.0.0-beta.1 [skip ci] # 1.0.0-beta.1 (2023-12-20) ### Bug Fixes * upgrade `rules_oci` ([cfd894c](https://git.gitlab.arm.com/ci/component/bazelisk/commit/cfd894cec2f222ea5214f5f1cf98421147ce7b52)) * upgrade distroless image ([e6fca24](https://git.gitlab.arm.com/ci/component/bazelisk/commit/e6fca24d6fae1ae489a358a3264bba9d9a1dea60)) * upgrade to `linux-libc-dev@6.1.66` ([32087fc](https://git.gitlab.arm.com/ci/component/bazelisk/commit/32087fcf2bfa5221fca041726f7b60cad71d00cd)) * use `pushd`/`popd` built-ins. ([83b658d](https://git.gitlab.arm.com/ci/component/bazelisk/commit/83b658d58994943a24267cb1508d1877b2b9b7e5)) ### Code Refactoring * switch to `.bazelisk-fragment` ([7afa43b](https://git.gitlab.arm.com/ci/component/bazelisk/commit/7afa43badf14d986666b8fb6c70ef0e3773b48f7)) ### Features * add rules to enable merged results pipelines ([603b07a](https://git.gitlab.arm.com/ci/component/bazelisk/commit/603b07ab4ac326d21df811de1ffe673c8125a013)) * all multiple run command environment variable replacements ([f82edd7](https://git.gitlab.arm.com/ci/component/bazelisk/commit/f82edd7b3e314325df49e000d52401e86e93f847)) * allow replacement of `CI_PROJECT_ID` ([79bc0a5](https://git.gitlab.arm.com/ci/component/bazelisk/commit/79bc0a5cc1cb515ab74ee0c2b7302b3b59420fbd)) * explicitly set no job dependencies ([5e9bb4c](https://git.gitlab.arm.com/ci/component/bazelisk/commit/5e9bb4c8d9b9f6adfbff6fea0e4e447e7c53a7d3)) * image build and CI component ([fb002de](https://git.gitlab.arm.com/ci/component/bazelisk/commit/fb002de994aa01efec0543432529241bacd71420)) ### BREAKING CHANGES * `.bazelisk-script` is now `.bazelisk-fragment` Update any `!reference[.bazelisk-script, ...]` to `!reference[.bazelisk-fragment, ...]` --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ MODULE.bazel | 2 +- template.yml | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a689d35 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,26 @@ +# 1.0.0-beta.1 (2023-12-20) + +### Bug Fixes + +- upgrade `rules_oci` ([cfd894c](https://git.gitlab.arm.com/ci/component/bazelisk/commit/cfd894cec2f222ea5214f5f1cf98421147ce7b52)) +- upgrade distroless image ([e6fca24](https://git.gitlab.arm.com/ci/component/bazelisk/commit/e6fca24d6fae1ae489a358a3264bba9d9a1dea60)) +- upgrade to `linux-libc-dev@6.1.66` ([32087fc](https://git.gitlab.arm.com/ci/component/bazelisk/commit/32087fcf2bfa5221fca041726f7b60cad71d00cd)) +- use `pushd`/`popd` built-ins. ([83b658d](https://git.gitlab.arm.com/ci/component/bazelisk/commit/83b658d58994943a24267cb1508d1877b2b9b7e5)) + +### Code Refactoring + +- switch to `.bazelisk-fragment` ([7afa43b](https://git.gitlab.arm.com/ci/component/bazelisk/commit/7afa43badf14d986666b8fb6c70ef0e3773b48f7)) + +### Features + +- add rules to enable merged results pipelines ([603b07a](https://git.gitlab.arm.com/ci/component/bazelisk/commit/603b07ab4ac326d21df811de1ffe673c8125a013)) +- all multiple run command environment variable replacements ([f82edd7](https://git.gitlab.arm.com/ci/component/bazelisk/commit/f82edd7b3e314325df49e000d52401e86e93f847)) +- allow replacement of `CI_PROJECT_ID` ([79bc0a5](https://git.gitlab.arm.com/ci/component/bazelisk/commit/79bc0a5cc1cb515ab74ee0c2b7302b3b59420fbd)) +- explicitly set no job dependencies ([5e9bb4c](https://git.gitlab.arm.com/ci/component/bazelisk/commit/5e9bb4c8d9b9f6adfbff6fea0e4e447e7c53a7d3)) +- image build and CI component ([fb002de](https://git.gitlab.arm.com/ci/component/bazelisk/commit/fb002de994aa01efec0543432529241bacd71420)) + +### BREAKING CHANGES + +- `.bazelisk-script` is now `.bazelisk-fragment` + +Update any `!reference[.bazelisk-script, ...]` to `!reference[.bazelisk-fragment, ...]` diff --git a/MODULE.bazel b/MODULE.bazel index 3042dbe..8b1a364 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "bazelisk", - version = "0.0.0", + version = "1.0.0-beta.1", bazel_compatibility = [ ">=6.4.0", ], diff --git a/template.yml b/template.yml index 30b718e..66cc271 100644 --- a/template.yml +++ b/template.yml @@ -3,7 +3,7 @@ spec: image: default: registry.gitlab.arm.com/ci/component/bazelisk tag: - default: latest + default: 1.0.0-beta.1 stage: default: test src: -- GitLab From cba8d9cd77811da912794f62e315dbf9bf02a515 Mon Sep 17 00:00:00 2001 From: Bot Date: Thu, 4 Jan 2024 10:21:33 +0000 Subject: [PATCH 2/4] chore(release): 1.0.0-beta.2 [skip ci] # [1.0.0-beta.2](https://git.gitlab.arm.com/ci/component/bazelisk/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2024-01-04) ### Bug Fixes * add stage to `.bazelisk` job ([8282d71](https://git.gitlab.arm.com/ci/component/bazelisk/commit/8282d7129fad6a36d28f1c7dc78364161a109562)) * commit to new component directory structure ([c5ced29](https://git.gitlab.arm.com/ci/component/bazelisk/commit/c5ced293dbed2c4371f544c529130a1b14c86f1d)) * pin bazel version ([f992954](https://git.gitlab.arm.com/ci/component/bazelisk/commit/f992954e8ad96bab04d5b61736389b2956cbb859)) * **release:** correct JavaScript `Object.freeze` usage ([38465a1](https://git.gitlab.arm.com/ci/component/bazelisk/commit/38465a17485a0f1d0bd16c8c8e372d60a556b15e)) ### BREAKING CHANGES * The component must be included via the `bazelisk` name. The nameless include in `1.0.0-beta.1` is no longer supported. ``` include: - component: "${CI_SERVER_HOST}/ci/component/bazelisk@1.0.0-beta.1" ``` Add the `/bazelisk` named CI component: ``` include: - component: "${CI_SERVER_HOST}/ci/component/bazelisk/bazelisk@1.0.0-beta.2" ``` This is due to GitLab CI components being stabilised and the nameless component support being removed. --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ MODULE.bazel | 2 +- bazelisk/template.yml | 2 +- templates/bazelisk.yml | 2 +- 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a689d35..18abf2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +# [1.0.0-beta.2](https://git.gitlab.arm.com/ci/component/bazelisk/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2024-01-04) + +### Bug Fixes + +- add stage to `.bazelisk` job ([8282d71](https://git.gitlab.arm.com/ci/component/bazelisk/commit/8282d7129fad6a36d28f1c7dc78364161a109562)) +- commit to new component directory structure ([c5ced29](https://git.gitlab.arm.com/ci/component/bazelisk/commit/c5ced293dbed2c4371f544c529130a1b14c86f1d)) +- pin bazel version ([f992954](https://git.gitlab.arm.com/ci/component/bazelisk/commit/f992954e8ad96bab04d5b61736389b2956cbb859)) +- **release:** correct JavaScript `Object.freeze` usage ([38465a1](https://git.gitlab.arm.com/ci/component/bazelisk/commit/38465a17485a0f1d0bd16c8c8e372d60a556b15e)) + +### BREAKING CHANGES + +- The component must be included via the `bazelisk` name. + +The nameless include in `1.0.0-beta.1` is no longer supported. + +``` +include: + - component: "${CI_SERVER_HOST}/ci/component/bazelisk@1.0.0-beta.1" +``` + +Add the `/bazelisk` named CI component: + +``` +include: + - component: "${CI_SERVER_HOST}/ci/component/bazelisk/bazelisk@1.0.0-beta.2" +``` + +This is due to GitLab CI components being stabilised and the nameless component +support being removed. + # 1.0.0-beta.1 (2023-12-20) ### Bug Fixes diff --git a/MODULE.bazel b/MODULE.bazel index 312af33..c20dd24 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "bazelisk", - version = "1.0.0-beta.1", + version = "1.0.0-beta.2", bazel_compatibility = [ ">=6.4.0", ], diff --git a/bazelisk/template.yml b/bazelisk/template.yml index 7ef288a..8589ff0 100644 --- a/bazelisk/template.yml +++ b/bazelisk/template.yml @@ -4,7 +4,7 @@ spec: image: default: registry.gitlab.arm.com/ci/component/bazelisk tag: - default: latest + default: 1.0.0-beta.2 stage: default: test src: diff --git a/templates/bazelisk.yml b/templates/bazelisk.yml index af3a239..55672aa 100644 --- a/templates/bazelisk.yml +++ b/templates/bazelisk.yml @@ -4,7 +4,7 @@ spec: image: default: registry.gitlab.arm.com/ci/component/bazelisk tag: - default: 1.0.0-beta.1 + default: 1.0.0-beta.2 stage: default: test src: -- GitLab From 7433ba2dc54e298ef774fcd8d5ec7ddde642c215 Mon Sep 17 00:00:00 2001 From: Bot Date: Sat, 24 Feb 2024 22:37:04 +0000 Subject: [PATCH 3/4] chore(release): 1.0.0-beta.3 [skip ci] # [1.0.0-beta.3](https://git.gitlab.arm.com/ci/component/bazelisk/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2024-02-24) ### Bug Fixes * move run commands copying into `before_script` ([5f26233](https://git.gitlab.arm.com/ci/component/bazelisk/commit/5f26233b79ebb92d89cd66a99bdf85900e0752e8)) * remove `diff` ([eda49db](https://git.gitlab.arm.com/ci/component/bazelisk/commit/eda49dbb2d5758aed02a6e1cb6e0c3a6ca850af0)) * upgrade `bazelisk@1.19.0` ([9d32020](https://git.gitlab.arm.com/ci/component/bazelisk/commit/9d320206a322535ccd54a0ade4533b948fbc4985)) * upgrade to `linux-libc-dev@6.1.76` ([55c4635](https://git.gitlab.arm.com/ci/component/bazelisk/commit/55c463522383c05d9816bcc522bf9da15da53e97)) ### chore * remote GitLab 16.5 workaround ([16f27f9](https://git.gitlab.arm.com/ci/component/bazelisk/commit/16f27f9faeb130355babcb576adc592873c03be9)) ### BREAKING CHANGES * Template no longer supports GitLab less than 16.5 The `bazelisk/template.yml` file has been removed which was required for the CI component to be picked up on the experimental implementation in 16.4 and less. * `diff` has been removed. Use the hermetic [`rules_diff`][rules_diff] Bazel module. [rules_diff]: https://registry.bazel.build/modules/rules_diff --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ MODULE.bazel | 2 +- templates/bazelisk.yml | 8 ++++++-- 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18abf2b..d0a66f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +# [1.0.0-beta.3](https://git.gitlab.arm.com/ci/component/bazelisk/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2024-02-24) + +### Bug Fixes + +- move run commands copying into `before_script` ([5f26233](https://git.gitlab.arm.com/ci/component/bazelisk/commit/5f26233b79ebb92d89cd66a99bdf85900e0752e8)) +- remove `diff` ([eda49db](https://git.gitlab.arm.com/ci/component/bazelisk/commit/eda49dbb2d5758aed02a6e1cb6e0c3a6ca850af0)) +- upgrade `bazelisk@1.19.0` ([9d32020](https://git.gitlab.arm.com/ci/component/bazelisk/commit/9d320206a322535ccd54a0ade4533b948fbc4985)) +- upgrade to `linux-libc-dev@6.1.76` ([55c4635](https://git.gitlab.arm.com/ci/component/bazelisk/commit/55c463522383c05d9816bcc522bf9da15da53e97)) + +### chore + +- remote GitLab 16.5 workaround ([16f27f9](https://git.gitlab.arm.com/ci/component/bazelisk/commit/16f27f9faeb130355babcb576adc592873c03be9)) + +### BREAKING CHANGES + +- Template no longer supports GitLab less than 16.5 + +The `bazelisk/template.yml` file has been removed which was required +for the CI component to be picked up on the experimental implementation +in 16.4 and less. + +- `diff` has been removed. + +Use the hermetic [`rules_diff`][rules_diff] Bazel module. + +[rules_diff]: https://registry.bazel.build/modules/rules_diff + # [1.0.0-beta.2](https://git.gitlab.arm.com/ci/component/bazelisk/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2024-01-04) ### Bug Fixes diff --git a/MODULE.bazel b/MODULE.bazel index c795865..4805103 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "bazelisk", - version = "1.0.0-beta.2", + version = "1.0.0-beta.3", bazel_compatibility = [ ">=7.0.0", ], diff --git a/templates/bazelisk.yml b/templates/bazelisk.yml index 5b197e9..d8f6eef 100644 --- a/templates/bazelisk.yml +++ b/templates/bazelisk.yml @@ -3,7 +3,7 @@ spec: image: default: registry.gitlab.arm.com/ci/component/bazelisk tag: - default: 1.0.0-beta.2 + default: 1.0.0-beta.3 stage: default: test src: @@ -43,6 +43,7 @@ spec: - pushd "${ROOT}" - > "$[[inputs.bazelisk]]" "$[[inputs.command]]" "$[[inputs.target]]" + - popd testlogs: # https://gitlab.com/gitlab-org/gitlab/-/issues/19746 - | @@ -60,7 +61,6 @@ spec: mv bazel-testlogs{~,} fi popd - .bazelisk: image: "$[[inputs.image]]:$[[inputs.tag]]" needs: [] @@ -91,3 +91,7 @@ spec: - if: $CI_COMMIT_REF_PROTECTED == "true" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_FORCE == "true" +spec: + inputs: + tag: + default: 1.0.0-beta.3 -- GitLab From 50989468b23e5bf6669e139510b29d0c856b86c3 Mon Sep 17 00:00:00 2001 From: Matt Clarkson Date: Sat, 24 Feb 2024 23:02:35 +0000 Subject: [PATCH 4/4] ci: test -- GitLab