haha
This commit is contained in:
parent
850d57d0d2
commit
9d3ed85ffd
@ -667,7 +667,7 @@ export async function buildImage({
|
||||
|
||||
const { status } = await prisma.build.findUnique({ where: { id: buildId } })
|
||||
if (status === 'canceled') {
|
||||
throw new Error('Deployment | Canceled!!!')
|
||||
throw new Error('Deployment | Canceled.')
|
||||
}
|
||||
if (isCache) {
|
||||
await saveBuildLog({ line: `Cache | Successful! 🎉`, buildId, applicationId });
|
||||
|
@ -1535,7 +1535,7 @@ export async function stopBuild(buildId, applicationId) {
|
||||
scheduler.workers.get('deployApplication').postMessage('cancel');
|
||||
}
|
||||
await cleanupDB(buildId, applicationId);
|
||||
return reject(new Error('Deployment | Canceled!!!'));
|
||||
return reject(new Error('Deployment | Canceled.'));
|
||||
}
|
||||
const { stdout: buildContainers } = await executeDockerCmd({
|
||||
dockerId,
|
||||
@ -1568,7 +1568,7 @@ async function cleanupDB(buildId: string, applicationId: string) {
|
||||
if (data?.status === 'queued' || data?.status === 'running') {
|
||||
await prisma.build.update({ where: { id: buildId }, data: { status: 'canceled' } });
|
||||
}
|
||||
await saveBuildLog({ line: 'Deployment | Canceled!!!', buildId, applicationId });
|
||||
await saveBuildLog({ line: 'Deployment | Canceled.', buildId, applicationId });
|
||||
}
|
||||
|
||||
export function convertTolOldVolumeNames(type) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user