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
PMPL
Class Project
DIGIPUS
Commits
9763623f
Commit
9763623f
authored
Sep 15, 2020
by
Ichlasul Affan
Browse files
Updated GitLab CI to run SonarQube for all branches.
parent
9ff17a38
Pipeline
#55658
passed with stages
in 12 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9763623f
...
...
@@ -52,16 +52,15 @@ SonarScanner:
-Dsonar.login=$SONARQUBE_TOKEN
-Dsonar.branch.name=$CI_COMMIT_REF_NAME
-Dsonar.projectKey=$SONARQUBE_PROJECT_KEY
only
:
-
master
-
staging
Staging
:
Deployment
:
image
:
ruby:2.4
stage
:
deploy
only
:
refs
:
-
staging
-
master
when
:
manual
allow_failure
:
true
before_script
:
-
gem install dpl
-
wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh
...
...
@@ -72,21 +71,3 @@ Staging:
environment
:
name
:
staging
url
:
$HEROKU_APP_HOST_STAGING
# Deployment:
# image: ruby:2.4
# stage: deploy
# only:
# refs:
# - master
# before_script:
# - gem install dpl
# - wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh
# script:
# - dpl --provider=heroku --app=$HEROKU_APPNAME --api-key=$HEROKU_APIKEY
# - export HEROKU_API_KEY=$HEROKU_APIKEY
# - heroku run --app $HEROKU_APPNAME migrate
# environment:
# name: production
# url: $HEROKU_APP_HOST
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