2 - Tracking your changes
When using the hpc-client
in your environment, you may have to modify settings. Securely saving your settings in a git repository will prevent loss of data and allow for trackable changes on updating your version of the hpc-client
.
You can track your changes in your favorite Git repository service:
a. GitHub instructions
-
Create a new GitHub repository. Set it to private.
-
Click "Settings" -> "Manage access" -> add any desired collaborators. At a minimum, whichever Flywheel staff member(s) you may be working with.
-
Switch to the "Deploy keys" section, then generate a new ssh key on the terminal. Leave the passphrase blank:
-
Click "Add deploy key", and paste the public key's contents into the page. You may want to tick the box to give it write access also.
-
Copy this key to your HPC for use later:
-
Choose a location to store your
hpc-client
credentials: -
Use this
<configuration directory>
in the Cluster Install step.
a. GitLab instructions
-
Create a new GitLab repository. Set it to private.
-
Click "Manage" -> "Members" -> add add any desired collaborators by clicking on the "Invite Members" button. In particular, whichever Flywheel staff member(s) you may be working with.
-
If you don't have one already, add an SSH key to your GitLab profile to access the repository from the terminal. To generate a new token on your terminal, run (Leave the passphrase blank):
-
In GitLab, click on your Profile picture -> "Edit profile" -> "SSH Keys". Click "Add new key", and paste the public key's contents into the page. You need to give it at least "Authentication" permission; you may select "Authentication & Signing".
-
Copy this key to your HPC for use later:
-
Choose a location to store your
hpc-client
credentials: -
Use this
<configuration directory>
in the Cluster Install step.