v0.1.0
Generate AWS CodePipeline YAML config from a simple declarative syntax in TypeScript π οΈ π» β¨
Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Dependencies
esm.sh
Fluent AWS CodePipeline
Fluent AWS CodePipeline is a deno module for generating AWS CodePipeline configuration (buildspec.yml
) files easily and fluently.
π Usage
import { BuildSpec } from "https://deno.land/x/fluent_aws_codepipeline@v0.1.0/mod.ts";
const buildspec = new BuildSpec();
buildspec
.phase("install", {
"runtime-versions": {
golang: "1.13",
},
})
.phase("build", {
commands: [
"echo Build started on `date`",
"echo Compiling the Go code",
"go build hello.go",
],
})
.phase("post_build", {
commands: ["echo Build completed on `date`"],
})
.artifacts({
files: ["hello"],
});
console.log(buildspec.toString());
buildspec.save("buildspec.yml");