concourse

Concourse CI and Build number

瘦欲@ 提交于 2019-12-23 15:23:01
问题 I'm moving from Jenkins to using using Concourse CI to run my Sauce labs e2e tests. Sauce labs groups tests together that have the same build number string: name: 'Chrome XS', browserName: 'chrome', tunnelIdentifier: process.env.TUNNEL_IDENTIFIER, build: process.env.JENKINS_BUILD_NUMBER, platform: 'Windows 10', shardTestFiles: true, maxInstances: 20, How can I pass the build number to my script using an environment variable as shown above. The Concourse GUI uses name #number . Is there any

Concourse CI can't find kubernetes secrets

此生再无相见时 提交于 2019-12-13 17:34:46
问题 I'm receiving the following error when the runner is trying to retrieve a resource: checking failed - Expected to find variables: git my resource looks similar to: - name: resource-repo type: git source: uri: https://[url] branch: master tag_filter: '*' username: ((git.username)) password: ((git.password)) my values.yaml for the helm chart includes: rbac: create: false credentialManager: kubernetes: namespacePrefix: concourse (regardless, the release name is concourse) under namespace

ConcourseCI - docker-image resource issue; mount: permission denied (are you root?)

只谈情不闲聊 提交于 2019-12-13 04:02:02
问题 I have concourse 3.8.0 running on my workstation which is Ubuntu 17.04 and here is my pipeline definition: --- jobs: - name: job-docker-image-resource public: true plan: - get: "golang_tools_docker_image" - task: docker-image-resource config: platform: linux image_resource: type: docker-image source: {repository: busybox} run: path: echo args: [docker-image-resource] resources: - name: "golang_tools_docker_image" type: docker-image source: repository: "golang" tag: "1.9.2-alpine3.7" resource

Pipeline fails due to `hijack: Backend error`

让人想犯罪 __ 提交于 2019-12-12 12:07:37
问题 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 caused \"exec format error\"\n","Handle":""} I have one git resource and one job with one task: - task: test file: resource-ci/ci/test.yml test.yml file: platform: linux image_resource: type: docker-image source: repository: busybox tag: latest inputs:

How to configure a custom resource type in a concourse pipeline?

不想你离开。 提交于 2019-12-11 15:29:04
问题 I've already done a google search to find a way to setup a custom resource in concourse pipeline but the answers/documentation do not work. Can someone provide a working example of custom resource type that is pulled from a local registry and used in a build plan? For example, say I were to clone the git resource and slightly modify it and pushed it to my local registry. The git resource image would be name: localhost:5000/local_git:latest How would you be able to use this custom resource

Concourse: Trigger a job with a HTTP request

拥有回忆 提交于 2019-12-10 18:09:25
问题 I am trying to trigger a Concourse job with a web hook on my Git server. Following this issue on Github I found an endpoint definition. So I tried curl http://10.20.30.101:8080/api/v1/pipelines/helloworld/resources/resource-tutorial/check -X POST where helloworld is the name of my pipeline and resource-tutorial is the name of the resource for which I want to trigger a check. But Concourse returns 404 page not found What am I doing wrong? Can someone point me to the correct endpoint? 回答1: For

Concourse CI / Gradle : Failed to create parent directory

让人想犯罪 __ 提交于 2019-12-10 10:26:16
问题 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 source: uri: https://github.com/pomverte/devoxx-talks branch: concourse-ci jobs: - name: devoxx-talks-build plan: - get: devoxx-talks-src trigger: true - task: devoxx-talks-gradle file: devoxx-talks-src/ci/task-gradle.yml task-gradle.yml : --- platform: