Skip to content

Commit

Permalink
Prefix ENV var name with DEPENDABOT_
Browse files Browse the repository at this point in the history
Might be a bit overly cautious, but this should prevent collisions in
the event that another value is set somewhere.
  • Loading branch information
Landon Grindheim committed Apr 6, 2022
1 parent c6c9e34 commit d0e10ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/updater-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class UpdaterBuilder {
`DEPENDABOT_JOB_ID=${this.jobParams.jobId}`,
`DEPENDABOT_JOB_TOKEN=${this.jobParams.jobToken}`,
`DEPENDABOT_JOB_PATH=${JOB_INPUT_PATH}/${JOB_INPUT_FILENAME}`,
`DEPENDABOT_OPEN_TIMEOUT_IN_SECONDS=10`,
`DEPENDABOT_OUTPUT_PATH=${JOB_OUTPUT_PATH}/${JOB_OUTPUT_FILENAME}`,
`DEPENDABOT_REPO_CONTENTS_PATH=${REPO_CONTENTS_PATH}`,
`DEPENDABOT_API_URL=${this.jobParams.dependabotApiDockerUrl}`,
Expand All @@ -50,8 +51,7 @@ export class UpdaterBuilder {
`HTTP_PROXY=${this.proxy.url}`,
`https_proxy=${this.proxy.url}`,
`HTTPS_PROXY=${this.proxy.url}`,
`ENABLE_CONNECTIVITY_CHECK=1`,
`OPEN_TIMEOUT_IN_SECONDS=10`
`ENABLE_CONNECTIVITY_CHECK=1`
],
Cmd: ['sh', '-c', cmd],
HostConfig: {
Expand Down

0 comments on commit d0e10ce

Please sign in to comment.