Questions tagged [concourse]

For questions related to pipeline-based CI system Concourse written in Go.

Concourse is an open source continuous integration and continuous delivery (CI/CD) system designed for teams that practice test-driven development and continuous delivery.

Teams automate delivery of their software as pipelines which execute testing, packaging, and deployment as often as every commit.

Concourse pipelines are configured via YAML. Pipelines can scale to projects of any complexity. Pipelines are displayed visually to show the status of build runs.

Concourse provides dependable, repeatable results that behave the same in any Concourse deployment, on any cloud.

Concourse provides a wide variety of predefined integrations with external systems, and an open approach for defining custom integrations.

See also: - Documentation - GitHub Repository

372 questions
4
votes
1 answer

Prevent logging a specific command in Concourse CI

I have a shell-based concourse task which uses semi-sensitive credentials (a key to a test server) in one of its commands. I'd like to avoid this being logged in the task output. The gist of the pipeline is: jobs: - name: foobar plan: <...> -…
Dave
  • 36,791
  • 8
  • 53
  • 96
4
votes
3 answers

Concourse call job from another job with parameters

I have a job with many tasks like this: - name: main-job serial: true plan: - aggregate: - get: passed: [previous-job] trigger: true - get: - task: file:…
Pavanraotk
  • 937
  • 4
  • 14
  • 29
4
votes
1 answer

In concourse how do you hijack a container made via `fly execute`

If you run fly execute to perform a one-off build, how can I then hijack/intercept the container?
materialdesigner
  • 1,402
  • 10
  • 13
4
votes
2 answers

Concourse CI / Gradle : Failed to create parent directory

I'm trying to build a java project with gradle 3.4.1 and concourse using the vagrant concourse/lite box (v2.7.4) and the docker image gradle/3.4.1-jdk8 My pipeline.yml is --- resources: - name: devoxx-talks-src type: git check_every: 1m …
vietnem
  • 257
  • 3
  • 10
4
votes
2 answers

Pipeline fails due to `hijack: Backend error`

I'm following Stark & Wayne tutorial and got into a problem: Pipeline fails with hijack: Backend error: Exit status: 500, message {"Type":"","Message": " runc exec: exit status 1: exec failed: container_linux.go:247: starting container process…
Alex Bender
  • 603
  • 10
  • 21
4
votes
2 answers

How to make self updating pipeline in concourse

I would like to make a pipeline that as first step checks its own configuration and updates itself if needed. What tool / API should I use for this? Is there a docker image that has this installed for the correct concourse version? What is the…
gsf
  • 5,130
  • 5
  • 28
  • 53
4
votes
1 answer

How do I run a Concourse CI job task with a specific user?

In Concourse CI, by default, the underlying container for a job's task is instantiated and run with user root. If the container used for my task needs to be executed with a different user (e.g. postgres), how can I do that in Concourse?
L Silva
  • 171
  • 4
4
votes
1 answer

Concourse time resource not triggered on Mac OS X

I'm new to concourse and really excited to start working with it but I have a problem running the hello world example described here: https://concourse-ci.org/hello-world.html (example with time resource) I'm running this example on Mac OS X (El…
4
votes
2 answers

Concourse CI - Build Artifacts inside source, pass all to next task

I want to set up a build pipeline in Concourse for my web application. The application is built using Node. The plan is to do something like this: ,-> build style guide -> dockerize source code -> npm install…
DanielM
  • 5,523
  • 2
  • 36
  • 50
3
votes
2 answers

How to use a local docker image as resource in concourse-docker

I try to run a task in a docker image, which is not uploaded to docker hub, but instead installed locally (using docker build -t tagname/tagname .) So it exists on the (only) worker. image_resource: type: docker-image source: {repository:…
Michael K
  • 683
  • 1
  • 4
  • 20
3
votes
2 answers

Fetching Concourse Docker resources from ECR

I'm trying to use a Docker resource that is stored in an AWS EC2 Container service repository (ECR). Config looks like: - name: my-docker-resource type: docker-image source: repository: account-id.dkr.ecr.eu-west-1.amazonaws.com/my-repo …
Christian Johansen
  • 1,251
  • 1
  • 11
  • 18
3
votes
2 answers

How to test Concourse pipelines

My team has multiple Concourse pipelines and as we refactor tasks, we've realized the need to test our actual pipelines. We already test our tasks by using environment variables enabling task scripts to be run locally, but the pipeline yaml is…
E. Beer
  • 31
  • 2
3
votes
2 answers

How to display junit test reports in concourse in a usable/interactive way?

the company where I work is evaluating different CI/CD systems, we tried GoCD (v17.4), Jenkins 2 (v2.7) and Concourse (v3.2.1). We liked Concourse, but a big downside was the fact that the test reports were not displayed in a usable way. I asked in…
firepol
  • 1,611
  • 22
  • 37
3
votes
2 answers

concourse secret sharing does not fully define how to configure vault

i am following the instructions here for how to configure vault for sharing secrets. ultimately i just want to get my bot's creds to git resources. i am deploying via docker compose, and have successfully added a vault server to compose. where do i…
cdaringe
  • 944
  • 1
  • 10
  • 23
3
votes
1 answer

Concourse CI: Use Metadata (Build number, URL etc) in on_success/on_failure

How is it possible to use Metadata in on_success/on_failure? For example, to send emails via https://github.com/pivotal-cf/email-resource? I haven't found a way, as I can't change content of files where email resources reside (subject/body), as the…
Max Romanovsky
  • 2,644
  • 5
  • 26
  • 36
1 2
3
24 25