Skip to content

Commit

Permalink
chore: avoid GH rate limit for packer init
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal committed Sep 16, 2021
1 parent 097c69a commit 38b41c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile_k8s
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ pipeline {
PACKER_HOME_DIR = "/tmp/packer.d.${PKR_VAR_image_type}.${PKR_VAR_architecture}.${PKR_VAR_agent}"
PACKER_PLUGIN_PATH = "${PACKER_HOME_DIR}/plugins"
PACKER_VARS_FILE = ".auto.pkrvars.hcl"
// Reuse the updatecli Github token to ensure that packer init does not hit the rate limit
PACKER_GITHUB_API_TOKEN = credentials('updatecli-github-token')
}
stages {
stage('Prepare on Branch Main') {
Expand Down

0 comments on commit 38b41c4

Please sign in to comment.