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:
1 parent
9a277ddd72
commit
0353bddef7
3 files changed
+507
-582
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user