Ask Your Question
0

Determine upload_credential_id for custom buildfarm?

asked 2015-06-08 15:40:28 -0500

etappan gravatar image

I'm trying to set up a custom buildfarm for use with some private repos. My latest issue is I'm not sure what upload_credential_id should be in rosbuild_config/indigo/release-build.yaml. The docs aren't super helpful, "the ID of the credential to upload the built packages to the repository host". Which credential? How do I extract the ID?

Thanks for your help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-06-08 16:53:57 -0500

tfoote gravatar image

The credential_id is defined in the master deployment common.yaml

https://github.com/ros-infrastructure...

This credential will be inserted into jenkins credential storage. (You can find the credentials via the Jenkins UI by clicking on "Credentials" at the top level, then "Global Credentials" in the Credentials page. Clicking on a specific credential you can find the ID in the url. I believe the ID is just a uuid.

edit flag offensive delete link more

Comments

I added a some more comments in the documentation too.

tfoote gravatar image tfoote  ( 2015-06-08 17:01:56 -0500 )edit

Thanks for the response. So to clarify, all non-plaintext values in [ros_]buildfarm_[deployment_]config should be generated via a separate Jenkins instance before ever running the deployment scripts? And then the deployment scripts should configure the Master machine to serve a Jenkins instance.

etappan gravatar image etappan  ( 2015-06-09 08:22:22 -0500 )edit

You can actually use the values in the example. They don't need to be generated. If you wanted to change them you would want to do it that way.

tfoote gravatar image tfoote  ( 2015-06-09 19:04:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-06-08 15:19:06 -0500

Seen: 67 times

Last updated: Jun 08 '15