Skip to content

Commit

Permalink
TS-33729 fix premission errors in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jveihelmann committed Aug 25, 2023
1 parent db6d6e0 commit 7e37d07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ services:
image: javascript-profiler
volumes:
- ./:/teamscale-javascript-profiler
command: sh -c "pnpm install && pnpm build && node ./test/systemtest.mjs release"
command: sh -c "chmod -R 755 test/ && pnpm install && pnpm build && node ./test/systemtest.mjs release"
5 changes: 2 additions & 3 deletions test/systemtest.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,8 @@ await (async function runSystemTest() {
})
}
for (const study of caseStudies) {

if (!fs.existsSync(folderName)) {
unzipProject(study);
if (!fs.existsSync(path.join(CASESTUDIES_DIR, study.name))) {
unzipProject(study.name);
}
const collectorPort = await identifyNextAvailablePort();
const sessionId = `session-${collectorPort}`;
Expand Down

0 comments on commit 7e37d07

Please sign in to comment.