Skip to content

Commit

Permalink
Merge pull request #95 from useblacksmith/write-bb-startr
Browse files Browse the repository at this point in the history
src: write a sentinel file once the builder is setup
  • Loading branch information
adityamaru authored Jan 10, 2025
2 parents 37974fc + f440133 commit 75e9b3f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,14 @@ actionsToolkit.run(
}
});
}
// Write a sentinel file to indicate builder setup is complete.
const sentinelPath = path.join('/tmp', 'builder-setup-complete');
try {
fs.writeFileSync(sentinelPath, 'Builder setup completed successfully.');
core.debug(`Created builder setup sentinel file at ${sentinelPath}`);
} catch (error) {
core.warning(`Failed to create builder setup sentinel file: ${error.message}`);
}

await core.group(`Proxy configuration`, async () => {
let dockerConfig: ConfigFile | undefined;
Expand Down

0 comments on commit 75e9b3f

Please sign in to comment.