Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D develop-info
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • develop-info
  • Wiki
    • Ci
  • CD 파이프라인 정리

CD 파이프라인 정리 · Changes

Page history
CI/CD 파이프라인 작성법 authored Jan 23, 2020 by NohSeungWon's avatar NohSeungWon
Show whitespace changes
Inline Side-by-side
Showing with 29 additions and 0 deletions
+29 -0
  • CI/CD-파이프라인-정리.md CI/CD-파이프라인-정리.md +29 -0
  • No files found.
CI/CD-파이프라인-정리.md 0 → 100644
View page @ 473135b2
파이프라인 작동 케이스 정리
- yml 파일 예
deploy:
stage: deploy
script:
- echo 'please run please!'
- npm i
- ./node_modules/@angular/cli/bin/ng build --prod --aot --output-hashing=all
- rm -rf /opt/rockko-admin
- mv dist /opt/rockko-admin
only:
- feature/cicd
tags:
- test
- 케이스 :
* 공통사항
- only에 적힌 브런치가 1순위
1. runner에 tag를 지정했을 때
- only 1순위
- tag (이 tag는 git tag가 아니라 yml 파일에 tags: 이름을 의미) 2순위
- tag 이름을 잘못하면 파이프라인에서 fail
- tag를 적지않으면 계속 파이프라인 계속 보류상태
2. runner에 tag를 지정하지 않았을 때
- only 1순위
- only에 적힌 브런치로 push를 하지 않는 이상 파이프라인 작동하지 않음
Clone repository
  • CI
    • CD 파이프라인 정리
  • GitLab CI & CD
  • Rockko admin 개발서버 CI
    • CD
  • [IONIC] 플러그인 만들고 GitHub에 배포하여 사용하기
  • Home