Codefresh Step for Cloning an AWS CodeCommit Git repository
ENVIRONMENT VARIABLE | DEFAULT | TYPE | REQUIRED | DESCRIPTION |
---|---|---|---|---|
GIT_PASSWORD | null | string | Yes | AWS CodeCommit Git password |
GIT_USER | null | string | Yes | AWS CodeCommit Git username |
GitClone:
image: codefreshplugins/cfstep-codecommit
environment:
- GIT_PASSWORD=########
- GIT_USER=mygituser
Recommend putting GIT Credentials into a Shared Configuration
Note that you need to create a webhook from AWS to use this plugin - see more details in this blog post https://codefresh.io/continuous-integration/integrate-aws-codecommit-repository-codefresh/