Pipeline
앞서 생성한 Source, Build, Deploy 과정을 하나의 Pipeline으로 만들어봅니다.
Create Pipeline
서비스 선택
CodePipeline 선택
Pipelines 선택
Create pipeline 선택
Pipeline name
Source provider
Repository name
Branch name
Next 선택
Build provider
Project name
Next 선택
Deploy provider
Application name
Deployment group
Next 선택
Create pipeline 선택
Verify Pipeline
제목(title) 수정
제목이 아닌 다른 항목을 수정하여도 좋습니다.
CodeCommit 원격 저장소로 변경 사항 반영
cd ~/environment/DemoApp
git add .
git commit -m "Change title"
git push
Pipelines
명령어 입력
웹페이지 제목 변경 확인
curl <DevWebApp01 PublicIP>
# Expected output
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title> Hello World</title>
<meta name="viewport" content="initial-scale=1.0">
<link rel='stylesheet' href='webjars/bootstrap/3.2.0/css/bootstrap.min.css'>
<link rel='stylesheet' href='webjars/bootstrap/3.2.0/css/bootstrap-theme.min.css'>
<link rel='stylesheet' href='css/theme.css'>
</head>
개발 EC2 IP로 웹페이지에 접속하여도 좋습니다.
마지막으로,
끝까지 읽어주신 모든 분들께 감사드립니다.
다음 글 보기
이전 글 보기