summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2024-02-03 09:23:23 +0900
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-03 08:08:53 +0700
commite8a8335321d93301f8b5de677bdf184edab185b1 (patch)
tree7bd6c45a6dd11791b592d3e3415410d1bd01e34e /.gitlab-ci.yml
parent344da37ac192436bd3a1831507ece72442328a15 (diff)
downloadslackbuilds-e8a8335321d93301f8b5de677bdf184edab185b1.tar.gz
slackbuilds-e8a8335321d93301f8b5de677bdf184edab185b1.tar.xz
system/fzf: Updated for version 0.46.1.
Also update all workflow dependencies for github and gitlab. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 51bd02061a..2a2d3ea6db 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,16 +3,16 @@ variables:
# renovate: datasource=gitlab-releases depName=gitlab-org/cli
GLAB_VERSION: 1.36.0
# renovate: datasource=docker depName=aclemons/sbo-maintainer-tools versioning=docker
- SBO_MAINTAINER_TOOLS_IMAGE: aclemons/sbo-maintainer-tools:0.9.0-15.0@sha256:bad368eb4e28aac3076c6775b4a8ec96f564434657a4b853f9f961cdeed88404
+ SBO_MAINTAINER_TOOLS_IMAGE: aclemons/sbo-maintainer-tools:0.9.0-15.0@sha256:a857eeb783622430a77ffdc0e9be0fa7d38b4d30696f362454eb990614a5ade8
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
default:
- image: docker:24.0.5
+ image: docker:25.0.2@sha256:c5353bc15e6746f7dec07a61346e9bbd2a19291d1e4306d15b745cb343dd84b5
services:
- - docker:24.0.5-dind
+ - docker:25.0.2-dind@sha256:c5353bc15e6746f7dec07a61346e9bbd2a19291d1e4306d15b745cb343dd84b5
pr-checks:
script: |
@@ -56,6 +56,11 @@ pr-checks:
printf '```\n'
} > comment-output
- # $CI_PROJECT_PATH points to the fork
- GITLAB_TOKEN="$MR_AUTOMATION_TOKEN" glab mr --repo "SlackBuilds.org/slackbuilds" comment $(echo "$CI_OPEN_MERGE_REQUESTS" | cut -d '!' -f2) --unique=true --message "$(cat comment-output)"
+ if [ -z "$MR_AUTOMATION_TOKEN" ] ; then
+ printf 'No token available for MR comments\n'
+ cat comment-output
+ else
+ # $CI_PROJECT_PATH points to the fork
+ GITLAB_TOKEN="$MR_AUTOMATION_TOKEN" glab mr --repo "SlackBuilds.org/slackbuilds" comment $(echo "$CI_OPEN_MERGE_REQUESTS" | cut -d '!' -f2) --unique=true --message "$(cat comment-output)"
+ fi
done