Commit 15612a21 authored by mic's avatar mic

Add new file

parent dd3adf34
Pipeline #70 passed with stages
in 22 seconds
to use gitlab ci-cd
create ci yaml file on the root of project
have to setup runner to make ci works
need gitlab-runner install and run
gitlab-runner
here is how I did:
#install
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | sudo bash
#register
sudo gitlab-register
#type in gitlab https for example: https://gitlab.micsapp.com
#type in token
#above info canbe found on gitlab runner manger page
#choose runner mode: [ssh, docker, etc...]
#if chhose docker will ask what base image you want to use
#for example in this project we can use simple ubuntu docker image
#tag for runner to pick up project
(note: this is important, in ci yaml file need to provide tag matched with this, otherwise won't pick up the job)
#after register
#run it
sudo -s gitlab-runner start
#check status
sudo gitlab-runner status
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment