Commit before push.

This commit is contained in:
Cyteen May 2020-02-19 12:10:19 +00:00
parent 6963402223
commit fcf953cb37
2 changed files with 24 additions and 8 deletions

View File

@ -1,3 +1,11 @@
Currently on git.devuan.org this fails with:
Runtime platform arch=amd64 os=linux pid=13015 revision=cf91d5e1 version=11.4.2
Running in system-mode.
ERROR: Registering runner... failed runner=******** status=401 Unauthorized
PANIC: Failed to register this runner. Perhaps you are having network problems
This is a Docker image for running GitLab CI builds for packages based
on git-buildpackage. A lot of the assumptions of how GitLab CI works

View File

@ -1,11 +1,19 @@
GITLAB_URL=http://git.devuan.org/cyteen/bluealsa
GITLAB_URL=$1 # https://git.devuan.org/
USER_NAME=$2 # cyteen
PROJECT=$3 # bluealsa
CI_TOKEN=2hfzsf2Egy1_z9MjnBJb
#SETTINGS_URL=$(curl -sSf "${GITLAB_URL:="https://git.devuan.org/"}/${USER_NAME:="cyteen"}/${PROJECT:="bluealsa"}/settings/ci_cd#js-runners-settings")
# COORDINATOR_ADDRESS_XPATH="////*[@id="coordinator_address"]"
COORDINATOR_ADDRESS="http://git.devuan.org/"
# REGISTRATION_TOKEN_XPATH="////*[@id="registration_token"]"
REGISTRATION_TOKEN="2hfzsf2Egy1_z9MjnBJb"
gitlab-ci-multi-runner register \
--non-interactive \
--url "$(GITLAB_URL)" \
--registration-token "$(CI_TOKEN)" \
--description "Generic devuan beowulf package build runner" \
--executor "docker" \
--docker-image "cyteen/generic-package-build-runner:v1"
--non-interactive \
--url "${COORDINATOR_ADDRESS}" \
--registration-token "${REGISTRATION_TOKEN}" \
--description "Generic devuan beowulf package build runner" \
--executor "docker" \
--docker-image "cyteen/generic-package-build-runner:v1"