0.1.185-beta • Published 1 year ago
cloudbuild-task-local v0.1.185-beta
cloudbuild-task-local
This package implements the cloudbuild-task-contracts abstraction for running a task locally. This allows a build task that was written against that abstraction to run on any machine, with certain CI system inputs/outputs mocked up. This is useful for development and automated testing of your task.
Example usage
import { LocalFactory } from 'cloudbuild-task-local';
import { run } from './MyPortableTask';
async function testRunner() {
const mockedInputs = {
input1: 'enabled',
};
const factory = await LocalFactory.CreateAsync(mockedInputs);
run(factory);
}
testRunner();
0.1.185-beta
1 year ago
0.1.122-beta
3 years ago
0.1.105-beta
4 years ago
0.1.78-alpha
4 years ago
0.1.70-alpha
4 years ago
0.1.66-alpha
5 years ago
0.1.64-alpha
5 years ago
0.1.52-alpha
5 years ago
0.1.51-alpha.gf68782b92e
5 years ago
0.1.48-alpha.gdf269e8946
5 years ago
0.1.49-alpha.gcdab05e938
5 years ago
0.1.48-alpha.g820f1787b5
5 years ago
0.1.47-alpha.g36f3b2825f
5 years ago
0.1.41-alpha
5 years ago