Skip to content

Commit

Permalink
tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed May 25, 2024
1 parent 5d5001f commit 34c4bbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testrunner/src/testrunners/docker-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { writeFile, readFile, mkdir, rm } from 'node:fs/promises';
import path from 'node:path';
import os from 'node:os';

import { execa } from 'execa';
import log from 'intel';
Expand All @@ -10,7 +11,7 @@ import { queueHandler } from '../queue/queuehandler.js';
const { join } = path;

export default async function runJob(job) {
const baseWorkingDirectory = nconf.get('workingDirectory');
const baseWorkingDirectory = nconf.get('workingDirectory') || os.tmpdir();
const dockerContainer = nconf.get('docker:container');

const logger = log.getLogger(`sitespeedio.dockertestrunner.${job.id}`);
Expand Down

0 comments on commit 34c4bbe

Please sign in to comment.