File tree Expand file tree Collapse file tree 4 files changed +701
-2
lines changed
Expand file tree Collapse file tree 4 files changed +701
-2
lines changed Original file line number Diff line number Diff line change 33
44skip_clone : true
55
6+ labels :
7+ zone : CLOUD
8+
69steps :
710 - name : Ansible playbook
811 image : itkdev/ansible-plugin:1
1316 secret :
1417 from_secret : secret
1518 host :
16- from_secret : host
19+ from_secret : prod_host
1720 path :
18- from_secret : path
21+ from_secret : prod_path
1922 user :
2023 from_secret : user
2124 playbook : ' release'
Original file line number Diff line number Diff line change 1+ when :
2+ - branch : release/*
3+ event : push
4+
5+ skip_clone : true
6+
7+ labels :
8+ zone : CLOUD
9+
10+ steps :
11+ - name : Run stg site update
12+ image : itkdev/ansible-plugin:1
13+ pull : true
14+ settings :
15+ id :
16+ from_secret : id
17+ secret :
18+ from_secret : secret
19+ host :
20+ from_secret : stg_host
21+ path :
22+ from_secret : stg_path
23+ user :
24+ from_secret : user
25+ actions :
26+ - git reset --hard
27+ - git fetch origin ${CI_COMMIT_BRANCH}
28+ - git checkout ${CI_COMMIT_BRANCH}
29+ - git pull
30+ - itkdev-docker-compose-server up -d --force-recreate
You can’t perform that action at this time.
0 commit comments