Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Versions
- v0.3.0Latest
- v0.2.17
- v0.2.16
- v0.2.15
- v0.2.14
- v0.2.13
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4.2
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1-2
- v0.2.1
- v0.1.66
- v0.1.65
- v0.1.64
- v0.1.63
- v0.1.62
- v0.1.61
- v0.1.60
- v0.1.59
- v0.1.58
- v0.1.57
- v0.1.56
- v0.1.55
- v0.1.54
- v0.1.53
- v0.1.52
- v0.1.51
- v0.1.50
- v0.1.49
- v0.1.48
- v0.1.47
- v0.1.46
- v0.1.45
- v0.1.44
- v0.1.43
- v0.1.42
- v0.1.41-dev
- v0.1.40
- v0.1.33
- v0.1.32
- v0.1.31
- v0.1.30
- v0.1.29
- v0.1.28
- v0.1.27
- v0.1.26
- v0.1.25
- v0.1.24
- v0.1.23
- v0.1.22
- v0.1.21
- v0.1.20
- v0.1.19
- v0.1.18
- v0.1.17
- v0.1.16
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
Pipelight Helpers
Self-hosted automation pipelines. Helpers Documentation.
Overview
Helpers are functions that take an Object as argument and generate executable strings for pipelight to process. They are presented from the lowest to the highest level of abstraction they provide.
Common helpers
Define pipelines quicker.
// define a pipeline
pipeline("deploy", () => [
// define steps and add your bash commands
step("build", () => ["vite build"]),
]);
Send commands to remotes.
step("build", () => ssh([host], ["nginx -t", "systemclt restart nginx"])),
Early exec some commands to process the result.
const pwd = await exec("pwd");
Docker helpers
Edit a Docker Object.
const docker = new Docker({
containers: [
{
name: "my_container",
image: {
name: "node:latest",
},
},
],
});
Add autogenerated bash commands to your pipeline.
pipeline("deploy", () => [
// add bash commands autogenerated by the docker helper
step("create:containers", () => [docker.containers.create()]),
]);
Service helpers
…