Skip to content

Instantly share code, notes, and snippets.

View MetalArend's full-sized avatar

Bart Reunes MetalArend

View GitHub Profile
@MetalArend
MetalArend / swarm.yml
Last active June 16, 2024 10:11
Run a GitLab Runner on your Swarm
version: '3.4'
secrets:
# Find your registration token at: "Your project" > "Settings" > "CI/CD" > "Runners settings" > "Specific Runners" (look for registration token)
# Register it as `GITLAB_REGISTRATION_TOKEN`: `docker secret create GITLAB_REGISTRATION_TOKEN YOUR_REGISTRATION_TOKEN`
GITLAB_REGISTRATION_TOKEN:
external: true
# Find your personal access token at: "Your user account" > "Settings" > "Access Tokens" > "Create personal access token" (for api)
# Register it as `GITLAB_PERSONAL_ACCESS_TOKEN`: `docker secret create GITLAB_PERSONAL_ACCESS_TOKEN <YOUR ACCESS TOKEN>`
<?php
use League\CommonMark\Block\Element\AbstractBlock;
use League\CommonMark\Block\Element\Paragraph;
use League\CommonMark\Block\Renderer\BlockRendererInterface;
use League\CommonMark\CommonMarkConverter;
use League\CommonMark\ElementRendererInterface;
use League\CommonMark\Environment;
use Twig_Extension;

I hereby claim:

  • I am metalarend on github.
  • I am metalarend (https://keybase.io/metalarend) on keybase.
  • I have a public key ASDn6eAWYfghyfZ_2YzbifXATMFR6mMQwpTzCf0VPgP-Wgo

To claim this, I am signing this object:

{
#!/usr/bin/env bash
# thanks to https://lists.debian.org/debian-user/2012/03/msg01962.html
exec >>/home/vagrant/bootstrap.out 2>&1
set -x
echo "UseDNS no" >> /etc/ssh/sshd_config
echo "127.0.0.1 ubuntu-16.04-server-amd64" >> /etc/hosts
mkdir -p /home/vagrant/.ssh