Skip to content

Instantly share code, notes, and snippets.

@solidnerd
Created July 13, 2016 06:00
Show Gist options
  • Save solidnerd/6d6d16869b7bb44b3d5751446c7ba804 to your computer and use it in GitHub Desktop.
Save solidnerd/6d6d16869b7bb44b3d5751446c7ba804 to your computer and use it in GitHub Desktop.
Get GitLab Runner Token Automatically
#!/bin/bash
http POST https://gitlab.com/ci/api/v1/runners/register.json token=<registration token> -b | jq .token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment