onveloz 0.0.0-beta.23 → 0.0.0-beta.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -955,6 +955,7 @@ function getFailureHints(status) {
|
|
|
955
955
|
case "BUILD_FAILED": return [
|
|
956
956
|
"Verifique os logs de build acima para erros de compilação",
|
|
957
957
|
"Teste o build localmente: rode o comando de build do seu projeto",
|
|
958
|
+
"Use 'veloz builds list' e 'veloz builds logs <id>' para revisar o build",
|
|
958
959
|
"Use 'veloz config show' para verificar as configurações"
|
|
959
960
|
];
|
|
960
961
|
case "DEPLOY_FAILED": return [
|
|
@@ -1014,9 +1015,11 @@ async function renderDeployTUI(deploymentId, serviceId, serviceName) {
|
|
|
1014
1015
|
const errorMsg = serviceName ? `Deploy de ${chalk.bold(serviceName)} finalizou: ${label}` : `Deploy finalizou: ${label}`;
|
|
1015
1016
|
process.stderr.write(chalk.red(`\n✗ ${errorMsg}`) + "\n");
|
|
1016
1017
|
for (const hint of hints) process.stderr.write(chalk.yellow(` → ${hint}`) + "\n");
|
|
1018
|
+
process.stderr.write(chalk.yellow(` → Use 'veloz builds logs ${deploymentId}' para ver os logs completos`) + "\n");
|
|
1017
1019
|
process.exit(1);
|
|
1018
1020
|
}
|
|
1019
1021
|
return {
|
|
1022
|
+
deploymentId,
|
|
1020
1023
|
status: finalStatus,
|
|
1021
1024
|
logs: resultRef.current.logs.filter((l) => l.trim()),
|
|
1022
1025
|
urls,
|