Fakultas Ilmu Komputer UI
Skip to content
GitLab
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
1a2f2f0b
Commit
1a2f2f0b
authored
Mar 08, 2017
by
Zamil Majdy
Browse files
#140382397 #4 Test Autodeploy using UserStory1
parent
a16088d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1a2f2f0b
...
...
@@ -8,15 +8,17 @@ test:
-
pip install -r requirements.txt
-
python manage.py migrate
-
python manage.py test
-
git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
-
sudo apt-get install sshpass
-
sshpass -p yukcarikape git push deployment develop:master
-
git fetch
-
git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
-
sshpass -p yukcarikape git push deployment UserStory1:master
staging
:
type
:
deploy
script
:
-
apt-get update -qy
-
sudo apt-get install sshpass
-
git fetch
-
git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
-
sshpass -p yukcarikape git push deployment develop:master
only
:
...
...
@@ -27,6 +29,7 @@ production:
script
:
-
apt-get update -qy
-
sudo apt-get install sshpass
-
git fetch
-
git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
-
sshpass -p yukcarikape git push deployment master:master
only
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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