Note: This blog is part 2 of a series of blog on Jenkins-X. For the First Article: Refer Here
As per GitHub official documentation, Organizations are shared accounts where businesses and open-source projects can collaborate across many projects at once. Owners and administrators can manage member access to the organization’s data and projects with sophisticated security and administrative features.
Log-in to your existing GitHub account with your credentials.
On the top right corner click on your avatar and then go to Your organizations. Click on New Organization
Select to Create a free organization plan then give organization account a name and your contact email. Organization name should be unique.
Solve the generated puzzle to verify yourself as human, accept the terms & conditions and click on Next.
In next step you need to add your existing GitHub account and then click on Complete Setup, or you can click on Skip this step.
Now create a new GitHub user that will act as a bot account.
Ensure you give unique username to the above webpage. Choose default in all the upcoming webpages and one new GitHub user will be created.
Make sure you are signed in with your new bot account and then click on this link. It will ask for the following scopes. Give a suitable Note and Expiration. Finally click on Generate token. Save this token carefully, it may be used during other git operations.
Go to your GitHub organization account and click on Invite someone
Enter your bot account name and click on Invite
Add your bot account as owner in your git organization account and click on send invitation.
You will get an invitation link in your bot account’s registered email. Accept the invitation and your bot account is added to your GitHub organization account.
This bot account can be used by any program such as Jenkins X to manage your repositories in your GitHub organization on your behalf. To create an Elastic Kubernetes Cluster (EKS), click here to read my previous blog.
Use the Feedback tab to make any comments or ask questions. You can also start a conversation with us.