Questions tagged [concourse-git-resource]

49 questions
4
votes
3 answers

Concourse: resource script '/opt/resource/check []' failed: exit status 128

Environment: OS: Ubuntu 18.04 Concourse: 3.14.0 Server is behind proxy. Concourse installation is binary, non-docker. Proxy has been setup in /etc/environment as: > http_proxy="http://proxy01.localnet.local:8080/" >…
user2362699
  • 586
  • 6
  • 22
3
votes
2 answers

Concourse merge another branch

I'm trying to automate deployments using Concourse-CI. I have a go application that is checked into a local Gitlab with two branches (master and develop). I have a pipeline setup for the develop branch that runs go unit tests and if they pass i want…
AdminTome
  • 101
  • 9
3
votes
2 answers

Concourse git-resource ; accessing a Git Tag to use on a docker-image put

I'm using https://github.com/concourse/git-resource with a tag_filter to trigger a release build. I need to access the tag name of the tag that triggered the build in order to use it during the build process and also to use it to tag the docker…
Myles McDonnell
  • 12,943
  • 17
  • 66
  • 116
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…
2
votes
1 answer

How to mount local directory to concourse pipeline job?

I am trying to connect local git repository to concourse so that i can perform automated testing on my local environment even before committing the code to GitRepo. In other terms i want to perform some tasks before git commit using concourse…
Devanshu
  • 33
  • 1
  • 7
2
votes
2 answers

Concourse Webhook to Git

Environment: BitBucket Concourse 3.14.0 Wondering is it possible to configure Concourse pipeline with Git webhook which will check if new commit has happened and it would trigger a pipeline build based on that trigger? I looked at…
user2362699
  • 586
  • 6
  • 22
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…
1
vote
1 answer
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] …
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:…
1
vote
2 answers

How to give same 'get' to multiple jobs in concourse

Instead of giving the same '- get' to multiple jobs, is there any way that I can optimize my code by giving common '- get', if it is allowed in any way. Currently, I have given the same code (- get) for different jobs jobs: - name: Name1 plan: -…
1
vote
1 answer

Concourse: What is the difference between "Resource Types" and "Resource"?

When i developing pipeline i can't understand the difference between "Resource Types" and "Resource". According to documentation Resource type is there only to provide the type of the resource and check for the tags. Like in example…
Andrew Ramnikov
  • 783
  • 2
  • 9
  • 30
1
vote
1 answer

Is there a way to put a lock on Concourse git-resource?

I have setup pipeline in Concourse with some jobs that are building Docker images. After the build I push the image tag to the git repo. The problem is when the builds come to end at the same time, one jobs pushes to git, while the other just…
Роман
  • 13
  • 3
1
vote
1 answer

How do I test a concourse custom resource type?

So I have build my own custom resourse type. As, suggested in this link. I want to know how to test this docker image? How would I get the docker running? What would be the command? Would I have to pass additional build parameters? Is there a…
yogs
  • 43
  • 6
1
vote
1 answer

Error while executing hello world in Concourse

concourse hello world is not getting executed. I followed hello world from the below url https://concoursetutorial.com/basics/task-hello-world/ git clone https://github.com/starkandwayne/concourse-tutorial.git cd…
1
2 3 4