Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fasilkom UI Open Source Software
Kape
Commits
b89ec015
Commit
b89ec015
authored
Mar 09, 2017
by
Zamil Majdy
Browse files
#140382397 #4 Debug CI
parent
4372e95b
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b89ec015
...
...
@@ -9,22 +9,27 @@ test:
-
python manage.py migrate
-
python manage.py test
-
sudo apt-get install sshpass
-
git fetch
-
git status
-
git checkout -b ci_processing
-
git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
-
git config --global user.email "gitlab@autodeploy.com"
-
git config --global user.name "Gitlab Autodeploy"
-
git add -A
-
git commit -m "GitLab Auto Deployment"
-
sshpass -p yukcarikape git push deployment
UserStory1:master
-
sshpass -p yukcarikape git push deployment
ci_processing:master --force
staging
:
type
:
deploy
script
:
-
apt-get update -qy
-
sudo apt-get install sshpass
-
git
fetch
-
git
checkout -b ci_processing
-
git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
-
sshpass -p yukcarikape git push deployment develop:master
-
git config --global user.email "gitlab@autodeploy.com"
-
git config --global user.name "Gitlab Autodeploy"
-
git add -A
-
git commit -m "GitLab Auto Deployment"
-
sshpass -p yukcarikape git push deployment ci_processing:master --force
only
:
-
develop
...
...
@@ -33,8 +38,12 @@ production:
script
:
-
apt-get update -qy
-
sudo apt-get install sshpass
-
git
fetch
-
git
checkout -b ci_processing
-
git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
-
sshpass -p yukcarikape git push deployment master:master
-
git config --global user.email "gitlab@autodeploy.com"
-
git config --global user.name "Gitlab Autodeploy"
-
git add -A
-
git commit -m "GitLab Auto Deployment"
-
sshpass -p yukcarikape git push deployment ci_processing:master --force
only
:
-
master
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment