Questions tagged [concourse-git-resource]

49 questions
1
vote
0 answers

Using k8s secrets in concourse pipeline

This question is similar to this one Concourse CI can't find kubernetes secrets . However, the marked solution in it did not work for me. I have setup concourse using this helm chart https://github.com/helm/charts/tree/master/stable/concourse My…
kosta
  • 4,302
  • 10
  • 50
  • 104
1
vote
2 answers

Triggering tasks on Semver change: triggers jobs out or order

Here's what I'm trying to achieve: I have a project with a build job for a binary release. The binary takes a while to cross-compile for each platform, so I only want to release build to be done when a release is tagged, but I want the local-native…
nbering
  • 2,725
  • 1
  • 23
  • 31
0
votes
0 answers

Pre steps in docker build with Concourse

I have a concourse pipeline I use to build docker images using this resource. This is a code example: - put: build-image.spilo params: build: git.spilo-dockerfile/ build_args: {} tag_as_latest: true tag_file:…
0
votes
0 answers

Concourse - Pipeline returns "Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref"

I am running a maven release plugin in concourse pipeline. Our Git is in GitHub Enterprise and so is our Artifactory. I am getting the resource, I am able to build it and release a snapshot to Artifactory using deploy. But when I go for the release…
0
votes
1 answer

Get only the pr form a git branch in concourse

- name: databricks-repo type: git icon: github-circle source: uri: xyz.git branch: master private_key: ((key)) I am trying to do a code scan only to the PR from the git branch. the above code gets me only the code from the branch not…
0
votes
1 answer

Coordinate Concourse CI Same-Repo Checks?

I have a Concourse CI pattern where multiple pipelines are defined in one repo. I want to test the entire repository, and then only when certain files have changed (i.e. the pipeline-specific YAML) apply those pipelines which have changed. It mostly…
0
votes
1 answer

Set a Variable in Concourse Pipeline

I would like to run a command in my pipeline and then save the result in a variable to be used later on in the pipeline. The command I want to run is gh release view | head -n 1 | cut -f 1 I can log into Github and everything else, so that is not…
Sachin Kainth
  • 45,256
  • 81
  • 201
  • 304
0
votes
0 answers

How to trigger a job in Concourse pipeline when feature branch is deleted?

I am looking for an option to trigger a job automatically whenever a feature branch is deleted in git. For e.g I have two feature branches and if one is deleted, should trigger a Job and Job should know which feature branch is deleted. Reference -…
0
votes
1 answer

Concourse git-resource paths list causes hangup in pipeline

I have a concourse server that is stuck on the preparing build stage: screencap of hangup This issue only started happening after I specified a paths list in my git-resource source config: 1 # Dockerfile source …
MAA
  • 13
  • 3
0
votes
1 answer

Concourse resource `check_every: never` time: invalid duration "never"

Running concourse 6.7.4. The concourse documentation says you can set a resource to never be checked by setting check_every to never (https://concourse-ci.org/resources.html#schema.resource). However, it results int the following error, time:…
0
votes
1 answer

concourse pipeline - throwing error for sub folders "not a valid repository name"

I have repository which has two frontend application and one server folder. i need to create pipeline for two frontend(angular) and one server(nodejs) folder. if I create a pipeline for main folder(concourse-pipeline) its working fine. but when I…
0
votes
1 answer

In Concourse, is it possible AT ALL to select a git resource branch interactively in web UI or fly CLI?

F.e. normally you use "develop", but today you want to use "patchXYZ"... Without changing the pipeline, is there a way to prompt the user for the branch name? If not, what is the best practice with the Concourse for this flow?
0
votes
1 answer

Match branch names of two Git resources in Concourse CI

I have a Concourse CI pipeline setup that logically depends on two separate Git resources. For the specific needs, let's say releasing a version m.n.o, the pipeline needs to check out both projects at the same time. Importantly, it needs to refer…
0
votes
1 answer

Difference between PUT and OUTPUT steps in Concourse

Could someone tell me the difference between the PUT step and the OUTPUT step in Concourse? For example, in the following type of YAML files why do we need a put step after a get? Can't we use output instead of put? If not what are the purposes of…
0
votes
2 answers

Concourse build docker-image copying from git repo

I am trying to use a Concourse pipeline to pull a git repo and then build/push a Docker image from the dockerfile in the git repo. The dockerfile has a COPY command in it to copy files from the repo into the image. Normally I'd mount a volume to be…