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: {}
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
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.
git
required string subPath
required string
SubPath is a path within the git repository where the artifact lies in
subPath
required string branch
required string
Branch is the git branch to pull
branch
required string tag
required string
Tag is the tag to pull
tag
required string revision
required string
Revision is the git revision to pull
revision
required string cloneArgs
required string[]
CloneArgs are additional arguments that should be supplied to the git CLI
cloneArgs
required string[] disableShallow
required boolean false
DisableShallow can be used to turn off shallow clones as these are the default used
by devspace
disableShallow
required boolean false disablePull
required boolean false
DisablePull will disable pulling every time DevSpace is reevaluating this source
disablePull
required boolean false pipeline
required string deploy
Pipeline is the pipeline to deploy by default. Defaults to 'deploy'
pipeline
required string deploy vars
required <var_name>:string
Vars are variables that should be passed to the dependency
vars
required <var_name>:string overwriteVars
required boolean false
OverwriteVars specifies if DevSpace should pass the parent variables to the dependency
overwriteVars
required boolean false ignoreDependencies
required boolean false
IgnoreDependencies defines if dependencies of the dependency should be excluded
ignoreDependencies
required boolean false namespace
required string
Namespace specifies the namespace this dependency should be deployed to
namespace
required string