Configure a GitLab artifact account

Configure a GitLab artifact account so that Spinnaker can download files from GitLab.


Downloading credentials

Start by generating an access token for GitLab.

Place the token in a file ($TOKEN_FILE) readable by Halyard:


Editing your artifact settings

All that’s required are the following values:

# See the prerequisites section above


First, enable artifact support .

Next, enable the GitLab artifact provider:

hal config artifact gitlab enable

Next, add an artifact account:

hal config artifact gitlab account add $ARTIFACT_ACCOUNT_NAME \
    --token-file $TOKEN_FILE

There are more options described here if you need more control over your configuration.