{"id":18419850,"url":"https://github.com/telia-oss/concourse-tasks","last_synced_at":"2025-06-16T15:12:02.550Z","repository":{"id":54849212,"uuid":"108899052","full_name":"telia-oss/concourse-tasks","owner":"telia-oss","description":"Common concourse tasks.","archived":false,"fork":false,"pushed_at":"2021-01-25T15:36:05.000Z","size":94,"stargazers_count":3,"open_issues_count":3,"forks_count":5,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-07T13:37:33.385Z","etag":null,"topics":["concourse","concourse-tasks","terraform"],"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/telia-oss.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":"CODEOWNERS","security":null,"support":null}},"created_at":"2017-10-30T19:32:18.000Z","updated_at":"2023-07-25T14:12:30.000Z","dependencies_parsed_at":"2022-08-14T04:40:45.455Z","dependency_job_id":null,"html_url":"https://github.com/telia-oss/concourse-tasks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/telia-oss/concourse-tasks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telia-oss%2Fconcourse-tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telia-oss%2Fconcourse-tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telia-oss%2Fconcourse-tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telia-oss%2Fconcourse-tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/telia-oss","download_url":"https://codeload.github.com/telia-oss/concourse-tasks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telia-oss%2Fconcourse-tasks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260183300,"owners_count":22971201,"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":["concourse","concourse-tasks","terraform"],"created_at":"2024-11-06T04:18:39.697Z","updated_at":"2025-06-16T15:12:02.523Z","avatar_url":"https://github.com/telia-oss.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Concourse Tasks\n\nThis repository contains reusable concourse tasks. Tasks in Concourse are essentially build steps which are\nrun within a container, and can be based off any image found on Docker Hub or in a private repository. This\nmeans that we get reproducible environments, and that tasks can be written in any language we'd like.\n\nThe goal is to create tasks for common operations once in this repository, and then reuse them\nacross different projects, so that everybody benefits from each others ideas and improvements.\n\n## Usage\n\nThe recommended way of using this repository is to declare it as a resource in your pipeline:\n\n```yml\nresources:\n  - name: common-tasks\n    type: git\n    source:\n      uri: git@github.com:telia-oss/concourse-tasks.git\n      branch: master\n\n```\n\nIn order to access the tasks in the repository, you pull them into a job (together with your project, here called `master-branch`):\n\n```yml\njobs:\n  - name: deploy-terraform\n    plan:\n    - aggregate:\n      - get: master-branch\n        trigger: true\n      - get: common-tasks\n        params: { submodules: [ terraform ] }\n\n```\n\nIn the example, we are pulling in just the `concourse-tasks/terraform` directory and making it available\nas `common-tasks/terraform` to tasks in our job. So to use the task we simply declare:\n\n```yml\n    - task: jump-account\n      file: common-tasks/terraform/0.11.1.yml\n      input_mapping: { source: master-branch }\n      params:\n        command: test\n        cache: true\n        directories: |\n          terraform/concourse\n          terraform/vault\n```\n\nIn the example, `file:` links to the task definition with the same name found in this repository, while\n`input_mapping` is used to align the [expected input](https://github.com/telia-oss/concourse-tasks/blob/master/terraform/0.11.1.yml#L10)\nto the task with the `get:` resources. Everything under `params:` are parameters passed to and [expected by the task](https://github.com/telia-oss/concourse-tasks/blob/master/terraform/0.11.1.yml#L13).\nYou can see how the task will be run [here](https://github.com/telia-oss/concourse-tasks/blob/master/terraform/terraform.sh#L105-L116).\n\n## Issues\n\nFeel free to submit issues to this repository. Please include a detailed description.\n\n## Contributing\n\nHave at it, and submit a pull-request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelia-oss%2Fconcourse-tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelia-oss%2Fconcourse-tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelia-oss%2Fconcourse-tasks/lists"}