Eliminated the Execution List from the config and the code. Only one clone can be executed at the time now.

This commit is contained in:
Luis Fernando Molina committed 2019-03-25 16:25:05 +01:00
1 parent 9a277ddd72
commit 0353bddef7
3 files changed
+507 -582

No files matched your search

+3 -3
View File
@@ -112,16 +112,16 @@ function readExecutionConfiguration() {
startMode[process.env.START_MODE].run = "true"
let executionList = [{
let cloneToExecute = {
enabled: "true",
devTeam: process.env.DEV_TEAM,
bot: process.env.BOT,
process: process.env.PROCESS,
repo: global.CURRENT_BOT_REPO
}]
}
global.EXECUTION_CONFIG = {
executionList: executionList,
cloneToExecute: cloneToExecute,
startMode: startMode,
timePeriod: getTimePeriod(process.env.TIME_PERIOD),
timePeriodFileStorage: process.env.TIME_PERIOD,