AWS CodePipeline은 완전히 관리되는 지속적인 전달 서비스로, 빠르고 신뢰할 수 있는 응용 프로그램 및 인프라 업데이트를 위해 릴리스 파이프라인을 자동화하는 데 도움을 줍니다. CodePipeline은 빌드, 테스트 및 배포 단계를 자동화하며, 코드 변경이 있을 때마다 정의한 릴리스 모델에 따라 릴리스 프로세스를 실행합니다.
이것은 버전 관리 서비스로, 아마존에서 호스팅 및 완전히 관리되며, 데이터(문서, 이진 파일, 소스 코드)를 비공개로 저장하고 클라우드에서 관리하는 데 사용할 수 있습니다.
이것은 사용자가 Git을 알 필요가 없고 자체 소스 제어 시스템을 관리할 필요가 없거나 인프라를 확장하거나 축소할 필요가 없도록합니다. Codecommit은 Git에서 찾을 수 있는 모든 표준 기능을 지원하므로 사용자의 현재 Git 기반 도구와 원활하게 작동합니다.
열거
# Reposawscodecommitlist-repositoriesawscodecommitget-repository--repository-name<name>awscodecommitget-repository-triggers--repository-name<name>awscodecommitlist-branches--repository-name<name>awscodecommitlist-pull-requests--repository-name<name># Approval rulesawscodecommitlist-approval-rule-templatesawscodecommitget-approval-rule-template--approval-rule-template-name<name>awscodecommitlist-associated-approval-rule-templates-for-repository--repository-name<name># Get & Put files## Get a fileawscodecommitget-file--repository-namebackend-api--file-pathapp.py## Put a fileawscodecommitget-branch--repository-namebackend-api--branch-namemasteraws codecommit put-file --repository-name backend-api --branch-name master --file-content fileb://./app.py --file-path app.py --parent-commit-id <commit-id>
# SSH Keys & Clone repo## Get codecommit keysawsiamlist-ssh-public-keys#User keys for CodeCommitawsiamget-ssh-public-key--user-name<username>--ssh-public-key-id<id>--encodingSSH#Get public key with metadata# The previous command will give you the fingerprint of the ssh key# With the next command you can check the fingerprint of an ssh key and compare themssh-keygen-f.ssh/id_rsa-l-Emd5# Clone repogitclonessh://<SSH-KEY-ID>@git-codecommit.<REGION>.amazonaws.com/v1/repos/<repo-name>