Go to file
Cyteen May fcf953cb37 Commit before push. 2020-02-19 12:10:19 +00:00
overlay/usr make uscan_download true by default and inverse the logic 2019-07-19 13:54:06 -04:00
.gitlab-ci.yml Make changes for devuan and provide a test example. 2020-02-17 17:06:57 +00:00
020_gitlab-runner.sh Add an install script for runner and a runner script. 2020-02-18 20:33:14 +00:00
Dockerfile Make changes for devuan and provide a test example. 2020-02-17 17:06:57 +00:00
LICENSE add license 2018-01-08 17:41:39 +01:00
README.md Commit before push. 2020-02-19 12:10:19 +00:00
build.sh build script to create the runner container. 2020-02-18 19:57:17 +00:00
gitlab-ci-runner.sh Commit before push. 2020-02-19 12:10:19 +00:00

README.md

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