Github is a popular platform for collaboration and data sharing. It is based on the 'git' version control software. Github.com is the central cloud based repository which provides storage for github user data. The github CLI (command line interface) allows AHPCC users to move data between the github repository and the AHPCC cluster storage as well as share them with other AHPCC users.
A Github orgranization allow its members to collaborate and share data with each other. AHPCC set up a github organization named DART-ARP (Data Analytics that are Robust and Trusted - Arkansas Research Platform).
To become a member of DART-ARP organization and enable AHPCC/github integration, each user has to perform the following actions:
A user executable script join-github-DART-ARP.sh
is available to assist in performing these steps.
pinnacle-l7:user1:~$ /share/apps/bin/join-github-DART-ARP.sh ============= JOIN AHPCC-DART github orgranization =============== If you do not already have an active github.com account, before continuing with this script please visit: https://github.com/signup Do you have an existing github account? [y/N] y Please enter you github username: user1 Please enter your email: user1@uark.edu Github username: user1 email: user1@uark.edu Is this correct? [y/N] y Using a browser, please copy and paste your AHPCC SSH public key below into your github.com account (Account Profile->Settings->SSH and GPG Keys->New SSH key) ssh-rsa AAAAB3NzaC1yc2weiHlqDTaj1nTryFTIagEnMs+d5WhEskL4JFvFo+Er7qwDV8bziQWFuUmFTYZWcuZpyLbWgf9b5oAjlmu7bUd2FIGi2jQDut0wI9Oq8tRdjY5nNNLw9zPY3e/+gRPV7bypg549E9gU5poaagKSq4QBqCEzuIUOIMhTgNzEQiVSmfgQg9OICX4njDJuaUxprQHxAz5F4wKd/lE8rSRV6e0MlE19kbByC8A+akfk8V/pzmBoRejeAwd+70dZALFHoMU90prl8enY0KsQHmApf0ucyi6La95qRtu32w== user1@ar.uark.edu Did you add your public SSH key above to your github.com account? [y/N] y Your github configuration (in /home/user1/.gitconfig): [user] name = user1 email = gh_email [color] ui = true Logging into github... Please select "SSH, SKIP upload public key, authentication token" below Then please use a brower to open https://github.com/settings/tokens ? What is your preferred protocol for Git operations? SSH ? Upload your SSH public key to your GitHub account? Skip ? How would you like to authenticate GitHub CLI? Paste an authentication token Tip: you can generate a Personal Access Token here https://github.com/settings/tokens The minimum required scopes are 'repo', 'read:org'. ? Paste your authentication token: **************************************** - gh config set -h github.com git_protocol ssh ✓ Configured git protocol ✓ Logged in as user1 Testing github integration with your AHPCC account... github.com ✓ Logged in to github.com as user1 (/home/user1/.config/gh/hosts.yml) ✓ Git operations for github.com configured to use ssh protocol. ✓ Token: ******************* Invitation to join DART-ARP github organization has been sent to user1@uark.edu Please follow the link in the email to join. pinnacle-l7:user1:~$