Resources for Concourse
This is not an official Google product.
See the individual resource types' READMEs:
Resources for Concourse
License: Other
Resources for Concourse
This is not an official Google product.
See the individual resource types' READMEs:
Concourse provides Metadata access to Resources in the form of environment variables. It would be neat if we could use these in the output messages for the Gerrit resource.
Having the configuration look something like this:
put: example-gerrit
params:
repository: example-gerrit
message: CI passed! http://URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_ID
labels: {Verified: 1}
output the following message:
CI passed! http://URL/teams/example_team/pipelines/example_pipleine/jobs/example_job/builds/1
Similar functionality has been added to the email resource here
Hi,
currently we try to rebase a commit fetched by gerrit resource against master. The commit rebase is done in a separate task. Unfortunately credentials and git metadata aren't passed along the sources which made git pulling to end with an error.
The change is about passing git metadata and credentials along the sources.
There is some metadata that would be useful.
the git-resource has:
Additionally, some gerrit specific:
It is no longer possible to reference docker image: us.gcr.io/concourse-resources/gerrit-resource
Will there be any replacer?
When I base myself off the configuration example found in the README. configuration uploading generates an error within Concourse.
resource_types:
- name: gerrit
type: docker-image
source:
repository: us.gcr.io/concourse-resources/gerrit-resource
resources:
- name: main-gerrit
type: gerrit
source:
url: https://{{GERRIT_URL}}/
query: status:open project:{{PROJECT_NAME}}
username: {{USERNAME}}
password: {{PASSWORD}}
jobs:
- name: Test-CI
plan:
# Trigger this job for every new patch set
- get: main-gerrit
version: every
trigger: true
- task: ls-it
config:
platform: linux
image_resource:
type: docker-image
source: {repository: ubuntu}
run:
path: ls
# After a successfuly build, mark the patch set Verified +1
- put: main-gerrit
message: CI passed!
labels: {Verified: 1}
error: invalid configuration:
unknown/extra keys:
- jobs[0].plan[2].labels
- jobs[0].plan[2].message
Hi,
would you like to provide an example of a cookie that can be used for authentication purposes?
Hi,
I have 2 Gerrit resources that follow the Master branch and the open Code-Reviews (refs/for/master
).
Unfortunately, sometimes gerrit-master
gets triggered by commits pushed to refs/for/master
, which evidently haven't been merged into master and gerrit-code-review
doesn't pick up new commits pushed to refs/for/master
I have read through Gerrit's query documentation but so far none of the related operators seem to do the trick: is: status: branch: ref:
- name: gerrit-master
type: gerrit
source:
query: project:<PROJECT> branch:master
...
- name: gerrit-code-review
type: gerrit
source:
query: project:<PROJECT> is:open
...
Any advice on how to configure the resource is appreciated,
Thanks in advance
2018/02/27 20:45:18 error processing check request: error querying for changes: HTTP status 503 Service Unavailable;
...
Unable to determine IP address from host name gerrit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.