From 0ad277d1dbb19ebba9d41d71fded590872076d36 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Fri, 25 May 2018 17:57:09 -0400 Subject: [PATCH] Fix bits --- Dockerfile.runner | 2 -- source/db/getDB.ts | 1 + source/runner/triggerSandboxRun.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile.runner b/Dockerfile.runner index fc0b2396..5b84aa00 100644 --- a/Dockerfile.runner +++ b/Dockerfile.runner @@ -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 diff --git a/source/db/getDB.ts b/source/db/getDB.ts index 1e22e3d9..08c3a5be 100644 --- a/source/db/getDB.ts +++ b/source/db/getDB.ts @@ -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 diff --git a/source/runner/triggerSandboxRun.ts b/source/runner/triggerSandboxRun.ts index 6e76ef65..97330c6c 100644 --- a/source/runner/triggerSandboxRun.ts +++ b/source/runner/triggerSandboxRun.ts @@ -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,