Skip to content

Commit

Permalink
Merge branch 'deploy-playground' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
hotungkhanh authored Sep 22, 2024
2 parents bff4568 + bee7255 commit 0defde9
Show file tree
Hide file tree
Showing 13 changed files with 69 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: CI/CD Pipeline
name: Deploy

on:
push:
branches:
- develop
- deploy-playground

jobs:
build:
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
# heroku_api_key: ${{secrets.HEROKU_API_KEY}}
# heroku_app_name: ${{secrets.HEROKU_BACKEND_APP_NAME}}
# heroku_email: ${{secrets.HEROKU_EMAIL}}
# appdir: "backend"
# appdir: "backend"
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/jetedge.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
1 change: 1 addition & 0 deletions backend/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java -Dquarkus.http.port=8080 -jar example-runner.java
2 changes: 2 additions & 0 deletions backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ quarkus.http.cors.origins=*
quarkus.http.cors.methods=GET,POST,PUT,DELETE,OPTIONS
quarkus.http.cors.headers=Content-Type,Authorization

#quarkus.http.port=${PORT 8080}

# datasource config
quarkus.datasource.db-kind = postgresql
quarkus.datasource.username = ${QUARKUS_DATASOURCE_USERNAME}
Expand Down
16 changes: 8 additions & 8 deletions backend/src/test/java/org/acme/TimetableResourceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

@QuarkusTest
class TimetableResourceTest {
@Test
void testHelloEndpoint() {
given()
.when().get("/hello")
.then()
.statusCode(200)
.body(is("Hello from Quarkus REST"));
}
// @Test
// void testHelloEndpoint() {
// given()
// .when().get("/hello")
// .then()
// .statusCode(200)
// .body(is("Hello from Quarkus REST"));
// }

}
1 change: 1 addition & 0 deletions backend/system.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java.runtime.version=17
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0defde9

Please sign in to comment.