Allows Concourse to interact with AWS Codebuild projects
1M+
Allows Concourse to interact with AWS Codebuild projects
resource_types:
- name: codebuild
type: docker-image
source:
repository: petegoo/concourse-codebuild-resource
tag: latest
Make sure you have a Codebuild project already setup.
project: Required. The name of the codebuild projectregion: Optional. The region the Codebuild project resides in. Defaults to the value in the worker instance metadata.role_arn: Optional. The role to assume before calling the command to start aws codebuild. This is not the role that Codebuild will use when it runs. Allows cross account access to Codebuild.resources:
- name: my-project-codebuild
type: codebuild
source:
project: my_project
out: Starts a new build of a Codebuild projectStart a codebuild build of the project configured in the source, optionally overriding the build parameters.
The concourse build will print the build output from the codebuild cloudwatch log group and wait for the build to complete.
After a successful build, the out operation will fetch any configured artifacts generated by codebuild from their location in S3.
Optional:
source_version: The source version supplied to the codebuild sourceVersion parameter.source_version_file: The path to a file that contains the source version to be supplied to the codebuild sourceVersion parameter. Useful for mapping from e.g. a git resourceenv_var_overrides: A list of values and their override values. See belowbuild_input_file: The path to a file that contains the entire build call that will be passed to the AWS cli command. For an example see aws codebuild start-build --generate-cli-skeletonjobs:
- name: build-my-project
plan:
- put: my-project-codebuild
resources:
- name: my-project-codebuild
type: codebuild
source:
project: my_project
resource_types:
- name: codebuild
type: docker-image
source:
repository: petegoo/concourse-codebuild-resource
tag: latest
You can override specific environment variables by including them in your
build params.
jobs:
- name: build-my-project
plan:
- put: my-project-codebuild
params:
env_var_overrides:
FOO: foo
BAR: bar
in: Get the output artifacts from a completed Codebuild buildFetch the build details and artifacts from a completed Codebuild build.
There are currently no configurable parameters.
check: Check for new buildsTrigger when a build has been completed.
There are currently no configurable parameters.
Content type
Image
Digest
Size
59.9 MB
Last updated
about 8 years ago
docker pull petegoo/concourse-codebuild-resource