Skip to content

Commit

Permalink
Progress bar stays minimal in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Sep 18, 2024
1 parent e31586c commit 6d74874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/executor/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ export default async function runConfig(config, domain, writer, sandbox = false)
}
}
await sshExec('unset HISTFILE TERM', false); // https://stackoverflow.com/a/9039154/3908409
await sshExec(`export CI=true CONTINUOUS_INTEGRATION=true LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8`, false);
await sshExec(`export CI=true CONTINUOUS_INTEGRATION=true LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 `, false);
await sshExec(`export PIP_PROGRESS_BAR=off BUILDKIT_PROGRESS=plain`, false);
await sshExec(`USERNAME='${domaindata['Username']}' PASSWORD='${domaindata['Password']}'`, false);
const firewallOn = await firewallStatus();
if (config.subdomain) {
Expand Down
1 change: 0 additions & 1 deletion src/executor/runnercode.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export async function runConfigCodeFeatures(key, value, writeLog, domaindata, ss
await sshExec(`pyenv install ${parg.version} -s`);
}
await sshExec(`pyenv global ${parg.version.replace(":latest", "")}`);
await sshExec(`[[ -z $PIP_PROGRESS_BAR ]] && echo "export PIP_PROGRESS_BAR=off" >> ~/.bashrc`)
await sshExec(`source ~/.bashrc`, false)
await sshExec("python --version");
}
Expand Down

0 comments on commit 6d74874

Please sign in to comment.