Skip to content

Commit

Permalink
chore: pinpoint ip 설정
Browse files Browse the repository at this point in the history
- action secrets 등록
- CD시 해당 값으로 대체
  • Loading branch information
hoa0217 committed Mar 10, 2024
1 parent 7b2067c commit 06deea4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
touch ./application.yml
echo "${{ secrets.APPLICATION_YAML }}" | base64 --decode > ./application.yml
shell: bash
- name: Set Pinpoint Ip
run: |
cd ./pinpoint-agent-2.5.3/profiles/release
sed -i 's/127.0.0.1/${{ secrets.PINPOINT_IP }}/g' pinpoint.config
shell: bash
# Gradle 빌드 (테스트 제외)
- name: Build with Gradle
run: ./gradlew clean build -x test
Expand Down
4 changes: 2 additions & 2 deletions pinpoint-agent-2.5.3/profiles/release/pinpoint.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ profiler.transport.module=GRPC
###########################################################
# gRPC Configuration #
###########################################################
profiler.transport.grpc.collector.ip=124.56.60.125
profiler.transport.grpc.collector.ip=127.0.0.1


###########################################################
# Thrift Configuration #
###########################################################
profiler.collector.ip=124.56.60.125
profiler.collector.ip=127.0.0.1


###########################################################
Expand Down

0 comments on commit 06deea4

Please sign in to comment.