@k3tech/backstage-plugin-scaffolder-backend-module-azure-devops
v1.3.1
Published
The azure-devops module for @backstage/plugin-scaffolder-backend
Downloads
19
Readme
Plugin for scaffolder backend azure-devops
The azure-devops module for @backstage/plugin-scaffolder-backend.
This package make you able to execute multiples parameters with an single call.
You can see all available examples here.
Get Started
on packages/backend/src/plugins/scaffolder.ts
import { createAzureDevOpsActions } from "@k3tech/backstage-plugin-scaffolder-backend-module-azure-devops";
...
export default async function createPlugin(
env: PluginEnvironment,
): Promise<Router> {
const {
config,
discovery,
logger,
database,
reader,
identity,
} = env
const catalogClient = new CatalogClient({
discoveryApi: discovery,
});
const integrations = ScmIntegrations.fromConfig(config);
const options = {
config,
discovery,
logger,
database,
reader,
identity,
catalogClient,
integrations
}
...
const azureDevOpsActions = createAzureDevOpsActions(options);
return await createRouter({
...options,
actions: [
...
...azureDevOpsActions,
]
});
This plugin was created through the Backstage CLI