Skip to content

Commit

Permalink
Revision db11533
Browse files Browse the repository at this point in the history
  • Loading branch information
qawolf-team committed Jun 28, 2024
1 parent 33be6eb commit f8966ca
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58700,7 +58700,7 @@ exports.createEnvironmentAction = createEnvironmentAction;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.createEnvironmentVariables = void 0;
exports.createEnvironmentVariables = createEnvironmentVariables;
const tslib_1 = __nccwpck_require__(36);
const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379));
const constants_1 = __nccwpck_require__(8749);
Expand All @@ -58727,7 +58727,6 @@ async function createEnvironmentVariables({ environmentId, variables, qawolfApiK
});
return Promise.all(environmentVariableRequests);
}
exports.createEnvironmentVariables = createEnvironmentVariables;


/***/ }),
Expand All @@ -58738,7 +58737,7 @@ exports.createEnvironmentVariables = createEnvironmentVariables;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.deleteTeamBranch = void 0;
exports.deleteTeamBranch = deleteTeamBranch;
const tslib_1 = __nccwpck_require__(36);
const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379));
const constants_1 = __nccwpck_require__(8749);
Expand All @@ -58765,7 +58764,6 @@ async function deleteTeamBranch({ log, qawolfApiKey, teamBranchId, teamId, }) {
}
log.info(`Branch deleted with ID: ${teamBranchId}`);
}
exports.deleteTeamBranch = deleteTeamBranch;


/***/ }),
Expand Down Expand Up @@ -58799,7 +58797,7 @@ exports.deleteTeamBranchAction = deleteTeamBranchAction;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.findOrCreateEnvironment = void 0;
exports.findOrCreateEnvironment = findOrCreateEnvironment;
const tslib_1 = __nccwpck_require__(36);
const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379));
const constants_1 = __nccwpck_require__(8749);
Expand Down Expand Up @@ -58937,7 +58935,6 @@ async function findOrCreateEnvironment({ qawolfApiKey, branch, pr, qaWolfTeamId,
}
return creationResponse.data.data.createEnvironment.id;
}
exports.findOrCreateEnvironment = findOrCreateEnvironment;


/***/ }),
Expand All @@ -58948,7 +58945,7 @@ exports.findOrCreateEnvironment = findOrCreateEnvironment;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.findOrCreateTrigger = void 0;
exports.findOrCreateTrigger = findOrCreateTrigger;
const tslib_1 = __nccwpck_require__(36);
const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379));
const constants_1 = __nccwpck_require__(8749);
Expand Down Expand Up @@ -59037,7 +59034,6 @@ async function findOrCreateTrigger(args) {
log.info(`Trigger created with ID: ${triggerId}`);
return triggerId;
}
exports.findOrCreateTrigger = findOrCreateTrigger;


/***/ }),
Expand All @@ -59048,7 +59044,7 @@ exports.findOrCreateTrigger = findOrCreateTrigger;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.findRepositoryIdByName = void 0;
exports.findRepositoryIdByName = findRepositoryIdByName;
const tslib_1 = __nccwpck_require__(36);
const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379));
const constants_1 = __nccwpck_require__(8749);
Expand Down Expand Up @@ -59081,7 +59077,6 @@ async function findRepositoryIdByName(qawolfApiKey, headRepoFullName, log) {
}
return repositories[0].id;
}
exports.findRepositoryIdByName = findRepositoryIdByName;


/***/ }),
Expand All @@ -59092,7 +59087,7 @@ exports.findRepositoryIdByName = findRepositoryIdByName;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getBranchIdIdForGitBranch = void 0;
exports.getBranchIdIdForGitBranch = getBranchIdIdForGitBranch;
const tslib_1 = __nccwpck_require__(36);
const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379));
const constants_1 = __nccwpck_require__(8749);
Expand Down Expand Up @@ -59128,7 +59123,6 @@ async function getBranchIdIdForGitBranch({ gitBranch, log, qawolfApiKey, }) {
}
return triggers[0].environment.branchId;
}
exports.getBranchIdIdForGitBranch = getBranchIdIdForGitBranch;


/***/ }),
Expand All @@ -59139,7 +59133,7 @@ exports.getBranchIdIdForGitBranch = getBranchIdIdForGitBranch;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getEnvironmentVariablesFromEnvironment = void 0;
exports.getEnvironmentVariablesFromEnvironment = getEnvironmentVariablesFromEnvironment;
const tslib_1 = __nccwpck_require__(36);
const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379));
const constants_1 = __nccwpck_require__(8749);
Expand Down Expand Up @@ -59167,7 +59161,6 @@ async function getEnvironmentVariablesFromEnvironment({ qawolfApiKey, environmen
}
return JSON.parse(retrievalResponse.data.data.environment.variablesJSON);
}
exports.getEnvironmentVariablesFromEnvironment = getEnvironmentVariablesFromEnvironment;


/***/ }),
Expand All @@ -59178,7 +59171,7 @@ exports.getEnvironmentVariablesFromEnvironment = getEnvironmentVariablesFromEnvi
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getTagsFromGenericTriggerInEnvironment = void 0;
exports.getTagsFromGenericTriggerInEnvironment = getTagsFromGenericTriggerInEnvironment;
const tslib_1 = __nccwpck_require__(36);
const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379));
const constants_1 = __nccwpck_require__(8749);
Expand Down Expand Up @@ -59212,7 +59205,6 @@ async function getTagsFromGenericTriggerInEnvironment({ qawolfApiKey, environmen
}
return retrievalResponse.data.data.environment.triggers[0]?.tags?.map((tag) => tag);
}
exports.getTagsFromGenericTriggerInEnvironment = getTagsFromGenericTriggerInEnvironment;


/***/ }),
Expand All @@ -59223,7 +59215,7 @@ exports.getTagsFromGenericTriggerInEnvironment = getTagsFromGenericTriggerInEnvi
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.handleOperation = void 0;
exports.handleOperation = handleOperation;
const createEnvironmentAction_1 = __nccwpck_require__(5121);
const deleteTeamBranchAction_1 = __nccwpck_require__(5420);
const testDeployment_1 = __nccwpck_require__(5586);
Expand Down Expand Up @@ -59268,7 +59260,6 @@ async function handleOperation(operation, options) {
throw Error(`invalid operation: ${operation}`);
}
}
exports.handleOperation = handleOperation;


/***/ }),
Expand Down Expand Up @@ -59319,7 +59310,7 @@ exports.parseEnvironmentVariablesToJSON = parseEnvironmentVariablesToJSON;
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.testDeployment = void 0;
exports.testDeployment = testDeployment;
const tslib_1 = __nccwpck_require__(36);
const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379));
const constants_1 = __nccwpck_require__(8749);
Expand All @@ -59342,7 +59333,6 @@ async function testDeployment({ qawolfApiKey, branch, commitUrl, sha, deployment
});
log.info(`Triggered QA Wolf tests: ${response.data}`);
}
exports.testDeployment = testDeployment;


/***/ }),
Expand Down

0 comments on commit f8966ca

Please sign in to comment.