MCPcopy Create free account
hub / github.com/anomalyco/console / createBuildScript

Function createBuildScript

infra/autodeploy.ts:40–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38});
39
40function createBuildScript() {
41 const bucket = storage.name;
42 const content = fs.readFileSync("packages/build/buildspec/index.mjs", "utf8");
43 const version = createHash("sha256").update(content).digest("hex");
44 new aws.s3.BucketObjectv2("AutodeployBuildspec", {
45 bucket,
46 key: `buildspec/${version}/index.mjs`,
47 acl: "public-read",
48 content,
49 });
50 return { bucket, version };
51}
52
53function createEcrRepo() {
54 const repo = new aws.ecrpublic.Repository("AutodeployRepository", {

Callers 1

autodeploy.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected