Developing and deploying applications rapidly to users requires a working pipeline that accepts the user code (usually via a Git repository). AWS CodeArtifact was announced in 2020. It’s a secure and scalable artifact management product that easily integrates with other AWS products and services. CodeArtifact allows you to publish, store, and view packages, list package dependencies, and share your application’s packages.
This repository wil help build a simple DevOps pipeline for a sample JAVA application (JAR file) to be built with Maven. The Pipeline is built on a sample Java application called java-events. You can find numerous sample applications on GitHub here.
This solution is built on AWS CDK. Please go through below webpages to setup initial CDK Toolkit and other important tools -
Clone the GitHub repository as follows:
git clone https://github.com/aws-samples/aws-cdk-codeartifact-pipeline-sample.git
The AWS CDK code requires the following packages in order to build the CI/CD pipeline:
@aws-cdk/core
@aws-cdk/aws-codepipeline
@aws-cdk/aws-codepipeline-actions
@aws-cdk/aws-codecommit
@aws-cdk/aws-codebuild
@aws-cdk/aws-iam
@aws-cdk/cloudformation-include
npm i @aws-cdk/core @aws-cdk/aws-codepipeline @aws-cdk/aws-codepipeline-actions @aws-cdk/aws-codecommit @aws-cdk/aws-codebuild @aws-cdk/pipelines @aws-cdk/aws-iam @ @aws-cdk/cloudformation-include
npm run build
cdk synth
cdk deploy
See CONTRIBUTING.md for more information.
See CODE_OF_CONDUCT.md for more information.
This project is licensed under the MIT-0 License.