Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: print the output of Run and Test actions on the info log level #5059

Merged
merged 2 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/plugins/exec/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ execDeploy.addHandler("deploy", async (params) => {
})

if (result.outputLog) {
const prefix = `Finished deploying service ${chalk.white(action.name)}. Here is the output:`
const prefix = `Finished deploying ${chalk.white(action.name)}. Here is the output:`
log.verbose(
renderMessageWithDivider({
prefix,
Expand Down
4 changes: 2 additions & 2 deletions core/src/plugins/exec/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ execRun.addHandler("run", async ({ artifactsPath, log, action, ctx }) => {
const { chalk } = sdk.util

if (outputLog) {
const prefix = `Finished running task ${chalk.white(action.name)}. Here is the full output:`
log.verbose(
const prefix = `Finished running ${chalk.white(action.name)}. Here is the full output:`
log.info(
renderMessageWithDivider({
prefix,
msg: outputLog,
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/exec/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ execTest.addHandler("run", async ({ log, action, artifactsPath, ctx }) => {

if (result.outputLog) {
const prefix = `Finished executing ${chalk.white(action.key())}. Here is the full output:`
log.verbose(
log.info(
renderMessageWithDivider({
prefix,
msg: result.outputLog,
Expand Down