build dist and trim ubuntu-slim message
Drop the parenthetical detail from UBUNTU_SLIM_MESSAGE so the user-facing log is concise, and regenerate dist/ so the action can run from this branch without a separate build step.
This commit is contained in:
parent
4e0504ee08
commit
6e928567d7
7 changed files with 15 additions and 4 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
|
@ -32046,6 +32046,7 @@ const HARDEN_RUNNER_UNAVAILABLE_MESSAGE = "Sorry, we are currently experiencing
|
||||||
const ARC_RUNNER_MESSAGE = "Workflow is currently being executed in ARC based runner.";
|
const ARC_RUNNER_MESSAGE = "Workflow is currently being executed in ARC based runner.";
|
||||||
const ARM64_RUNNER_MESSAGE = "ARM runners are not supported in the Harden-Runner community tier.";
|
const ARM64_RUNNER_MESSAGE = "ARM runners are not supported in the Harden-Runner community tier.";
|
||||||
const ARM64_WINDOWS_RUNNER_MESSAGE = "Windows ARM runners are not yet supported by Harden-Runner.";
|
const ARM64_WINDOWS_RUNNER_MESSAGE = "Windows ARM runners are not yet supported by Harden-Runner.";
|
||||||
|
const UBUNTU_SLIM_MESSAGE = "This job is running on an ubuntu-slim runner. Harden Runner is not supported on ubuntu-slim runners. This job will not be monitored.";
|
||||||
|
|
||||||
;// CONCATENATED MODULE: external "node:fs"
|
;// CONCATENATED MODULE: external "node:fs"
|
||||||
const external_node_fs_namespaceObject = require("node:fs");
|
const external_node_fs_namespaceObject = require("node:fs");
|
||||||
|
|
|
||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
5
dist/post/index.js
vendored
5
dist/post/index.js
vendored
|
|
@ -32052,6 +32052,7 @@ const HARDEN_RUNNER_UNAVAILABLE_MESSAGE = "Sorry, we are currently experiencing
|
||||||
const ARC_RUNNER_MESSAGE = "Workflow is currently being executed in ARC based runner.";
|
const ARC_RUNNER_MESSAGE = "Workflow is currently being executed in ARC based runner.";
|
||||||
const ARM64_RUNNER_MESSAGE = "ARM runners are not supported in the Harden-Runner community tier.";
|
const ARM64_RUNNER_MESSAGE = "ARM runners are not supported in the Harden-Runner community tier.";
|
||||||
const ARM64_WINDOWS_RUNNER_MESSAGE = "Windows ARM runners are not yet supported by Harden-Runner.";
|
const ARM64_WINDOWS_RUNNER_MESSAGE = "Windows ARM runners are not yet supported by Harden-Runner.";
|
||||||
|
const UBUNTU_SLIM_MESSAGE = "This job is running on an ubuntu-slim runner. Harden Runner is not supported on ubuntu-slim runners. This job will not be monitored.";
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "path"
|
// EXTERNAL MODULE: external "path"
|
||||||
var external_path_ = __nccwpck_require__(6928);
|
var external_path_ = __nccwpck_require__(6928);
|
||||||
|
|
@ -32214,6 +32215,10 @@ var cleanup_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _
|
||||||
console.log(CONTAINER_MESSAGE);
|
console.log(CONTAINER_MESSAGE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (isGithubHosted() && process.platform === "linux" && !process.env.USER) {
|
||||||
|
console.log(UBUNTU_SLIM_MESSAGE);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (isARCRunner()) {
|
if (isARCRunner()) {
|
||||||
console.log(`[!] ${ARC_RUNNER_MESSAGE}`);
|
console.log(`[!] ${ARC_RUNNER_MESSAGE}`);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
5
dist/pre/index.js
vendored
5
dist/pre/index.js
vendored
|
|
@ -85171,6 +85171,7 @@ const HARDEN_RUNNER_UNAVAILABLE_MESSAGE = "Sorry, we are currently experiencing
|
||||||
const ARC_RUNNER_MESSAGE = "Workflow is currently being executed in ARC based runner.";
|
const ARC_RUNNER_MESSAGE = "Workflow is currently being executed in ARC based runner.";
|
||||||
const ARM64_RUNNER_MESSAGE = "ARM runners are not supported in the Harden-Runner community tier.";
|
const ARM64_RUNNER_MESSAGE = "ARM runners are not supported in the Harden-Runner community tier.";
|
||||||
const ARM64_WINDOWS_RUNNER_MESSAGE = "Windows ARM runners are not yet supported by Harden-Runner.";
|
const ARM64_WINDOWS_RUNNER_MESSAGE = "Windows ARM runners are not yet supported by Harden-Runner.";
|
||||||
|
const UBUNTU_SLIM_MESSAGE = "This job is running on an ubuntu-slim runner. Harden Runner is not supported on ubuntu-slim runners. This job will not be monitored.";
|
||||||
|
|
||||||
;// CONCATENATED MODULE: external "node:fs"
|
;// CONCATENATED MODULE: external "node:fs"
|
||||||
const external_node_fs_namespaceObject = require("node:fs");
|
const external_node_fs_namespaceObject = require("node:fs");
|
||||||
|
|
@ -85812,6 +85813,10 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
||||||
console.log(CONTAINER_MESSAGE);
|
console.log(CONTAINER_MESSAGE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (isGithubHosted() && process.platform === "linux" && !process.env.USER) {
|
||||||
|
console.log(UBUNTU_SLIM_MESSAGE);
|
||||||
|
return;
|
||||||
|
}
|
||||||
var correlation_id = v4();
|
var correlation_id = v4();
|
||||||
var api_url = configs_STEPSECURITY_API_URL;
|
var api_url = configs_STEPSECURITY_API_URL;
|
||||||
var web_url = STEPSECURITY_WEB_URL;
|
var web_url = STEPSECURITY_WEB_URL;
|
||||||
|
|
|
||||||
2
dist/pre/index.js.map
vendored
2
dist/pre/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -150,4 +150,4 @@ export const ARM64_WINDOWS_RUNNER_MESSAGE =
|
||||||
"Windows ARM runners are not yet supported by Harden-Runner.";
|
"Windows ARM runners are not yet supported by Harden-Runner.";
|
||||||
|
|
||||||
export const UBUNTU_SLIM_MESSAGE =
|
export const UBUNTU_SLIM_MESSAGE =
|
||||||
"This job is running on an ubuntu-slim runner (GitHub-hosted Linux container without a standard USER environment variable). Harden Runner is not supported on ubuntu-slim runners. This job will not be monitored.";
|
"This job is running on an ubuntu-slim runner. Harden Runner is not supported on ubuntu-slim runners. This job will not be monitored.";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue