File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313 runs-on : ubuntu-latest
1414
15+ # ν
μ€νΈ(contextLoads λ±)λ μ€μ prod DB/Redisκ° μλλΌ CI μμμ λμ°λ
16+ # μμ 컨ν
μ΄λλ₯Ό λ°λΌλ³΄κ² νλ€ (μ격 prod νκ²½μ μ§μ μμ‘΄νμ§ μλλ‘).
17+ services :
18+ postgres :
19+ image : postgres:15
20+ env :
21+ POSTGRES_DB : runnect
22+ POSTGRES_USER : runnect
23+ POSTGRES_PASSWORD : runnect_local_password
24+ ports :
25+ - 5432:5432
26+ options : >-
27+ --health-cmd pg_isready
28+ --health-interval 10s
29+ --health-timeout 5s
30+ --health-retries 5
31+ redis :
32+ image : redis:7
33+ ports :
34+ - 6379:6379
35+ options : >-
36+ --health-cmd "redis-cli ping"
37+ --health-interval 10s
38+ --health-timeout 5s
39+ --health-retries 5
40+
1541 steps :
1642 - uses : actions/checkout@v3
1743 - name : Set up JDK 11
4268 run : chmod +x gradlew
4369
4470 - name : Build with Gradle
45- run : ./gradlew build -x test
71+ run : ./gradlew build
72+ env :
73+ SPRING_DATASOURCE_URL : jdbc:postgresql://localhost:5432/runnect
74+ SPRING_DATASOURCE_USERNAME : runnect
75+ SPRING_DATASOURCE_PASSWORD : runnect_local_password
76+ SPRING_DATA_REDIS_HOST : localhost
You canβt perform that action at this time.
0 commit comments