Skip to content

Commit

Permalink
ci : redis 버전 배포
Browse files Browse the repository at this point in the history
docs : 성능테스트 스크립트 호출 ip 변경
feat : schedule 환경변수 redis로 변경
  • Loading branch information
ugs1575 committed Dec 17, 2024
1 parent ace81c1 commit 56ffdce
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
source: build/libs/*.jar
target: /app

# - name: Deploy to Server2
# uses: appleboy/[email protected]
# with:
# host: ${{ secrets.SERVER_HOST2 }} # 서버 IP
# username: ${{ secrets.SERVER_USER }} # 서버 사용자 이름
# password: ${{ secrets.SERVER_PASSWORD }} # 서버 비밀번호
# source: build/libs/*.jar
# target: /app
- name: Deploy to Server2
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST2 }} # 서버 IP
username: ${{ secrets.SERVER_USER }} # 서버 사용자 이름
password: ${{ secrets.SERVER_PASSWORD }} # 서버 비밀번호
source: build/libs/*.jar
target: /app

# Spring Boot 애플리케이션 실행 (Optional)
- name: Restart Spring Boot Application
Expand All @@ -53,11 +53,11 @@ jobs:
script: |
/app/deploy.sh
# - name: Restart Spring Boot Application2
# uses: appleboy/[email protected]
# with:
# host: ${{ secrets.SERVER_HOST2 }}
# username: ${{ secrets.SERVER_USER }}
# password: ${{ secrets.SERVER_PASSWORD }}
# script: |
# /app/deploy.sh
- name: Restart Spring Boot Application2
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST2 }}
username: ${{ secrets.SERVER_USER }}
password: ${{ secrets.SERVER_PASSWORD }}
script: |
/app/deploy.sh
2 changes: 1 addition & 1 deletion src/docs/js/stress_test3_spike.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const userIds = new redis.Client({
},
});

const BASE_URL = 'http://49.50.175.80:8080';
const BASE_URL = 'http://101.101.209.62';
// const BASE_URL = 'http://localhost:8080';
const COUPON_ID = 1;
const listKey = 'stress-test';
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring.profiles.include=real-db
spring.sql.init.mode=never
schedule.active=messageQ
schedule.active=redis
management.endpoints.web.exposure.include=*
server.tomcat.mbeanregistry.enabled=true
logging.level.com.zaxxer.hikari=TRACE
logging.level.com.zaxxer.hikari=TRACE
logging.level.com.zaxxer.hikari.HikariConfig=DEBUG

0 comments on commit 56ffdce

Please sign in to comment.