Formae plugin for managing GitLab CI/CD 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 |
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_TOKENenvironment variableglabCLI config file (~/Library/Application Support/glab-cli/config.ymlor~/.config/glab-cli/config.yml)
See examples/ for usage patterns:
smoke-test.pkl- Simple variable creationinfra-to-app/- Full CI/CD pipeline with Azure credentials, environments, and deploy/destroy stages
FSL-1.1-ALv2