mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
36 lines
966 B
YAML
36 lines
966 B
YAML
packages:
|
|
- name: app
|
|
type: go
|
|
srcs:
|
|
- "**/*.go"
|
|
- "go.mod"
|
|
- "go.sum"
|
|
deps:
|
|
- components/common-go:lib
|
|
- components/public-api/go:lib
|
|
- components/usage-api/go:lib
|
|
- components/gitpod-protocol/go:lib
|
|
- components/gitpod-db/go:lib
|
|
- components/gitpod-db/go:init-testdb
|
|
env:
|
|
- CGO_ENABLED=0
|
|
- GOOS=linux
|
|
config:
|
|
packaging: app
|
|
buildCommand: ["go", "build", "-trimpath", "-ldflags", "-buildid= -w -s -X 'github.com/gitpod-io/gitpod/public-api-server/cmd.Version=commit-${__git_commit}'"]
|
|
- name: docker
|
|
type: docker
|
|
deps:
|
|
- :app
|
|
argdeps:
|
|
- imageRepoBase
|
|
config:
|
|
buildArgs:
|
|
VERSION: ${version}
|
|
dockerfile: leeway.Dockerfile
|
|
metadata:
|
|
helm-component: public-api-server
|
|
image:
|
|
- ${imageRepoBase}/public-api-server:${version}
|
|
- ${imageRepoBase}/public-api-server:commit-${__git_commit}
|