For questions specifically related to the configuration and usage of Pipelines in Concourse - the CI system written in Go. When using this tag also include the more generic [concourse] tag where possible.
Questions tagged [concourse-pipeline]
64 questions
5
votes
2 answers
Concourse - version is missing from previous step while build docker image
Goal: Build a continuous integration pipeline for a spring boot application that runs JUnit tests, packages, builds a docker image, and finally pushes that image to Amazon Elastic Container Registry.
The pipeline that I have built is able to run the…

Loui
- 533
- 17
- 33
2
votes
0 answers
How to access a multi branch resource attribute in a concourse job?
I'm using multi branch resourcing in a concourse pipeline like so:
resources:
- name: my-resource
type: git-multibranch
source:
uri: git@github.com.../my-resource
branches: 'feature/.*'
private_key: ...
ignore-branches: ''
How…

Ivan Ochoa Hidalgo
- 31
- 1
2
votes
1 answer
Configuring Concourse CI to use AWS Secrets Manager
I have been trying to figure out how to configure the docker version of Concourse (https://github.com/concourse/concourse-docker) to use the AWS Secrets Manager and I added the following environment variables into the docker-compose file but from…

exosyphon
- 47
- 7
2
votes
1 answer
Don't run second job when first job fails in concourse
I am new to concourse and created one concourse pipeline having 2 jobs that are running sequential.
Is there a way to not run second job when first job fails?
I know that i can handle this at task level, but can i handle this at job level?

Anshita Singh
- 1,583
- 1
- 17
- 40
2
votes
2 answers
How can I store Concourse resource_types definitions in external files and import them into the pipelines?
I am having several Concourse pipelines that require the same resource_types definitions. In order to eliminate duplication, is there a way to have these resource_types being imported form other files? (e.g. linked resources)
I would expect…

Gabriel Petrovay
- 20,476
- 22
- 97
- 168
1
vote
1 answer
is there a way to skip archived concourse pipelines and unpause only un archived pipelines?
I am getting below error while unpause all our concourse pipelines using this below command.
Command: fly -t ci unpause-pipeline -a
unpaused 'pipeline-1'
unpaused 'pipeline-2'
unpaused 'pipeline-3'
unpaused 'pipeline-4'
unpaused…

Tamilselvan
- 55
- 5
1
vote
1 answer
Concourse: vars vs params
Concourse provides two concepts: vars and params. Both of them can be used to pass some values inside of a task.
params:
COMMAND: deployment.deploy
vars:
command: deployment.deploy
When should use params? is there any…

kharandziuk
- 12,020
- 17
- 63
- 121
1
vote
0 answers
How to use docker volumes in Concourse pipeline
Below is my pipeline
---
resource_types:
- name: pull-request
type: docker-image
source:
repository: teliaoss/github-pr-resource
resources:
- name: pull-request
type: pull-request
check_every: 5m
# webhook_token: ((webhook-token))
…

Chel MS
- 386
- 1
- 10
1
vote
1 answer
Concourse CI job concurrency within a single pipeline
I have a fairly simple terraform deployment pipeline with 4 jobs. 2 of them run terraform apply on commits to UAT and master branches respectively. 2 of them run terraform plan on PR's that target those branches.
Is there a way to configure groups…

Myles McDonnell
- 12,943
- 17
- 66
- 116
1
vote
1 answer
Referring to local variables in Concourse credentials file
I have the following credentials.yml file :
test: 123
test2: ((test))
When I upload a pipeline, feeding it with the credentials file , whenever test2 variable is used it is not interpolated and I'm getting a "undefined vars : test" error in…

Pablo Navais
- 179
- 1
- 2
- 12
1
vote
3 answers
Concourse pipeline build fails with error hint: Updates were rejected because the tag already exists in the remote
Concourse pipeline build fails with error hint:
Updates were rejected because the tag already exists in the remote.
demo_app-source
Updated tag 'DEMO_0.0.3' (was fb544ad)
To https://proactionus..com/bitbucket/scm/cacsad/demo.git
! [rejected] …

Raj Singh
- 39
- 2
- 6
1
vote
1 answer
How do I send a command to a remote system via ssh with concourse
I have the need to start a java rest server with concourse that lives on an Ubuntu 18.04 machine. The version of concourse my company uses is 5.5.11. The server code is written in Java, so a simple java -jar suffices from the command line…

BPS
- 607
- 8
- 29
1
vote
1 answer
How to concatenate commands in a Concourse job?
I have a Concourse job that pulls a repo into a docker image and then executes a command on it, now I need to execute a script that comes form the docker image and after it is done execute a command inside the repo, something like this:
run:
dir:…

Ivan Ochoa Hidalgo
- 31
- 1
1
vote
1 answer
Pass build directory (/dist) from a job to next job in concourse
I know its not quite simple to do this and tried to explore many approaches but either I couldn't understand it properly or didn't work for me.
I have a concourse job which runs angular build (ng build) and creates /dist folder. This works well.…

undefined
- 3,464
- 11
- 48
- 90
1
vote
1 answer
Ansible with Concourse
I am trying to run ansible playbooks within Concourse for remote hosts, however i cannot do that. Below are my steps:-
Concourse Yaml File:-
---
resource_types:
- name: ansible-playbook
type: docker-image
source:
repository:…

Bisshwajit Samanta
- 69
- 8