CI 수정

This commit is contained in:
ByeonJungHun
2024-04-11 10:34:41 +09:00
parent a00a41f037
commit d9c0d7a78a
2 changed files with 5 additions and 5 deletions

View File

@@ -32,11 +32,11 @@ update:
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
- rm -rf ./bussiness1-chl.yml ./bussiness1-mci.yml ./bussiness1-core.yml
- cp bussiness1-chl.template bussiness1-chl.yml
- cp bussiness1-mci.template bussiness1-mci.yml
- sed -i "s/{ver}/$ver/g" bussiness1-chl.yml
- sed -i "s/{ver}/$ver/g" bussiness1-mci.yml
- cp bussiness1-core.template bussiness1-core.yml
- sed -i "s/{ver}/$ver/g" bussiness1-chl.yml bussiness1-mci.yml bussiness1-core.yml
- git add . && git commit -m "yml update"
- git push https://sa_8001:$GITKEY@lab.jhcloud.kr/sa_8001/intermax_yaml.git
@@ -46,4 +46,4 @@ deploy:
script: |
argocd --grpc-web login argo.10.10.52.7.nip.io:32443 --username sa8001 --password ios2011a --insecure
argocd --grpc-web app sync intermax-test --revision HEAD --insecure
argocd --grpc-web app wait intermax-test --health --insecure
argocd --grpc-web app wait intermax-test --health --insecure

View File

@@ -2,4 +2,4 @@ variables:
reg: "harbor.elppa.xyz"
reg_id: "sa_8001"
reg_pw: "Ios2011a!"
ver: "test19"
ver: "test20"