Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sitodo PMPL
Manage
Activity
Members
Labels
Plan
Issues
8
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PMPL
Examples
Sitodo PMPL
Commits
fa8b67c7
Commit
fa8b67c7
authored
1 year ago
by
Daya Adianto
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
644a4155
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#183394
passed with warnings with stages
in 8 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-6
11 additions, 6 deletions
.gitlab-ci.yml
with
11 additions
and
6 deletions
.gitlab-ci.yml
+
11
−
6
View file @
fa8b67c7
...
...
@@ -40,6 +40,7 @@ stages:
when
:
never
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when
:
always
allow_failure
:
true
build
:
stage
:
build
...
...
@@ -102,7 +103,9 @@ test:
deploy
:
stage
:
deploy
image
:
docker.io/flyio/flyctl:v0.1.103
image
:
name
:
docker.io/flyio/flyctl:v0.1.103
entrypoint
:
[
"
"
]
variables
:
FLY_API_TOKEN
:
$PRODUCTION_FLY_API_TOKEN
rules
:
!reference
[
.upstream-deploy-production-rules
,
rules
]
...
...
@@ -111,6 +114,7 @@ deploy:
environment
:
name
:
production
url
:
https://sitodo-pmpl.fly.dev
dependencies
:
[]
# TODO: Run only the BDD test suite, excluding unit and functional tests
bdd-test
:
...
...
@@ -125,11 +129,9 @@ bdd-test:
SPRING_DATASOURCE_PASSWORD
:
sitodo_cicd
POSTGRES_USER
:
sitodo
POSTGRES_PASSWORD
:
sitodo_cicd
rules
:
-
!reference
[
.upstream-deploy-production-rules
,
rules
]
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when
:
always
allow_failure
:
true
DEBUG
:
"
false"
TRACE
:
"
false"
rules
:
!reference
[
.upstream-deploy-production-rules
,
rules
]
needs
:
-
job
:
build
-
job
:
deploy
...
...
@@ -140,6 +142,7 @@ bdd-test:
-
sed -i "s#http://localhost:8080#https://sitodo-pmpl.fly.dev#" src/test/resources/serenity.conf
script
:
-
mvn clean verify
dependencies
:
[]
artifacts
:
paths
:
-
target/site/serenity
...
...
@@ -152,6 +155,8 @@ visualize-coverage:
-
python /opt/cover2cover.py target/site/jacoco/jacoco.xml $CI_PROJECT_DIR/src/main/java > target/cobertura.xml
needs
:
-
test
dependencies
:
-
test
artifacts
:
reports
:
coverage_report
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment