Skip to main content
Version: 6.x (Latest)

Deploy Git-based Dependencies

dependencies:
api-server:
git: https://github.com/my-api-server
branch: stable
auth-server:
git: https://github.com/my-auth-server
revision: c967392
pipeline: dev
database-server:
git: https://github.com/my-database-server
tag: v3.0.1
subPath: /configuration
dev:
my-dev:
imageSelector: ghcr.io/org/project/image
terminal: {}
Authentication

DevSpace is using the git credential store. So, if you are able to clone or pull from the specified repository, DevSpace will also be able clone or pull this repository.

Configuration

Source: Git Repository

git required string

Git is the remote repository to download the artifact from. You can either use https projects or ssh projects here, but need to make sure git can pull the project. This option is mutually exclusive with the path option.

subPath required string

SubPath is a path within the git repository where the artifact lies in

branch required string

Branch is the git branch to pull

tag required string

Tag is the tag to pull

revision required string

Revision is the git revision to pull

cloneArgs required string[]

CloneArgs are additional arguments that should be supplied to the git CLI

disableShallow required boolean false

DisableShallow can be used to turn off shallow clones as these are the default used by devspace

disablePull required boolean false

DisablePull will disable pulling every time DevSpace is reevaluating this source

Execution

pipeline required string deploy

Pipeline is the pipeline to deploy by default. Defaults to 'deploy'

vars required <var_name>:string

Vars are variables that should be passed to the dependency

overwriteVars required boolean false

OverwriteVars specifies if DevSpace should pass the parent variables to the dependency

ignoreDependencies required boolean false

IgnoreDependencies defines if dependencies of the dependency should be excluded

namespace required string

Namespace specifies the namespace this dependency should be deployed to