Skip to content

Instantly share code, notes, and snippets.

View hanyce's full-sized avatar
🎯
Focusing

zhang hanyce

🎯
Focusing
View GitHub Profile
@hanyce
hanyce / install-gitlab-runner.sh
Created January 6, 2025 05:45 — forked from jniltinho/install-gitlab-runner.sh
Install GitLab Runner on Ubuntu 16.04
#!/bin/bash
## Install GitLab Runner on Ubuntu 16.04
## https://docs.gitlab.com/runner/install/linux-manually.html
## Config do Runner /etc/gitlab-runner/config.toml
## Para registrar e usar uma CA auto assinada
## gitlab-runner register --tls-ca-file="/home/gitlab-runner/data/certs/ca.crt"
## Install Docker
apt-get update
apt-get upgrade