跳到正文

GitLab ​

The GitLab provider for Pulumi can be used to provision any of the cloud resources available in GitLab. The GitLab provider must be configured with credentials to deploy and update resources in GitLab.

See the full API documentation for complete details of the available GitLab provider APIs.

Setup ​

The GitLab provider supports several options for providing access to GitLab credentials. See the GitLab setup page for details.

Example ​

typescript
import * as gitlab from "@pulumi/gitlab";

const project = new gitlab.Project("my-project", {
  description: "example project created by Pulumi",
  visibilityLevel: "public",
});

Libraries ​

The following packages are available in packager managers:

The GitLab provider is open source and available in the pulumi/pulumi-gitlab repo.

文档内容翻译自 Pulumi 官方文档。