Skip to main content
Version: Next

createGitlabProjectVariableAction()

Home > @backstage/plugin-scaffolder-backend-module-gitlab > createGitlabProjectVariableAction

Creates a gitlab:projectVariable:create Scaffolder action.

Signature:

createGitlabProjectVariableAction: (options: {
integrations: ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
key: string;
value: string;
repoUrl: string;
projectId: string | number;
variableType: string;
raw?: boolean | undefined;
token?: string | undefined;
masked?: boolean | undefined;
environmentScope?: string | undefined;
variableProtected?: boolean | undefined;
}, import("@backstage/types").JsonObject>

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; }

Templating configuration.

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ key: string; value: string; repoUrl: string; projectId: string | number; variableType: string; raw?: boolean | undefined; token?: string | undefined; masked?: boolean | undefined; environmentScope?: string | undefined; variableProtected?: boolean | undefined; }, import("@backstage/types").JsonObject>