~maxiberta/ols-jenkaas/snapstore-snap-functional-test-airgap

« back to all changes in this revision

Viewing changes to jobs/snapcraft-ci.yaml

  • Committer: Daniel Manrique
  • Date: 2022-05-11 16:36:54 UTC
  • Revision ID: daniel.manrique@canonical.com-20220511163654-189s74gine60d72q
update for new snapcraft shenanigans

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    vcs: 'git'
5
5
    trunk: 'https://github.com/snapcore/snapcraft.git'
6
6
    setup: 'git clone lp:~roadmr/+git/spread'
7
 
    acceptance-tests: 'if [ "$(find ~/secrets/snapcraft-ci/store-testing-candid-creds.dat -ctime -29)" = "" ]; then echo "Candid macaroon is older than 29 days, failing fast. Generate a new macaroon with ols-jenkaas-secrets"; exit 1; else echo "Candid macaroon is fresh enough, continuing";fi;SNAPCRAFT_STORE_CREDENTIALS_STAGING=$(base64 -w0 ~/secrets/snapcraft-ci/store-testing-creds.dat) SNAPCRAFT_STORE_CREDENTIALS_STAGING_CANDID=$(base64 -w0 ~/secrets/snapcraft-ci/store-testing-candid-creds.dat)  SNAPCRAFT_CHANNEL=candidate STORE_UPLOAD_URL="https://storage.staging.snapcraftcontent.com/" spread/spread lxd:ubuntu-18.04:tests/spread/general/store'
 
7
    acceptance-tests: 'if [ "$(find ~/secrets/snapcraft-ci/store-testing-candid-creds.dat -ctime -29)" = "" ]; then echo "Candid macaroon is older than 29 days, failing fast. Generate a new macaroon with ols-jenkaas-secrets"; exit 1; else echo "Candid macaroon is fresh enough, continuing";fi;SNAPCRAFT_STORE_CREDENTIALS_STAGING=$(base64 -w0 ~/secrets/snapcraft-ci/store-testing-creds.dat) SNAPCRAFT_STORE_CREDENTIALS_STAGING_CANDID=$(cat ~/secrets/snapcraft-ci/store-testing-candid-creds.dat)  SNAPCRAFT_CHANNEL=beta STORE_UPLOAD_URL="https://storage.staging.snapcraftcontent.com/" spread/spread lxd:ubuntu-18.04:tests/spread/general/store'
8
8
    jobs:
9
9
      - '{name}-tests'
10
10