https://github.com/131/gitlab-runner-windows
Gitab runner windows host
https://github.com/131/gitlab-runner-windows
Last synced: 3 months ago
JSON representation
Gitab runner windows host
- Host: GitHub
- URL: https://github.com/131/gitlab-runner-windows
- Owner: 131
- Created: 2023-03-22T00:50:01.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T14:37:39.000Z (almost 3 years ago)
- Last Synced: 2025-02-17T09:16:46.414Z (over 1 year ago)
- Language: Dockerfile
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Use with
[](https://hub.docker.com/r/131hub/gitlab-runner-windows)
[](https://hub.docker.com/r/131hub/gitlab-runner-windows)
[](https://hub.docker.com/r/131hub/gitlab-runner-windows)
# Motivation
[`131hub/gitlab-runner-windows`](https://hub.docker.com/r/131hub/gitlab-runner-windows) is a **docker image** bringing simple gitlab-runner windows container.
# Usage in a swarm
```
services:
shellwin-ivscloud-local:
image: 131hub/gitlab-runner-windows
entrypoint: ["powershell.exe", "-command"]
command: |
# connect to local NAT and change default route to it
# yet, we keep all overlay traffic to ingress route AND from local area -10.26/10.24 & co-
route delete 0.0.0.0;
route add 10.0.0.0 MASK 255.0.0.0 10.0.4.1 METRIC 1;
docker network connect nat $$(hostname);
gitab-runner run;
networks:
- default
volumes:
- type: npipe
source: \\.\pipe\docker_engine
target: \\.\pipe\docker_engine
- type: bind
source: c:\gitlab
target: c:\gitlab
```