hyelie
hyelie
Hyeil Jeong
       
글쓰기    관리    수식입력
  • 전체보기 (495)
    • PS (283)
      • Algorithm (28)
      • PS Log (244)
      • Contest (6)
      • Tips (5)
    • Development (52)
      • Java (14)
      • Spring (23)
      • SQL (2)
      • Node.js (2)
      • Socket.io (3)
      • Study (4)
      • Utils (4)
    • DevOps (36)
      • Git (5)
      • Docker (4)
      • Kubernetes (2)
      • GCP (3)
      • Environment Set Up (8)
      • Tutorial (12)
      • Figma (2)
    • CS (74)
      • OOP (7)
      • OS (24)
      • DB (2)
      • Network (24)
      • Architecture (0)
      • Security (2)
      • Software Design (0)
      • Parallel Computing (15)
    • Project (15)
      • Project N2T (5)
      • Project ASG (0)
      • Project Meerkat (1)
      • Model Checking (7)
      • Ideas (2)
    • 내가 하고싶은 것! (34)
      • Plan (16)
      • Software Maestro (10)
      • 취준 (8)
hELLO · Designed By 정상우.
hyelie

hyelie

DevOps/GCP

[GCP] Cloud IP가 바뀌었을 때, 수정해야 할 것

 

바로 앞 포스팅에서 cloud의 external/public ip가 바뀌면 4가지를 바꾸어야 한다.

 

1) jenkins - gitlab webhook ip 변경

jenkins 구성 - gitlab webhook ip를 gitlab에 재등록해야 함.

 

2) sonarqube ip 재등록

jenkinsfile에 있는

 stage('SonarQube Analysis'){
            steps{
                withSonarQubeEnv('sonar-server'){
                    sh './gradlew sonarqube -Dsonar.projectKey=ciserver -Dsonar.host.url=http://35.225.76.162:9000 -Dsonar.login=8ec502617dd7b039e3179fadb5ec83f0127544cc'
                }
            }
        }

이부분의 IP만 바꾸면 된다.

 

3) sonarqube webhook 변경

webhook의 jenkins ip를 바꾸면 된다.

 

4) jenkins sonar server ip 변경

jenkins 관리 - 시스템 설정 - sonarqube servers ip 변경.

'DevOps > GCP' 카테고리의 다른 글

[GCP] GKE 중지시키기  (0) 2022.10.05
[GCP] GCP 기본 설정 - SSH로 접속하기 & 포트 열기 & docker 설치 & 고정 IP  (0) 2022.10.05
    hyelie
    hyelie

    티스토리툴바