ducmeit1 / gitlab-runner-clean

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clean Offline Gitlab Runners Job

The job requires you have to input the address of gitlab server and API token.

Local Run

  • Export Environment variable: GITLAB_ADDRESS and GITLAB_TOKEN
  • Run with Go
go run main.go

Kubernetes CronJob

  • Change values in Secret Template
  • Run with kubectl
kubectl apply -f kubernetes.yml

About


Languages

Language:Go 90.9%Language:Dockerfile 9.1%