#10392 Need to store a copr-cli token into private.git
Closed: Fixed 2 years ago by kevin. Opened 2 years ago by praiskup.

For the copr-ping (periodic build test) we would like to store two secret
variables to private.git. Would anyone assist with this?

Content would be:

copr_ping_bot_login <login>
copr_ping_bot_token: <token>

The values can be obtained on copr-be.aws.fedoraproject.org, by:

grep /home/copr-ping/.config/copr  -e token -e login | sed 's/ = /: /' | sed "s/^/copr_ping_bot_/"

Or I can send the value to admin GPG encrypted.


Metadata Update from @mobrien:
- Issue tagged with: low-gain, low-trouble

2 years ago

Could you please send to admin@fedoraproject.org gpg encrypted

Pardon my ignorance :-( how to I get the public key? It's not on the default key servers,
and this doesn't work:

$ gpg --keyserver keys.fedoraproject.org --search admin@fedoraproject.org
gpg: error searching keyserver: No route to host
gpg: keyserver search failed: No route to host
$ gpg --keyserver keys.openpgp.org --search admin@fedoraproject.org
gpg: data source: http://keys.openpgp.org:11371
gpg: key "admin@fedoraproject.org" not found on keyserver
gpg: keyserver search failed: Not found

Metadata Update from @mohanboddu:
- Issue untagged with: low-gain, low-trouble
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: medium-gain, medium-trouble, ops

2 years ago

I just grabbed it from copr-be... it should be in ansible-private vars.yml now.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Commit 589e889d relates to this ticket

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog