https://github.com/cloud-gov/pipeline-tasks
Concourse common tasks
https://github.com/cloud-gov/pipeline-tasks
Last synced: 6 months ago
JSON representation
Concourse common tasks
- Host: GitHub
- URL: https://github.com/cloud-gov/pipeline-tasks
- Owner: cloud-gov
- License: other
- Created: 2016-02-16T20:11:45.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2025-10-28T21:12:21.000Z (8 months ago)
- Last Synced: 2025-10-28T23:18:28.795Z (8 months ago)
- Language: Shell
- Size: 232 KB
- Stars: 16
- Watchers: 10
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
## cloud.gov common Concourse pipeline tasks
This repo contains the source for some common concourse-ci.org pipeline tasks.
To include in your pipeline, define a resource named `pipeline-tasks`:
```yaml
resources:
...
- name: pipeline-tasks
type: git
source:
uri: ((pipeline-tasks-git-url))
branch: ((pipeline-tasks-git-branch))
```
Add `pipeline-tasks-git-url` and `pipeline-tasks-git-branch` to your `credentials.yml`:
```yaml
---
pipeline-tasks-git-url: https://github.com/18F/cg-pipeline-tasks.git
pipeline-tasks-git-branch: master
```
## Task usage
### bosh-errand
### decrypt
### display
### encrypt
### finalize-bosh-release
### inspect
### spiff-merge
### terraform-apply
### terraform-destroy
### terraform-state-to-yaml
Reads a terraform state file to get the terraform `outputs` and converts to yaml for use in spiff merging into other BOSH templates.
Requires:
- STATE_FILE: The terraform state file
Outputs:
- terraform-yaml/state.yml
```yaml
- get: my-other-manifest-bits
- get: s3-terraform-state
- get: pipeline-tasks
- task: terraform-yaml
file: pipeline-tasks/terraform-state-to-yaml.yml
params:
STATE_FILE: s3-terraform-state/terraform.tfstate
- task: generate-manifest
file: pipeline-tasks/spiff-merge.yml
config:
inputs:
- name: pipeline-tasks
- name: my-other-manifest-bits
params:
OUTPUT_FILE: spiff-merge/manifest.yml
SOURCE_FILE: my-other-manifest-bits/manifest.yml
MERGE_FILES: terraform-yaml/state.yml
```
### upload-release
### write-file