From 4cd74c5236039583a3b8bf619b36fd9b825a7a93 Mon Sep 17 00:00:00 2001 From: armab Date: Thu, 21 Feb 2019 22:26:17 +0100 Subject: [PATCH 1/3] Debug TravisCI from forked build --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 16264d4b..dc31a57d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,9 @@ env: - DISTRO=centos-7 ST2_REPO=unstable EWC_REPO=enterprise-unstable LICENSE='BWC_LICENSE_ENTERPRISE_UNSTABLE' before_script: + - echo $TRAVIS_SECURE_ENV_VARS + - echo $TRAVIS_PULL_REQUEST_SLUG + - echo $TRAVIS_REPO_SLUG # Personal token for forked PRs - true && `base64 --decode <<< ZXhwb3J0IEhVQk9UX1NMQUNLX1RPS0VOPXhveGItMTc2OTM1OTkzNDE0LWltdFNJRktPYXkxVlFFTWtUdVJWYmh0bAo=` From 3a509e65f1d20ad600a463611453e425cabd49cb Mon Sep 17 00:00:00 2001 From: armab Date: Mon, 25 Feb 2019 18:17:39 +0100 Subject: [PATCH 2/3] Prevent running CI EWC install & tests if license key is empty This fixes forked community PRs CI which don't have access to StackStorm enterprise license key --- stackstorm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stackstorm.yml b/stackstorm.yml index de2583ff..ee3a7d68 100644 --- a/stackstorm.yml +++ b/stackstorm.yml @@ -14,6 +14,6 @@ - StackStorm.st2chatops - StackStorm.st2smoketests - role: StackStorm.ewc - when: ewc_license is defined and ewc_license is not none + when: ewc_license is defined and ewc_license | length > 0 - role: StackStorm.ewc_smoketests - when: ewc_license is defined and ewc_license is not none + when: ewc_license is defined and ewc_license | length > 0 From 8e8a25bdd3aa2a8efdb6f08368e63cb6aa29a17b Mon Sep 17 00:00:00 2001 From: armab Date: Mon, 25 Feb 2019 18:35:21 +0100 Subject: [PATCH 3/3] Revert "Debug TravisCI from forked build" This reverts commit 4cd74c5236039583a3b8bf619b36fd9b825a7a93. --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index dc31a57d..16264d4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,9 +21,6 @@ env: - DISTRO=centos-7 ST2_REPO=unstable EWC_REPO=enterprise-unstable LICENSE='BWC_LICENSE_ENTERPRISE_UNSTABLE' before_script: - - echo $TRAVIS_SECURE_ENV_VARS - - echo $TRAVIS_PULL_REQUEST_SLUG - - echo $TRAVIS_REPO_SLUG # Personal token for forked PRs - true && `base64 --decode <<< ZXhwb3J0IEhVQk9UX1NMQUNLX1RPS0VOPXhveGItMTc2OTM1OTkzNDE0LWltdFNJRktPYXkxVlFFTWtUdVJWYmh0bAo=`