Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
helloworld
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mic
helloworld
Commits
15612a21
Commit
15612a21
authored
Dec 15, 2020
by
mic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
dd3adf34
Pipeline
#70
passed with stages
in 22 seconds
Changes
1
Pipelines
4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
gitlab_ruuner.txt
gitlab_ruuner.txt
+27
-0
No files found.
gitlab_ruuner.txt
0 → 100644
View file @
15612a21
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment