Sign inSign up

freschedevops/awspipeline

By freschedevops

•Updated over 9 years ago

Atlassian Bitbucket pipeline with AWS CLI and docker.

Image
0

10K+

freschedevops/awspipeline repository overview

The image can be used for testing as well as running Atlassian Bitbucket pipeline builds with AWS and docker integration (via AWS CLI interface). For testing, image must be run on the docker host.

The following environment variables must exist for AWS CLI commands to work properly:

AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION

For testing, docker startup command is:

docker run -it --volume=$localRepoPath:$containerRepoPath --volume=/var/run/docker.sock:/var/run/docker.sock --workdir=$containerRepoPath --memory=4g --memory-swap=4g --name pipeline --env-file=./awscontainer.env artilekt/awspipeline:latest --entrypoint=/bin/bash

where:

first --volume instruction is used to map local git directory into docker container repo path --env-file contains required environment variables To run within Atlassian Bitbucker environment, refer to this image and make sure AWS_* variables are defined.

Tag summary

Content type

Image

Digest

Size

779.1 MB

Last updated

over 9 years ago

docker pull freschedevops/awspipeline