Commit 63242a40 authored by Yushin Washio's avatar Yushin Washio
Browse files

README: add information about GitLab Runner on ACS Open Stack

parent f4de6225
......@@ -2,7 +2,7 @@ Hello CI
========
[![Build Status](http://134.130.169.56/api/badges/ywashio/hello-ci/status.svg)](http://134.130.169.56/ywashio/hello-ci)
Let's say hello to CI (represented by drone)!
Let's say hello to CI (represented by drone resp. GitLab Runner)!
# Building
......@@ -19,7 +19,8 @@ sudo cp -i main.o /usr/bin/hello-ci
```
# FAQ
## How to connect your own project with our drone.io instance?
## On drone.io
### How to connect your own project with our drone.io instance?
After you've [set up your project](http://readme.drone.io/usage/overview/) (i. e. add a `.drone.yml`) for drone.io,
......@@ -29,10 +30,24 @@ After you've [set up your project](http://readme.drone.io/usage/overview/) (i. e
4. Choose the repository you want to activate
5. Click on "ACTIVATE NOW"
## Can I use our drone.io instance for git servers other than our GOGS?
### Can I use our drone.io instance for git servers other than our GOGS?
No, that'd require a configuration change in the drone.io server and GOGS works the best with drone.io anyway :)
## Can I use my custom docker image?
## On GitLab CI
### How to set up a GitLab Runner on our Openstack and connect it with your project at the RWTH GitLab instance?
After you've [set up your project](http://docs.gitlab.com/ce/ci/yaml/README.html) (i. e. add a `.gitlab-ci.yml`) for GitLab CI,
1. Go to our OpenStack Dashboard, go to [Images](http://134.130.169.48/dashboard/project/images/), select "Public" and click "Launch Instance" for "gitlab-ci-multi-runner (based on Ubuntu 14.04)". Refer to the [Cloud Services](http://acswiki.eonerc.rwth-aachen.de/wiki/Cloud+Services) wiki page for more information on setting up your virtual machine in our Open Stack. This sets up an Ubuntu 14.04 environment with the official package gitlab-ci-multi-runner package preinstalled. Then ssh to the instance. (only at ACS)
2. Run `sudo gitlab-ci-multi-runner register` and use the coordinator URL and token from https://git.rwth-aachen.de/your-name/your-project/runners . Currently tested executor is shell (and also docker with ruby:latest, but this obviously needs Docker, and it is recommended to install it before gitlab-ci-multi-runner).
3. Refresh the runners page you already opened and see your new runner listed!
### Can I use my GitLab Runner instance on our Open Stack for git servers other than the RWTH GitLab?
Probably yes. Just find out the coordinator URL and token and run the register command again.
## Which docker image to use
### Can I use my custom docker image?
Please upload them at the [Docker Image Library](https://hub.docker.com/).
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment