Skip to content

an AWS CDK code pipeline for internal python packages CICD onto AWS codeartifact

Notifications You must be signed in to change notification settings

gshanbhag525/internal_python_packages_AWS_CICD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS CDK CICD for internal python packages

an AWS CDK code pipeline for internal python packages CICD onto AWS codeartifact

Deployment

To deploy this project

  1. Install aws cdk.
npm install -g aws-cdk
  1. check if cdk is installed
cdk --version
  1. Synth cdk project to create cloudformation templates
cdk synth

Note: This CDK project is AWS Account agnostic. Use aws cli profile while deploying and diff

  1. Create an AWS CLI profile:
aws configure --profile guneshs

or if you want to set this profile as default

aws configure

Pass aws Acc id, secret access key id, access key id, aws region, outfomat : json

  1. Before deploying, Check what services/infra resources will be altered or created:
cdk diff --profile guneshs
  1. Deploy the cdk
cdk deploy --profile guneshs
  1. It will generate a codecommit repo named "ca-pipeline-repository". You can push your internal packages onto that repo and this stack will take care of you package building i.e .whl and pushing onto the aws codeartifact for other devs to pip install the package.

About

an AWS CDK code pipeline for internal python packages CICD onto AWS codeartifact

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published