forked from gitpod-io/gitpod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.yaml
44 lines (43 loc) · 1.24 KB
/
BUILD.yaml
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
# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
# Licensed under the GNU Affero General Public License (AGPL).
# See License.AGPL.txt in the project root for license information.
packages:
- name: app
type: go
srcs:
- go.mod
- go.sum
- "**/*.go"
- leeway-build.sh
deps:
- components/common-go:lib
- components/content-service-api/go:lib
- components/content-service:lib
- components/gitpod-protocol/go:lib
- components/image-builder-api/go:lib
- components/supervisor-api/go:lib
- components/ws-manager-api/go:lib
- components/ide-service-api/go:lib
prep:
- ["go", "get", "-v", "./..."]
- ["sh", "-c", "echo package main > main.go"]
- ["sh", "-c", "echo 'func main() {}' >> main.go"]
- ["go", "fmt", "main.go"]
- ["sh", "leeway-build.sh"]
config:
dontTest: true
- name: docker
type: docker
srcs:
- entrypoint.sh
deps:
- :app
argdeps:
- imageRepoBase
config:
dockerfile: leeway.Dockerfile
metadata:
helm-component: integrationTest
image:
- ${imageRepoBase}/integration-tests:${version}
- ${imageRepoBase}/integration-tests:commit-${__git_commit}