Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ide/jetbrains/launcher/BUILD.yaml
2501 views
1
packages:
2
- name: docker
3
type: docker
4
deps:
5
- :app
6
argdeps:
7
- imageRepoBase
8
config:
9
dockerfile: leeway.Dockerfile
10
metadata:
11
helm-component: workspace.desktopIdeImages.jbLauncher
12
buildArgs:
13
JETBRAINS_BACKEND_QUALIFIER: stable
14
image:
15
- ${imageRepoBase}/ide/jb-launcher:commit-${__git_commit}
16
- name: app
17
type: go
18
srcs:
19
- "testdata/**"
20
- "**/*.go"
21
- "go.mod"
22
- "go.sum"
23
env:
24
- CGO_ENABLED=0
25
- GOOS=linux
26
deps:
27
- components/gitpod-protocol/go:lib
28
- components/supervisor-api/go:lib
29
- components/common-go:lib
30
config:
31
packaging: app
32
buildCommand: ["go", "build", "-trimpath", "-ldflags", "-buildid= -w -s -X 'github.com/gitpod-io/gitpod/jetbrains/launcher/pkg/constant.Version=commit-${__git_commit}'"]
33
- name: hot-swap
34
type: generic
35
deps:
36
- :app
37
argdeps:
38
- workspaceUrl
39
srcs:
40
- "hot-swap.sh"
41
config:
42
commands:
43
- ["./hot-swap.sh", "${workspaceUrl}"]
44
45