Comments (10)
It isn't well documented, but if your Gerrit instance is configured for it you can get instructions by logging in and going to Settings -> HTTP Credentials -> Obtain password. You can see an example of this on the Gerrit project's own instance: https://gerrit-review.googlesource.com/new-password
from concourse-resources.
I would also accept a patch (or will get around to it eventually™) adding other auth support. The underlying gerrit library already supports this: https://godoc.org/golang.org/x/build/gerrit#Auth
from concourse-resources.
It seems that I need to think about patch to provide authentication capabilities :( Thanks for the explanation.
from concourse-resources.
Do you use glide or any other vendoring tool?
from concourse-resources.
I have been using golang/dep.
from concourse-resources.
What do you think, is it better to replace:
cookies
withauth: cookies
and extend authentication methods by:
auth:
user:
password:
- or just extend model by optional:
user:
password:
- any other suggestions?
from concourse-resources.
Looking at the existing Concourse resources, I think top level username
and password
fields would be most consistent.
from concourse-resources.
OK, I've started to work on that
from concourse-resources.
Introduced in pull request
from concourse-resources.
Issue addressed by #6 (username/password auth).
from concourse-resources.
Related Issues (9)
- Request: Using concourse metadata in the Gerrit output message HOT 2
- DNS - Resolve fails HOT 1
- Pass credentials to allow git pull in tasks HOT 1
- How to only be triggered by master, not by refs/for/master HOT 1
- resource-type image anavailable HOT 2
- Add metadata to gerrit 'in' script
- Add git_cookies to repo resource
- README example does not work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concourse-resources.