← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~alexsander-souza/maas-ci/+git/maas-ci-internal:add_gh_token_to_kpi into ~maas-committers/maas-ci/+git/maas-ci-internal:main

 

Alexsander de Souza has proposed merging ~alexsander-souza/maas-ci/+git/maas-ci-internal:add_gh_token_to_kpi into ~maas-committers/maas-ci/+git/maas-ci-internal:main.

Commit message:
add GH API token to KPI job

Requested reviews:
  MAAS Committers (maas-committers)

For more details, see:
https://code.launchpad.net/~alexsander-souza/maas-ci/+git/maas-ci-internal/+merge/443816
-- 
Your team MAAS Committers is requested to review the proposed merge of ~alexsander-souza/maas-ci/+git/maas-ci-internal:add_gh_token_to_kpi into ~maas-committers/maas-ci/+git/maas-ci-internal:main.
diff --git a/jobs/update-kpis.groovy b/jobs/update-kpis.groovy
index 1142cd3..0dce963 100644
--- a/jobs/update-kpis.groovy
+++ b/jobs/update-kpis.groovy
@@ -44,6 +44,7 @@ pipeline {
                 withCredentials([
                     file(credentialsId: 'lp-lander-credentials', variable: 'LP_CREDENTIALS'),
                     file(credentialsId: 'maas-ro-prodstack-5', variable: 'SWIFT_KEY'),
+                    file(credentialsId: 'github-api-token', variable: 'GITHUB_API_TOKEN'),
                 ]) {
                     script {
                         sh "https_proxy= make metrics"

Follow ups