task 추가
This commit is contained in:
@@ -4,7 +4,7 @@ include:
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
docker-build:
|
build:
|
||||||
image: docker:cli
|
image: docker:cli
|
||||||
stage: build
|
stage: build
|
||||||
services:
|
services:
|
||||||
@@ -20,3 +20,20 @@ docker-build:
|
|||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
exists:
|
exists:
|
||||||
- Dockerfile
|
- Dockerfile
|
||||||
|
|
||||||
|
update:
|
||||||
|
image: bitnami/git
|
||||||
|
stage: update
|
||||||
|
before_script:
|
||||||
|
- git config --global user.name "sa_8001"
|
||||||
|
- git config --global user.email "sa_8001@naver.com"
|
||||||
|
script:
|
||||||
|
- git clone https://sa_8001:$GITKEY@lab.jhcloud.kr/sa_8001/intermax_yaml.git
|
||||||
|
- cd intermax_yaml/
|
||||||
|
- rm -rf ./bussiness1-chl.yml ./bussiness1-mci.yml
|
||||||
|
- cp bussiness1-chl.template bussiness1-chl.yml
|
||||||
|
- cp bussiness1-mci.template bussiness1-mci.yml
|
||||||
|
- sed -i "s/{var}/$var/g" bussiness1-chl.yml
|
||||||
|
- sed -i "s/{var}/$var/g" bussiness1-mci.yml
|
||||||
|
- git add . && git commit -m "yml update"
|
||||||
|
- git push
|
||||||
|
|||||||
BIN
intermax/.DS_Store
vendored
Normal file
BIN
intermax/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
tomcat/.DS_Store
vendored
Normal file
BIN
tomcat/.DS_Store
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user