Skip to content

Commit 01a0357

Browse files
committedMay 25, 2018
Merge branch 'migrate_to_settings'
2 parents 6cc0eb5 + 0ad277d commit 01a0357

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed
 

‎Dockerfile.runner

-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ ADD . /app
44
WORKDIR /app
55

66
ARG SOURCE_COMMIT
7-
RUN test -n "$SOURCE_COMMIT"
87
ENV SOURCE_COMMIT $SOURCE_COMMIT
98

10-
119
# This will also trigger the build process
1210
RUN yarn install
1311

‎source/db/getDB.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const hasJSONDef = !!process.env.DATABASE_JSON_FILE
1010
const hasPerilAPIURL = !!process.env.PUBLIC_API_ROOT_URL
1111
const hasHyperEnv = !!process.env.x_hyper_content_sha256
1212

13+
/** There are three runtime environments for Peril, this says which one it is */
1314
export const runtimeEnvironment = hasJSONDef
1415
? RuntimeEnvironment.Standalone
1516
: hasPerilAPIURL

‎source/runner/triggerSandboxRun.ts

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ export const triggerSandboxDangerRun = async (
6565

6666
// Grab the installation env vars
6767
const envVars = await getEnvVars(installation.iID)
68-
console.log("OK", envVars)
6968
const stdOUT: PerilRunnerBootstrapJSON = {
7069
installation,
7170
payload,

0 commit comments

Comments
 (0)
Please sign in to comment.