Skip to content

Commit

Permalink
Merge pull request #179 from yudonggeun/chore/platform
Browse files Browse the repository at this point in the history
[infra] 오라클 클라우드 k8s 배포 설정
  • Loading branch information
yudonggeun authored Jun 17, 2024
2 parents 58df014 + 62b9e32 commit f1df7b4
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 163 deletions.
10 changes: 9 additions & 1 deletion auth/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ tasks.asciidoctor {
dependsOn(tasks.test)
}

val hostname = "152.70.145.249"

openapi3 {
setServer("http://localhost/auth")
setServer("http://$hostname/auth")
title = "Auth API"
description = "API document"
version = "0.1.0"
Expand All @@ -82,6 +84,12 @@ openapi3 {
jib {
from {
image = "eclipse-temurin:21-jre"
platforms {
platform {
architecture = "arm64"
os = "linux"
}
}
}
to {
image = "youdong98/kpring-auth-application"
Expand Down
23 changes: 0 additions & 23 deletions infra/charts/swagger/.helmignore

This file was deleted.

9 changes: 0 additions & 9 deletions infra/charts/swagger/Chart.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions infra/charts/swagger/templates/_helpers.tpl

This file was deleted.

28 changes: 0 additions & 28 deletions infra/charts/swagger/templates/deployment.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions infra/charts/swagger/templates/service.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions infra/charts/swagger/templates/tests/test-connection.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions infra/charts/swagger/values.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions infra/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,11 @@ services:
image: registry:latest
ports:
- "5000:5000"

swagger:
image: swaggerapi/swagger-ui
ports:
- "8080:8080"
environment:
URLS: "[{name: 'auth', url: 'http://144.24.59.91/auth/static/openapi3.yaml'},{name: 'user', url: 'http://144.24.59.91/user/static/openapi3.yaml'}, {name: 'server', url: 'http://144.24.59.91/server/static/openapi3.yaml'}]"

10 changes: 9 additions & 1 deletion server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ kapt {
annotationProcessor("org.springframework.data.mongodb.repository.support.MongoAnnotationProcessor")
}

val hostname = "152.70.145.249"

openapi3 {
setServer("http://localhost/server")
setServer("http://$hostname/server")
title = "Server API"
description = "API document"
version = "0.1.0"
Expand All @@ -79,6 +81,12 @@ openapi3 {
jib {
from {
image = "eclipse-temurin:21-jre"
platforms {
platform {
architecture = "arm64"
os = "linux"
}
}
}
to {
image = "youdong98/kpring-server-application"
Expand Down
10 changes: 9 additions & 1 deletion user/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ dependencies {
implementation("org.springframework.restdocs:spring-restdocs-asciidoctor")
}

val hostname = "152.70.145.249"

openapi3 {
setServer("http://localhost/user")
setServer("http://$hostname/user")
title = "User API"
description = "API document"
version = "0.1.0"
Expand All @@ -63,6 +65,12 @@ openapi3 {
jib {
from {
image = "eclipse-temurin:21-jre"
platforms {
platform {
architecture = "arm64"
os = "linux"
}
}
}
to {
image = "youdong98/kpring-user-application"
Expand Down

0 comments on commit f1df7b4

Please sign in to comment.