platform.engineering/gitlabofficialv0.1.1stableresource

installation
$formae plugin install gitlab

GitLab Plugin for Formae

Formae plugin for managing GitLab CI/CD resources.

Supported Resources

Resource Type Description
GitLab::Project::Variable CI/CD variables (with masked/protected support)
GitLab::Project::File Repository files (.gitlab-ci.yml, etc.)
GitLab::Project::Environment Deployment environments
GitLab::Project::Pipeline .gitlab-ci.yml pipeline declared as a typed Pkl resource

Configuration

Configure a GitLab target in your Forma file:

new formae.Target {
    label = "my-gitlab-target"
    namespace = "GitLab"
    config = new gitlab.Config {
        group = "my-group"
        project = "my-project"
    }
}

Authentication uses the following chain (in order):

  • GITLAB_TOKEN environment variable
  • glab CLI config file (~/Library/Application Support/glab-cli/config.yml or ~/.config/glab-cli/config.yml)

Examples

See examples/ for usage patterns:

  • smoke-test.pkl - Simple variable creation
  • infra-to-app/ - Full CI/CD pipeline with Azure credentials, environments, and deploy/destroy stages

License

FSL-1.1-ALv2

type
resource
category
cicd
license
FSL-1.1-ALv2
originator
platform.engineering
namespace
GitLab
latest
v0.1.1 · stable
platforms
repo
github.com/platform-engineering-labs/formae-plugin-gitlab
versions (1)
v0.1.1stable
2026-05-13