A small HTTP server that updates GitHub commit status checks when GitLab job updates occur.
211
A small HTTP server that updates GitHub commit status checks when GitLab job status webhook events occur.
With this and git-mirror-docker, you can get the functionality of GitLab.com's "GitHub Integration" (no longer free after 2020) and GitLab EE's "GitHub Integration" using a regular GitLab CE installation.

GH_TOKEN - (required) GitHub personal access token for creating status checksWEBHOOK_SECRET - (required) Pre-shared webhook secret Default: noneWEBHOOK_PATH - Path to POST GitLab webhook events to. Default: /.gl-webhookPORT - Port to listen on. Default: 3000There is a Dockerfile that sets up and runs this service.
Docker Hub: https://hub.docker.com/r/flotwig/gitlab-ci-github-status-checks
docker runThis sets up the webhook at http://0.0.0.0:12345/.gl-webhook.
docker run -p 12345:3000 \
--restart=always \
-e GH_TOKEN=your-personal-access-token \
-e WEBHOOK_SECRET=your-gitlab-webhook-pre-shared-secret \
flotwig/gitlab-ci-github-status-checks:latest
docker-compose.yml⚠ Protip: You can even run this in the same
docker-compose.ymlas yourgitlab-runnerandgitlab-ce(andgit-mirror-docker) images.
This sets up the webhook at http://0.0.0.0:12345/.gl-webhook.
ci-status-checks:
image: 'flotwig/gitlab-ci-github-status-checks:latest'
restart: always
ports:
- '12345:3000'
environment:
- GH_TOKEN=your-personal-access-token
- WEBHOOK_SECRET=your-gitlab-webhook-pre-shared-secret
namespace/repo to the same owner/repo on GitHub. So make sure your repos exist and line up.git-mirror-dockerContent type
Image
Digest
Size
42.6 MB
Last updated
about 6 years ago
docker pull flotwig/gitlab-ci-github-status-checks