Skip to content

Commit

Permalink
logging step
Browse files Browse the repository at this point in the history
  • Loading branch information
h0x0er committed Jul 29, 2024
1 parent 0fe20c9 commit 727d06a
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 39 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/post/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

101 changes: 65 additions & 36 deletions dist/pre/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/pre/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/cleanup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import isDocker from "is-docker";
import { arcCleanUp, isArcRunner, removeStepPolicyFiles } from "./arc-runner";

(async () => {
console.log("[harden-runner] post-step");

if (process.platform !== "linux") {
console.log(common.UBUNTU_MESSAGE);
return;
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import isDocker from "is-docker";
import { STEPSECURITY_WEB_URL } from "./configs";

(async () => {
console.log("[harden-runner] main-step");

if (process.platform !== "linux") {
console.log(common.UBUNTU_MESSAGE);
return;
Expand Down
2 changes: 2 additions & 0 deletions src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ interface MonitorResponse {

(async () => {
try {
console.log("[harden-runner] pre-step");

if (process.platform !== "linux") {
console.log(common.UBUNTU_MESSAGE);
return;
Expand Down

0 comments on commit 727d06a

Please sign in to comment.