
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@azure/brigadier
Advanced tools
Brigadier is the events and jobs library for Brigade.
This is the core of the Brigadier library, but the Kubernetes runtime is part of Brigade itself.
To run a brigade.js
file in Kubernetes, it will need to be executed within Brigade.
This library is useful for:
brigade.js
filesBecause there is no JobRunner
implementation, executing job.run()
is a no-op unless you override the appropriate methods on the Job
class.
Install with Yarn, NPM, etc.:
$ yarn add @azure/brigadier
While this library is fairly stable, it is considered best to match the version of this library to the version of Brigade that you are using.
The API is the same here as in Brigade's API:
const {events, Job} = require("@azure/brigadier");
events.on("push", (e, p) => {
console.log("Got a push event");
const j = new Job("example", "alpine:3.7");
j.run().then((res) => {
console.log(`result: ${ res.toString() } `)
});
});
To learn more, visit the official scripting guide.
FAQs
Brigade library for pipelines and events
We found that @azure/brigadier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.