-
In order to connect to github, we will need to establish a token
-
This will build a connection from Spinnaker to Github
-
As users you will create the token
-
As administration you will put the token in Spinnaker using Halyard
-
Visit your github account at: https://github.com/settings/tokens
-
Click on the Generate new token button
-
You have one shot to copy the token and secure it
-
Copy it, by clicking on the clipboard icon next to the hash
Paste the token and store it in a temporary file
pbpaste > token_file.txtSetup some temporary fields for both the location of token file, and the github account name
TOKEN_FILE=~/token_file.txt
ARTIFACT_ACCOUNT_NAME=<github-username>-accounthal config features edit --artifacts true
hal config artifact github enableAdd your account:
hal config artifact github account add $ARTIFACT_ACCOUNT_NAME \
--token-file $TOKEN_FILE

