Skip to content

Commit

Permalink
Merge pull request #170 from moit03/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
OKSUchun authored Jun 5, 2024
2 parents 69e799e + 6765a0f commit 96b0023
Show file tree
Hide file tree
Showing 94 changed files with 1,995 additions and 877 deletions.
4 changes: 4 additions & 0 deletions .ebextensions/01_install_redis_cli.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
commands:
01_install_redis_cli:
command: "sudo yum install -y redis"
ignoreErrors: "false"
63 changes: 0 additions & 63 deletions .github/workflows/deploy.yml

This file was deleted.

119 changes: 0 additions & 119 deletions .github/workflows/dev.yml

This file was deleted.

95 changes: 0 additions & 95 deletions .github/workflows/divide.yml

This file was deleted.

24 changes: 8 additions & 16 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: make env.properties
if: |
contains(github.ref, 'main') ||
contains(github.ref, 'dev')
run: |
touch env.properties
echo "${{ secrets.ENV_PROPERTIES }}" > env.properties
shell: bash
# - name: make env.properties
# if: |
# contains(github.ref, 'main') ||
# contains(github.ref, 'dev')
# run: |
# touch env.properties
# echo "${{ secrets.ENV_PROPERTIES }}" > env.properties
# shell: bash

- name: make application-dev
if: |
Expand All @@ -55,14 +55,6 @@ jobs:
- name: Build with Gradle
run: ./gradlew build -x test

# 현재시간가져오기
- name: Get current time
uses: josStorer/get-current-time@v2.0.2
id: current-time
with:
format: YYYY-MM-DDTHH-mm-ss
utcOffset: "+09:00"

# docker build & push
# Dockerfile을 통해 이미지화
# push to docker hub
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/feat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: make env.properties
run: |
touch env.properties
echo "${{ secrets.ENV_PROPERTIES }}" > env.properties
shell: bash
# - name: make env.properties
# run: |
# touch env.properties
# echo "${{ secrets.ENV_PROPERTIES }}" > env.properties
# shell: bash

- name: Build with Gradle
run: ./gradlew build -x test
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,12 @@ gradle-app.setting
.idea/
env.properties
prometheus.yml
application-dev.properties
application-local.properties
application-sql.properties

### Logging files ###
/log

# End of https://www.toptal.com/developers/gitignore/api/windows,macos,intellij,gradle
/.idea/.name
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:17-alpine

COPY env.properties /env.properties
#COPY env.properties /env.properties
COPY src/main/resources/application-dev.properties /src/main/resources/application-dev.properties

ARG JAR_FILE=build/libs/*.jar
Expand Down
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator' // actuator
implementation 'io.micrometer:micrometer-registry-prometheus'

// postgresql, postgis 관련 util
implementation 'io.hypersistence:hypersistence-utils-hibernate-63:3.7.4'
implementation 'org.hibernate:hibernate-spatial:6.4.4.Final'
implementation group: 'org.hibernate.orm', name: 'hibernate-spatial', version: '6.4.4.Final'

implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
Expand Down Expand Up @@ -75,5 +80,4 @@ tasks.named('test') {

jar {
enabled = false
}

}
Loading

0 comments on commit 96b0023

Please sign in to comment.