Skip to content
Snippets Groups Projects
Unverified Commit a79aaf01 authored by Casey's avatar Casey :recycle:
Browse files

CI: fix autoupdate bot and don't enable it for local CI (MR 5724)


Update the bot email address, and don't enable the script for local CI
since it relies on protected GitLab CI variables. This could be fixed in
the future by safely handling these not being available.

Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
parent 901cb952
No related branches found
No related tags found
1 merge request!5724CI: fix autoupdate bot and don't enable it for local CI
Pipeline #208726 failed
#!/bin/sh -e
# Description: update a list of packages
# Options: native slow
# https://postmarketos.org/pmb-ci
if [ "$(id -u)" = 0 ]; then
set -x
......@@ -14,11 +11,7 @@ fi
git config --global --add safe.directory "$CI_PROJECT_DIR"
git config --global user.name "postmarketOS CI"
# pmaports
# The email address is the username of the bot (from the GitLab group members page) @noreply.gitlab.com
git config --global user.email "project_8065375_bot_13cf44ca4cd2c938688af6e3d500d9cb@noreply.gitlab.com"
# For testing with pmaports-autoupdate-test repo
# git config --global user.email "project_58002231_bot_be2d4e9e7aba929855726aafe12940d6@noreply.gitlab.com"
git config --global user.email "project_226_bot_a365eaa0c380d1bee0af03adf42ebea3@noreply.gitlab.postmarketos.org"
# Configure SSH key for signing
mkdir -p ~/.ssh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment