Skip to content

Commit b1f9458

Browse files
committed
log env vars known to be used by hadron build info
1 parent 00be813 commit b1f9458

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

packages/compass-e2e-tests/smoke-test.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,22 @@ async function run() {
131131
out: outPath,
132132
};
133133
console.log('infoArgs', infoArgs);
134+
135+
// These are known environment variables that will affect the way
136+
// writeBuildInfo works. Log them as a reminder and for our own sanity
137+
console.log(
138+
'info env vars',
139+
pick(process.env, [
140+
'HADRON_DISTRIBUTION',
141+
'HADRON_APP_VERSION',
142+
'HADRON_PRODUCT',
143+
'HADRON_PRODUCT_NAME',
144+
'HADRON_READONLY',
145+
'HADRON_ISOLATED',
146+
'DEV_VERSION_IDENTIFIER',
147+
'IS_RHEL',
148+
])
149+
);
134150
writeBuildInfo(infoArgs);
135151
const buildInfo = await readJson(infoArgs.out);
136152

0 commit comments

Comments
 (0)