{"id":24298383,"url":"https://github.com/petegoo/concourse-codebuild-resource","last_synced_at":"2025-07-18T10:07:07.234Z","repository":{"id":56145043,"uuid":"115168982","full_name":"PeteGoo/concourse-codebuild-resource","owner":"PeteGoo","description":"Allows Concourse to interact with AWS Codebuild projects","archived":false,"fork":false,"pushed_at":"2020-11-27T07:59:19.000Z","size":24,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T20:50:16.893Z","etag":null,"topics":["aws-codebuild","codebuild","concourse"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeteGoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-23T03:58:57.000Z","updated_at":"2024-04-01T22:13:35.000Z","dependencies_parsed_at":"2022-08-15T13:31:18.228Z","dependency_job_id":null,"html_url":"https://github.com/PeteGoo/concourse-codebuild-resource","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PeteGoo/concourse-codebuild-resource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeteGoo%2Fconcourse-codebuild-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeteGoo%2Fconcourse-codebuild-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeteGoo%2Fconcourse-codebuild-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeteGoo%2Fconcourse-codebuild-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeteGoo","download_url":"https://codeload.github.com/PeteGoo/concourse-codebuild-resource/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeteGoo%2Fconcourse-codebuild-resource/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265738459,"owners_count":23820162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-codebuild","codebuild","concourse"],"created_at":"2025-01-16T20:59:04.382Z","updated_at":"2025-07-18T10:07:07.206Z","avatar_url":"https://github.com/PeteGoo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Codebuild Resource\n\n[![Docker Build Status](https://img.shields.io/docker/build/petegoo/concourse-codebuild-resource.svg)](https://hub.docker.com/r/petegoo/concourse-codebuild-resource)\n\nAllows Concourse to interact with [AWS Codebuild](https://aws.amazon.com/codebuild/) projects\n\n- *check:* Respond to new builds completed in Codebuild\n- *in:* Pull in artifacts from a completed Codebuild build\n- *out:* Start a new build in Codebuild, monitor logs and wait for it to complete\n\n## Resource Type Configuration\n\n```\nresource_types:\n- name: codebuild\n  type: docker-image\n  source:\n    repository: petegoo/concourse-codebuild-resource\n    tag: latest\n```\n\n## Source Configuration\nMake sure you have a Codebuild project already setup.\n\n- `project`: _Required._ The name of the codebuild project\n- `region`: _Optional_. The region the Codebuild project resides in. Defaults to the value in the worker instance metadata.\n- `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.\n\n```\nresources:\n- name: my-project-codebuild\n  type: codebuild\n  source:\n    project: my_project\n```\n\n## Behaviour\n\n### `out`: Starts a new build of a Codebuild project\nStart a codebuild build of the project configured in the source, optionally overriding the build parameters.\n\nThe concourse build will print the build output from the codebuild cloudwatch log group and wait for the build to complete.\n\nAfter a successful build, the `out` operation will fetch any configured artifacts generated by codebuild from their location in S3.\n\n#### Parameters\n\nOptional:\n- `source_version`: The source version supplied to the codebuild sourceVersion parameter.\n- `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 resource\n- `env_var_overrides`: A list of values and their override values. See below\n- `build_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-skeleton`\n\n#### Examples\n\n```\njobs:\n\n- name: build-my-project\n  plan:\n  - put: my-project-codebuild\n\n\nresources:\n- name: my-project-codebuild\n  type: codebuild\n  source:\n    project: my_project\n\nresource_types:\n- name: codebuild\n  type: docker-image\n  source:\n    repository: petegoo/concourse-codebuild-resource\n    tag: latest\n```\n\n##### Overriding Environment Variables\n\nYou can override specific environment variables by including them in your\nbuild `params`.\n\n```\njobs:\n\n- name: build-my-project\n  plan:\n  - put: my-project-codebuild\n    params:\n      env_var_overrides:\n        FOO: foo\n        BAR: bar\n```\n\n### `in`: Get the output artifacts from a completed Codebuild build\n\nFetch the build details and artifacts from a completed Codebuild build.\n\n#### Parameters\n\nThere are currently no configurable parameters.\n\n\n### `check`: Check for new builds\n\nTrigger when a build has been completed.\n\n#### Parameters\n\nThere are currently no configurable parameters.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetegoo%2Fconcourse-codebuild-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetegoo%2Fconcourse-codebuild-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetegoo%2Fconcourse-codebuild-resource/lists"}