Skip to content

Commit 97a93d2

Browse files
authored
[DDING-000] 로그 저장 위치 절대경로로 변경 (#318)
1 parent d707c92 commit 97a93d2

File tree

3 files changed

+37
-38
lines changed

3 files changed

+37
-38
lines changed

.github/workflows/build-test.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: build-test.yml
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- develop
7+
- main
8+
9+
jobs:
10+
build_and_push:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check Out Repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up JDK 17
17+
uses: actions/setup-java@v3
18+
with:
19+
distribution: 'temurin'
20+
java-version: '17'
21+
22+
- name: Gradle Caching
23+
uses: actions/cache@v3
24+
with:
25+
path: |
26+
~/.gradle/caches
27+
~/.gradle/wrapper
28+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
29+
restore-keys: |
30+
${{ runner.os }}-gradle-
31+
32+
- name: Grant execute permission for gradlew
33+
run: chmod +x gradlew
34+
35+
- name: CI Test
36+
run: ./gradlew clean build

.github/workflows/sonar_cloud.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

promtail/promtail-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ scrape_configs:
1212
- localhost
1313
labels:
1414
job: application_logs
15-
__path__: logs/application*.log
15+
__path__: /var/logs/application*.log

0 commit comments

Comments
 (0)