diff --git a/.github/workflows/TriggerIntegrationTests.sh b/.github/workflows/TriggerIntegrationTests.sh new file mode 100644 index 0000000..8d9a4ad --- /dev/null +++ b/.github/workflows/TriggerIntegrationTests.sh @@ -0,0 +1,33 @@ +token=$1 +commit=$2 +repository=$3 +prNumber=$4 +frombranch=$5 +tobranch=$6 +patUser=$6 + +getPayLoad() { + cat < { @@ -51,6 +53,7 @@ function getStableKubectlVersion() { }); }); } +exports.getStableKubectlVersion = getStableKubectlVersion; function downloadKubectl(version) { return __awaiter(this, void 0, void 0, function* () { let cachedToolpath = toolCache.find(kubectlToolName, version); @@ -69,6 +72,7 @@ function downloadKubectl(version) { return kubectlPath; }); } +exports.downloadKubectl = downloadKubectl; function run() { return __awaiter(this, void 0, void 0, function* () { let version = core.getInput('version', { 'required': true });