Skip to content

Commit 76ee713

Browse files
committed
remove fetch_files command
1 parent 5397a65 commit 76ee713

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

dist/main/index.js

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/container-service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ export const ContainerService = {
5555

5656
// Then run the dependabot commands as dependabot user
5757
const dependabotCommands = [
58-
'mkdir -p /home/dependabot/dependabot-updater/output',
59-
'$DEPENDABOT_HOME/dependabot-updater/bin/run fetch_files'
58+
'mkdir -p /home/dependabot/dependabot-updater/output'
6059
]
6160

6261
if (command === 'graph') {

src/updater-builder.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import {FileFetcherInput, FileUpdaterInput} from './config-types'
55
import {JobParameters} from './inputs'
66
import {Proxy} from './proxy'
77

8-
const JOB_OUTPUT_FILENAME = 'output.json'
9-
const JOB_OUTPUT_PATH = '/home/dependabot/dependabot-updater/output'
108
const JOB_INPUT_FILENAME = 'job.json'
119
const JOB_INPUT_PATH = `/home/dependabot/dependabot-updater`
1210
const REPO_CONTENTS_PATH = '/home/dependabot/dependabot-updater/repo'
@@ -38,15 +36,13 @@ export class UpdaterBuilder {
3836
`DEPENDABOT_JOB_TOKEN=`,
3937
`DEPENDABOT_JOB_PATH=${JOB_INPUT_PATH}/${JOB_INPUT_FILENAME}`,
4038
`DEPENDABOT_OPEN_TIMEOUT_IN_SECONDS=15`,
41-
`DEPENDABOT_OUTPUT_PATH=${JOB_OUTPUT_PATH}/${JOB_OUTPUT_FILENAME}`,
4239
`DEPENDABOT_REPO_CONTENTS_PATH=${REPO_CONTENTS_PATH}`,
4340
`DEPENDABOT_API_URL=${this.jobParams.dependabotApiDockerUrl}`,
4441
`SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt`,
4542
`http_proxy=${proxyUrl}`,
4643
`HTTP_PROXY=${proxyUrl}`,
4744
`https_proxy=${proxyUrl}`,
4845
`HTTPS_PROXY=${proxyUrl}`,
49-
`UPDATER_ONE_CONTAINER=1`,
5046
`ENABLE_CONNECTIVITY_CHECK=${
5147
process.env.DEPENDABOT_ENABLE_CONNECTIVITY_CHECK || '1'
5248
}`

0 commit comments

Comments
 (0)