Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
be-authentication-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
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
SafetyPin
be-authentication-test
Commits
a4a4f111
Commit
a4a4f111
authored
2 months ago
by
Muhammad Raihan Akbar
Browse files
Options
Downloads
Patches
Plain Diff
[REFACTOR] Update path for docker
parent
76a8ea5b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/staging-ci-cd.yml
+11
-9
11 additions, 9 deletions
.github/workflows/staging-ci-cd.yml
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
with
12 additions
and
10 deletions
.github/workflows/staging-ci-cd.yml
+
11
−
9
View file @
a4a4f111
...
@@ -32,7 +32,7 @@ jobs:
...
@@ -32,7 +32,7 @@ jobs:
uses
:
actions/upload-artifact@v4
uses
:
actions/upload-artifact@v4
with
:
with
:
name
:
java-app
name
:
java-app
path
:
app/target/*.jar
path
:
.
test
:
test
:
name
:
Test
name
:
Test
...
@@ -54,14 +54,16 @@ jobs:
...
@@ -54,14 +54,16 @@ jobs:
key
:
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key
:
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys
:
|
restore-keys
:
|
${{ runner.os }}-maven-
${{ runner.os }}-maven-
-
name
:
Test with Maven
-
name
:
Run Unit Tests
run
:
|
run
:
mvn test
mvn verify
-
name
:
Generate Coverage Report
mvn test
run
:
mvn jacoco:report
mvn jacoco:report
-
name
:
Run Regression Tests
mvn test -P regression-tests
run
:
mvn test -P regression-tests
mvn verify -P integration-tests
-
name
:
Run Integration Tests
mvn test -P uat
run
:
mvn verify -P integration-tests
-
name
:
Run User Acceptance Tests
run
:
mvn test -P uat
publish
:
publish
:
name
:
Publish Docker Image
name
:
Publish Docker Image
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
1
View file @
a4a4f111
...
@@ -18,6 +18,6 @@ ENV JDBC_STAGING_DATABASE_URL ${JDBC_STAGING_DATABASE_URL}
...
@@ -18,6 +18,6 @@ ENV JDBC_STAGING_DATABASE_URL ${JDBC_STAGING_DATABASE_URL}
ENV
JDBC_STAGING_DATABASE_USERNAME ${JDBC_STAGING_DATABASE_USERNAME}
ENV
JDBC_STAGING_DATABASE_USERNAME ${JDBC_STAGING_DATABASE_USERNAME}
WORKDIR
/app
WORKDIR
/app
COPY
./app/target/authentication-0.1
.jar app.jar
COPY
*
.jar app.jar
EXPOSE
8080
EXPOSE
8080
CMD
["java", "-jar", "app.jar"]
CMD
["java", "-jar", "app.jar"]
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