项目作者: fuinorg

项目描述 :
The Atlassian default build environment Docker image for Bitbucket Pipelines plus the AWS Command Line Interface (CLI)
高级语言:
项目地址: git://github.com/fuinorg/atlassian-default-image-awscli.git
创建时间: 2017-10-29T05:32:20Z
项目社区:https://github.com/fuinorg/atlassian-default-image-awscli

开源协议:

下载


atlassian-default-image-awscli

The Atlassian default build environment Docker image for Bitbucket Pipelines plus the AWS Command Line Interface (CLI).

Automated Docker Build

Version

  1. atlassian/default-image:1.70

Usage

Simply use this image in your ‘bitbucket-pipelines.yml’ file:

  1. image: fuinorg/atlassian-default-image-awscli:latest
  2. pipelines:
  3. default:
  4. - step:
  5. script:
  6. - aws codebuild start-build --project-name "<your-project-name>"

Above configuration is an example on how to start an AWS CodeBuild using the Bitbucket pipeline.

Be aware that you need to provide the secret environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_DEFAULT_REGION via Bitbucket’s pipeline settings.