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
cdc37a32
Commit
cdc37a32
authored
Mar 05, 2017
by
Zamil Majdy
Browse files
#140382397 #5 Add CI
parent
e1d9fcdd
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
cdc37a32
test
:
script
:
-
export DATABASE_URL=postgres://kape:kape@104.236.76.161:5432/kape
-
pip install -r requirements.txt
-
python manage.py test
staging
:
type
:
deploy
script
:
-
apt-get update -qy
-
apt-get install -y ruby-dev
-
gem install dpl
-
dpl --provider=heroku --app=gitlab-ci-python-test-staging --api-key=$HEROKU_STAGING_API_KEY
only
:
-
develop
production
:
type
:
deploy
script
:
-
apt-get update -qy
-
apt-get install -y ruby-dev
-
gem install dpl
-
dpl --provider=heroku --app=gitlab-ci-python-test-prod --api-key=$HEROKU_PRODUCTION_API_KEY
only
:
-
master
\ No newline at end of file
start.sh
View file @
cdc37a32
...
...
@@ -3,5 +3,4 @@ service ssh start
cd
/home/kape
npm
install
pip
install
-r
requirements.txt
npm run build-production
python manage.py runserver
\ No newline at end of file
npm run build-production
\ No newline at end of file
test.txt
deleted
100644 → 0
View file @
e1d9fcdd
test
Write
Preview
Supports
Markdown
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