34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
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
|
|
conflict with git-buildpackage, so this image should help things.
|
|
|
|
It should also provide a local cache of the base packages needed to
|
|
run git-buildpackage builds.
|
|
|
|
Change the image name in build.sh to create a local docker image
|
|
|
|
Run 020_gitlab-runner.sh to install gitlab-runner.
|
|
|
|
Change the GITLAB_URL and CI_TOKEN in gitlab-ci-runner.sh to point to your project.
|
|
|
|
The settings are found on the project page settings -> CI / CD -> Runners
|
|
under 'Set up a specific Runner manually'
|
|
|
|
https://git.devuan.org/${USERNAME}/${PROJECT}/settings/ci_cd
|
|
|
|
GITLAB_URL=https://git.devuan.org/
|
|
CI_TOKEN={UNIQUE_IDENTIFIER}
|
|
|
|
Run gitlab-ci-runner.sh
|
|
|
|
|