Skip to content

Commit

Permalink
fix: make container health logs better
Browse files Browse the repository at this point in the history
  • Loading branch information
parishahla committed Aug 1, 2024
1 parent 5d06b96 commit 01cb358
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ Additionally, you can also retry the build with the debug flag:
}

if (output.state === 'DEPLOYING') {
this.spinner.start('Creating a new release...');
this.spinner.start("Checking container's health ...");
}

if (output.state === 'UNHEALTHY') {
Expand Down Expand Up @@ -587,9 +587,9 @@ Additionally, you can also retry the build with the debug flag:
this.logKeyValue('PHP version', body.platformConfig.phpVersion);
return body;
} else {
this.log('No version specified in liara.json');
this.debug('No version specified in liara.json');

this.log('Auto-detecting version...');
this.debug('Auto-detecting version...');
let platformVersion: string | null = null;
switch (config.platform) {
case 'django':
Expand Down Expand Up @@ -643,7 +643,7 @@ Additionally, you can also retry the build with the debug flag:
break;
}
if (!platformVersion) {
this.log('No version for this platform found. Using default version');
this.debug('No version for this platform found. Using default version');
}
}

Expand Down Expand Up @@ -681,7 +681,7 @@ Additionally, you can also retry the build with the debug flag:
),
);
} else if (release.state === 'READY') {
this.spinner.succeed('Release created.');
this.spinner.succeed('Release is healthy.');
return resolve();
}
} catch (error) {
Expand Down

0 comments on commit 01cb358

Please sign in to comment.