Skip to main content

A Pulumi package for creating and managing GitLab resources.

Project description

Actions Status Slack NPM version Python version NuGet version PkgGoDev License

GitLab provider

The GitLab resource provider for Pulumi lets you use GitLab resources in your cloud programs. To use this package, please install the Pulumi CLI first.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @pulumi/gitlab

or yarn:

$ yarn add @pulumi/gitlab

Python

To use from Python, install using pip:

$ pip install pulumi_gitlab

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/pulumi/pulumi-gitlab/sdk/v4

.NET

To use from .NET, install using dotnet add package:

$ dotnet add package Pulumi.Gitlab

Concepts

The @pulumi/gitlab package provides a strongly-typed means to create cloud applications that create and interact closely with GitLab resources.

Configuration

The following configuration points are available:

  • token (Optional) - This is the GitLab personal access token. It must be provided but can also be sourced via GITLAB_TOKEN.

  • base_url (Optional) - This is the target GitLab base API endpoint. Providing a value is a requirement when working with GitLab CE or GitLab Enterprise e.g. https://my.gitlab.server/api/v4/. It is optional to provide this value and it can also be sourced from the GITLAB_BASE_URL environment variable. The value must end with a slash.

  • cacert_file (Optional) - This is a file containing the ca cert to verify the gitlab instance. This is available for use when working with GitLab CE or Gitlab Enterprise with a locally-issued or self-signed certificate chain.

  • insecure (Optional) - When set to true this disables SSL verification of the connection to the GitLab instance. Defaults to false.

Reference

For further information, please visit the GitLab provider docs or for detailed reference documentation, please visit the API docs.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_gitlab-4.11.0a1684185983.tar.gz (306.7 kB view details)

Uploaded Source

File details

Details for the file pulumi_gitlab-4.11.0a1684185983.tar.gz.

File metadata

File hashes

Hashes for pulumi_gitlab-4.11.0a1684185983.tar.gz
Algorithm Hash digest
SHA256 2dd65572ca8c8b2bb6959d74911783927e2033d7e871eebd980773b30da2987b
MD5 5b0160a2bc6eeb24fb3b1b47009096e8
BLAKE2b-256 5d24705c55588e87e6ad6ecafa62a8b2daf7e8d6f3b46c13dc845324f092f758

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page