Skip to content

Commit

Permalink
Merge branch 'migrate_to_settings'
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed May 25, 2018
2 parents 6cc0eb5 + 0ad277d commit 01a0357
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Dockerfile.runner
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ ADD . /app
WORKDIR /app

ARG SOURCE_COMMIT
RUN test -n "$SOURCE_COMMIT"
ENV SOURCE_COMMIT $SOURCE_COMMIT


# This will also trigger the build process
RUN yarn install

Expand Down
1 change: 1 addition & 0 deletions source/db/getDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const hasJSONDef = !!process.env.DATABASE_JSON_FILE
const hasPerilAPIURL = !!process.env.PUBLIC_API_ROOT_URL
const hasHyperEnv = !!process.env.x_hyper_content_sha256

/** There are three runtime environments for Peril, this says which one it is */
export const runtimeEnvironment = hasJSONDef
? RuntimeEnvironment.Standalone
: hasPerilAPIURL
Expand Down
1 change: 0 additions & 1 deletion source/runner/triggerSandboxRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export const triggerSandboxDangerRun = async (

// Grab the installation env vars
const envVars = await getEnvVars(installation.iID)
console.log("OK", envVars)
const stdOUT: PerilRunnerBootstrapJSON = {
installation,
payload,
Expand Down

0 comments on commit 01a0357

Please sign in to comment.