-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
33 lines (25 loc) · 992 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This file is a template, and might need editing before it works on your project.
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
# you can delete this line if you're not using Docker
image: rsalian/centos-sshpass
before_script:
- echo "Before script section"
- chmod 600 /builds/zzeeee/elitsyPiligrim/id2_rsa
- scp -C -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /builds/zzeeee/elitsyPiligrim/id2_rsa -r /builds/zzeeee/elitsyPiligrim/* zzeee@151.248.116.2:/var/www/eltest
- echo "For example you might run an update here or install a build dependency"
after_script:
- echo "After script section"
- echo "For example you might do some cleanup here"
build1:
stage: build
script:
- echo "Do your build here"
test1:
stage: test
script:
- echo "Do a test here"
- echo "For example run a test suite"
deploy1:
stage: deploy
script:
- echo "Do your deploy here"