← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~jocave/hwcert-jenkins-jobs:snapcraft-7-store-creds into hwcert-jenkins-jobs:master

 

Jonathan Cave has proposed merging ~jocave/hwcert-jenkins-jobs:snapcraft-7-store-creds into hwcert-jenkins-jobs:master.

Requested reviews:
  hwcert-jenkins (hwcert-jenkins)

For more details, see:
https://code.launchpad.net/~jocave/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/430474

Make SNAPCRAFT_STORE_CREDENTIALS environment variable available during local snap build jobs. This allows snap uploads to make it in to the store. Tested on this job:


http://10.102.156.15:8080/job/snap-build-checkbox-kariya-local-arm64/3/console
-- 
Your team hwcert-jenkins is requested to review the proposed merge of ~jocave/hwcert-jenkins-jobs:snapcraft-7-store-creds into hwcert-jenkins-jobs:master.
diff --git a/jobs/infrastructure/build-checkbox/snap-build-checkbox.yaml b/jobs/infrastructure/build-checkbox/snap-build-checkbox.yaml
index 37a0cf8..a403788 100644
--- a/jobs/infrastructure/build-checkbox/snap-build-checkbox.yaml
+++ b/jobs/infrastructure/build-checkbox/snap-build-checkbox.yaml
@@ -109,6 +109,9 @@
            credential-id: ssh-ce-certification-qa
            key-file-variable: GIT_SSH_KEY
            username-variable: GITUSER
+        - text:
+             credential-id: SNAPCRAFT_STORE_CREDENTIALS
+             variable: SNAPCRAFT_STORE_CREDENTIALS
     source-url: ''
     builders:
       - shell:
@@ -146,6 +149,9 @@
            credential-id: ssh-ce-certification-qa
            key-file-variable: GIT_SSH_KEY
            username-variable: GITUSER
+        - text:
+             credential-id: SNAPCRAFT_STORE_CREDENTIALS
+             variable: SNAPCRAFT_STORE_CREDENTIALS
     source-url: ''
     builders:
       - shell:
@@ -183,6 +189,9 @@
            credential-id: ssh-ce-certification-qa
            key-file-variable: GIT_SSH_KEY
            username-variable: GITUSER
+        - text:
+             credential-id: SNAPCRAFT_STORE_CREDENTIALS
+             variable: SNAPCRAFT_STORE_CREDENTIALS
     source-url: ''
     builders:
       - shell:

Follow ups