mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-28 21:09:54 +01:00
ci: Actually use token file when starting the issue bot
The issue bot has an entry-point, so it launches the tool by default and that would fail as per the missing env variable: 2025/10/30 17:57:43 unable to create GitLab client(s): please configure ISSUE_BOT_API_TOKEN environment variable (unable to find environment variable: ISSUE_BOT_API_TOKEN) So, go manual instead for real for now. See: https://gitlab.com/gitlab-org/distribution/issue-bot/-/issues/26 Related: https://gitlab.com/gitlab-org/distribution/issue-bot/-/merge_requests/27
This commit is contained in:
@@ -1015,7 +1015,11 @@ dist-job:
|
||||
|
||||
issue-bot:
|
||||
stage: report
|
||||
image: registry.gitlab.com/gitlab-org/distribution/issue-bot:latest
|
||||
image:
|
||||
name: registry.gitlab.com/gitlab-org/distribution/issue-bot:latest
|
||||
# We need to launch it manually for now, until the token file is supported:
|
||||
# https://gitlab.com/gitlab-org/distribution/issue-bot/-/merge_requests/27
|
||||
entrypoint: ["/bin/sh", "-e", "-l", "-c"]
|
||||
script:
|
||||
- ISSUE_BOT_API_TOKEN=$(cat "${ISSUE_BOT_API_TOKEN_FILE}")
|
||||
- export ISSUE_BOT_API_TOKEN
|
||||
|
||||
Reference in New Issue
Block a user