From f87dade1df361ba887ed49231dd737dd526881aa Mon Sep 17 00:00:00 2001 From: Alex Tercete Date: Mon, 17 Mar 2025 10:39:42 +0000 Subject: [PATCH] ci: use `bazelisk/hooks` component --- .gitlab-ci.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c53d63b..f2175c6c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,9 @@ include: - - component: "${CI_SERVER_HOST}/ci/component/bazelisk/version@v1.3.0" + - component: "${CI_SERVER_HOST}/ci/component/bazelisk/hooks@v1.4.0" + inputs: + extends: + - .base + - component: "${CI_SERVER_HOST}/ci/component/bazelisk/version@v1.4.0" inputs: extends: - .base @@ -10,7 +14,7 @@ include: - 7.x - 8.x # FIXME: enable remote builds - #- component: "${CI_SERVER_HOST}/ci/component/bazelisk/config@v1.3.0" + #- component: "${CI_SERVER_HOST}/ci/component/bazelisk/config@v1.4.0" # inputs: # extends: # - .base @@ -18,7 +22,7 @@ include: # - hooks # config: # - remote - - component: "${CI_SERVER_HOST}/ci/component/bazelisk/semantic-release@v1.3.0" + - component: "${CI_SERVER_HOST}/ci/component/bazelisk/semantic-release@v1.4.0" inputs: extends: - .base @@ -56,15 +60,6 @@ qemu: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train" -hooks: - stage: .pre - extends: .base - script: - - bazelisk run //hooks - rules: - - !reference [.base, rules] - - if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train" - pages: stage: deploy extends: .base -- GitLab