-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevspace.yaml
More file actions
executable file
·55 lines (51 loc) · 1.93 KB
/
devspace.yaml
File metadata and controls
executable file
·55 lines (51 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: v2beta1
name: peers
# This is a list of `pipelines` that DevSpace can execute (you can define your own)
pipelines:
# You can run this pipeline via `devspace deploy` (or `devspace run-pipeline deploy`)
deploy:
run: |-
run_dependencies --all # 1. Deploy any projects this project needs (see "dependencies")
ensure_pull_secrets --all # 2. Ensure pull secrets
build_images --all -t $(git describe --always) --sequential # 3. Build, tag (git commit hash) and push all images (see "images")
create_deployments --all # 4. Deploy Helm charts and manifests specfied as "deployments"
# This is the pipeline for the main command: `devspace dev` (or `devspace run-pipeline dev`)
dev:
run: |-
run_dependencies --all # 1. Deploy any projects this project needs (see "dependencies")
ensure_pull_secrets --all # 2. Ensure pull secrets
create_deployments --all # 3. Deploy Helm charts and manifests specfied as "deployments"
start_dev app # 4. Start dev mode "app" (see "dev" section)
images:
webserver:
image: registry.bottled.codes/peers/webserver
target: web
dockerfile: ./Dockerfile
context: ./
buildKit:
inCluster:
noLoad: true
namespace: image-builder
backend:
image: registry.bottled.codes/peers/backend
target: backend
dockerfile: ./Dockerfile
context: ./
buildKit:
inCluster:
noLoad: true
namespace: image-builder
# This is a list of `deployments` that DevSpace can create for this project
deployments:
app:
updateImageTags: true
kubectl:
manifests:
- manifests/**
# Define dependencies to other projects with a devspace.yaml
# dependencies:
# api:
# git: https://... # Git-based dependencies
# tag: v1.0.0
# ui:
# path: ./ui # Path-based dependencies (for monorepos)