Merge pull request #50 from crazy-max/disable-clipping

Revert BuildKit step log limits tweak
This commit is contained in:
CrazyMax 2021-01-05 13:39:38 +01:00 committed by GitHub
commit 154c24e1f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 9 deletions

4
dist/index.js generated vendored
View File

@ -518,8 +518,6 @@ const buildx = __importStar(__webpack_require__(295));
const context = __importStar(__webpack_require__(842));
const mexec = __importStar(__webpack_require__(757));
const stateHelper = __importStar(__webpack_require__(647));
const buildkitStepLogMaxSize = 1024 * 8192;
const buildkitStepLogMaxSpeed = -1;
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
@ -546,8 +544,6 @@ function run() {
yield context.asyncForEach(inputs.driverOpts, (driverOpt) => __awaiter(this, void 0, void 0, function* () {
createArgs.push('--driver-opt', driverOpt);
}));
createArgs.push('--driver-opt', 'env.BUILDKIT_STEP_LOG_MAX_SIZE=' + buildkitStepLogMaxSize);
createArgs.push('--driver-opt', 'env.BUILDKIT_STEP_LOG_MAX_SPEED=' + buildkitStepLogMaxSpeed);
if (inputs.buildkitdFlags) {
createArgs.push('--buildkitd-flags', inputs.buildkitdFlags);
}

View File

@ -8,9 +8,6 @@ import * as context from './context';
import * as mexec from './exec';
import * as stateHelper from './state-helper';
const buildkitStepLogMaxSize = 1024 * 8192;
const buildkitStepLogMaxSpeed = -1;
async function run(): Promise<void> {
try {
if (os.platform() !== 'linux') {
@ -41,8 +38,6 @@ async function run(): Promise<void> {
await context.asyncForEach(inputs.driverOpts, async driverOpt => {
createArgs.push('--driver-opt', driverOpt);
});
createArgs.push('--driver-opt', 'env.BUILDKIT_STEP_LOG_MAX_SIZE=' + buildkitStepLogMaxSize);
createArgs.push('--driver-opt', 'env.BUILDKIT_STEP_LOG_MAX_SPEED=' + buildkitStepLogMaxSpeed);
if (inputs.buildkitdFlags) {
createArgs.push('--buildkitd-flags', inputs.buildkitdFlags);
}