remove console.log
This commit is contained in:
@@ -573,7 +573,6 @@ export async function restartApplication(
|
|||||||
if (secrets.length > 0) {
|
if (secrets.length > 0) {
|
||||||
envs = [...envs, ...generateSecrets(secrets, pullmergeRequestId, false, port)];
|
envs = [...envs, ...generateSecrets(secrets, pullmergeRequestId, false, port)];
|
||||||
}
|
}
|
||||||
console.log(envs);
|
|
||||||
|
|
||||||
const { workdir } = await createDirectories({ repository, buildId });
|
const { workdir } = await createDirectories({ repository, buildId });
|
||||||
const labels = [];
|
const labels = [];
|
||||||
@@ -661,7 +660,6 @@ export async function restartApplication(
|
|||||||
},
|
},
|
||||||
volumes: Object.assign({}, ...composeVolumes)
|
volumes: Object.assign({}, ...composeVolumes)
|
||||||
};
|
};
|
||||||
console.log(yaml.dump(composeFile));
|
|
||||||
await fs.writeFile(`${workdir}/docker-compose.yml`, yaml.dump(composeFile));
|
await fs.writeFile(`${workdir}/docker-compose.yml`, yaml.dump(composeFile));
|
||||||
try {
|
try {
|
||||||
await executeCommand({ dockerId, command: `docker stop -t 0 ${id}` });
|
await executeCommand({ dockerId, command: `docker stop -t 0 ${id}` });
|
||||||
|
Reference in New Issue
Block a user