Skip to content

Commit

Permalink
Fix configuration setup so it works in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Jun 19, 2024
1 parent 675687c commit d9cd199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion testrunner/config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ log:

# The default sitespeed.io configuration file used by the sitespeed.io instance
# It will be merged by the server sitespeed.io config and what you add in the
# cli or gui
# cli or gui. If you use a Docker container, make sure to map a volume and use
# the full path to the configuration file
# sitespeedioConfigFile:

# The working directory for the testrunner, where it temporary will put it files
Expand Down
3 changes: 1 addition & 2 deletions testrunner/src/testrunners/docker-testrunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ export default async function runJob(job) {

// Modify config for use with default settings
if (nconf.get('sitespeedioConfigFile') !== undefined) {
job.data.config.extends =
'./config/' + nconf.get('sitespeedioConfigFile');
job.data.config.extends = nconf.get('sitespeedioConfigFile');
}

await writeFile(
Expand Down

0 comments on commit d9cd199

Please sign in to comment.