#4769 Create {git,docker}hub accounts for upcoming Dopr service
Closed: Fixed None Opened 8 years ago by vgologuz.

Copr growth and there is a side service called Dopr.
It allows users to easily produce Docker images with embedded Copr project repos.

For it's functionality we need to have two accounts:
1) at github.com : to push source Dockerfiles
2) at dockerhub.com : to setup automated builds

For the alpha/exprimental stage it's enough to have accounts called dopr or something similar and use some mail ...@fedoraproject.org with redirects to vgologuz@ and msuchy@ .
When project will be ready for production we expect to recreate account to somehow reference Fedora project.

Implementation

For github we also need an access token, which should be created at https://github.com/settings/tokens with permissions: admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, notifications, read:org, repo, user.
Dockerhub and github account credentials should be put into the ansible private git.


addition:

For github we also need to setup ssh-keys: public key registered in github and private key available in the private ansible git.

These accounts are now created and their access details stored in ansible.

The details for the testing accounts:

github:

{{{
SSH key: {{private}}/files/dopr/github-testing{,.pub}
SSH key passphrase: {{dopr_testing_github_key_passphrase}}
username: FedoraInfraTesting (also in {{dopr_testing_github_username}})
password: {{dopr_testing_github_password}}
}}}

dockerhub:

{{{
username: {{dopr_testing_dockerhub_username}}
password: {{dopr_testing_dockerhub_password}}
}}}

Please let us know if you need anything else.

Sorry, forgot one.

Github API token variable: {{dopr_testing_github_token}}

Ok, test instance running fine. Now, could you please do the same actions for production instance, using name "fedora_dopr" for github and "dopr" for dockerhub.

List of expected variables:
dockerhub:
{{{
username: {{dopr_dockerhub_username}}
password: {{dopr_dockerhub_password}}
}}}
github
{{{
SSH key: {{private}}/files/dopr/github{,.pub}
username: {{dopr_github_username}})
password: {{dopr_github_password}}
API token: {{dopr_github_token}}
}}}
NB! we don't need passphrase for ssh keys

Additionally, please add dns record for dopr.fedoraproject.org pointing to 209.132.184.59

Login to comment on this ticket.

Metadata