Builddeps' repo_keys look for .gpg files in the wrong place

Bug #1539754 reported by Caio Begotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mojo: Continuous Delivery for Juju
Opinion
Wishlist
Unassigned

Bug Description

Mojo 0.2 looks for .gpg files in the workspace spec_dir instead of, ideally, looking at the local dir of the workspace. If it keeps looking in the spec dir that means we would have to commit the PPAs keys in our spec branches, which is far from ideal. Even so, Mojo appends the stage name to that lookup, which just makes it worse. Expecting .gpg keys to be local secrets that need to be pulled during a secrets phase seems saner.

I think https://code.launchpad.net/~caio1982/mojo/local_repo_keys/+merge/284497 addresses it. Worked fine for me.

Related branches

Revision history for this message
Tom Haddon (mthaddon) wrote :

I don't agree that committing gpg keys to the spec is a problem. They're not secrets and are not something that is going to change depending on where you're deploying from.

I agree that where to put them needs to be better documented and could optionally be in a different location within the spec but that's slightly different to the intent of this bug.

Changed in mojo:
status: New → Opinion
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.