... | ... | @@ -62,10 +62,22 @@ Quite easy, you can do this on your own. [Have yourself invited and both of you |
|
|
- Choose "One-click apps" and then "Docker 17.x on 16.x" (button label can differ)
|
|
|
- Further down choose the \$5 pricing
|
|
|
- Choose a region nearby. I choose "Frankfurt".
|
|
|
- Add an SSH key and check the box. You can use the one that you created with [GitKraken](http://gitkraken.com/). If you don't know what this is all about read [this tutorial from GitLab](https://docs.gitlab.com/ee/gitlab-basics/create-your-ssh-keys.html#how-to-create-your-ssh-keys).
|
|
|
- Add an SSH key and check the box. You can use the one that you created with [GitKraken](http://gitkraken.com/). If you don't know what this is all about read [this tutorial from GitLab](https://docs.gitlab.com/ee/gitlab-basics/create-your-ssh-keys.html#how-to-create-your-ssh-keys). **Be sure not to protect your SSH key with a password!**
|
|
|
- Give your droplet a name. I chose `remote-gitlab-runner`
|
|
|
- Create the droplet!
|
|
|
|
|
|
At the end of the provisioning of your droplet you will get an IP address. You will need that address to login to your droplet via SSH.
|
|
|
|
|
|
Now from the command line log into your new droplet.
|
|
|
|
|
|
```bash
|
|
|
$ ssh root@165.227.141.153
|
|
|
```
|
|
|
|
|
|
If everything works out fine, you should have logged into your droplet![^1]
|
|
|
|
|
|
[^1]: I figured out that you might have to explicitly say which SSH key you want to use when logging in. Do this with `ssh user@address -i ~/.ssh/name-of-your-keyfile` or similar.
|
|
|
|
|
|
## Download and install GitLab runner
|
|
|
|
|
|
Now you need to download and install [the GitLab Runner](https://docs.gitlab.com/runner/) once on a machine you own or controll. This could be your laptop or a remote machine that is capable of running [Docker](https://de.wikipedia.org/wiki/Docker_(Software)). We will use Docker images to run *pdflatex* or *Pandoc* for building our documents. |
|
|
Now you need to download and install [the GitLab Runner](https://docs.gitlab.com/runner/) once on a machine you own or controll. This could be your laptop or a remote machine that is capable of running [Docker](https://de.wikipedia.org/wiki/Docker_(Software)). We will use Docker images to run *pdflatex* or *Pandoc* for building our documents. That's the reason why we chose a DO droplet with Docker preinstalled! |