Skip to content

Commit

Permalink
Remove hardcoded paths
Browse files Browse the repository at this point in the history
Updater workdir is set to the updater folder, so no need to use full paths.
  • Loading branch information
deivid-rodriguez committed Jan 4, 2024
1 parent bb50f5e commit bb1d87b
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 92 deletions.
31 changes: 10 additions & 21 deletions dist/cleanup/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cleanup/index.js.map

Large diffs are not rendered by default.

32 changes: 10 additions & 22 deletions dist/cleanup/licenses.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 12 additions & 23 deletions dist/main/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions dist/main/licenses.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/updater-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export class UpdaterBuilder {
async run(containerName: string): Promise<Container> {
const cmd = `/usr/sbin/update-ca-certificates &&\
mkdir -p ${JOB_OUTPUT_PATH} &&\
$DEPENDABOT_HOME/dependabot-updater/bin/run fetch_files &&\
$DEPENDABOT_HOME/dependabot-updater/bin/run update_files`
bin/run fetch_files &&\
bin/run update_files`

const proxyUrl = await this.proxy.url()
const container = await this.docker.createContainer({
Expand Down

0 comments on commit bb1d87b

Please sign in to comment.