Skip to main content
Version: Early Access

GitOps Plugin

The GitOps Plugin is a bundled plugin in the Deploy task engine that enables Git-based automation for managing configuration items (CIs). It provides configuration types that connect Deploy to Git repositories, allowing you to import and export infrastructure and environment definitions as YAML files.

For a complete walkthrough of GitOps workflows, see GitOps in Deploy.

Features

The GitOps Plugin provides the following features:

  • Establish secure connections to Git repositories using personal access token (PAT) authentication from your Git provider such as GitHub, GitLab, Azure DevOps, or Bitbucket
  • Verify Git repository connectivity using Check Connection
  • Import infrastructure and environment CIs from YAML files in Git into Deploy
  • Export infrastructure and environment CIs from Deploy to YAML files in Git

Configuration Types

The plugin introduces the following configuration item types:

git.GitSource

Defines the connection to a Git repository.

PropertyRequiredDescription
nameYesName of the CI
urlYesGit repository URL. Currently, only HTTPS is supported
usernameYesGit account username
passwordYesClassic Personal Access Token (PAT) generated from your Git provider. Fine-grained tokens are not supported

git.GitDirectory

A Git Directory is a CI in Deploy that maps a folder in Git by defining its branch and repository path. It must be created under a git.GitSource. Using a Git Directory, you can import and export infrastructure and environment CIs as YAML.

PropertyRequiredDescription
nameYesName of the CI
branchYesGit branch to use
gitRepositoryPathYesPath to the folder within the Git repository
infrastructureSourceDirNoSource directory under Infrastructure (for export). For example, Infrastructure/dev
environmentSourceDirNoSource directory under Environments (for export). For example, Environments/dev