-
Notifications
You must be signed in to change notification settings - Fork 4
/
escape.yml
68 lines (61 loc) · 1.38 KB
/
escape.yml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
name: escape-inventory
version: '0.16.@'
description: "A Go build for the Escape Inventory"
logo: logo.png
depends:
- escape-core-latest as core
includes:
- escape-inventory
- LICENSE
- Makefile
- README.md
- "*.go"
- api/
- cmd/
- config/
- dao/
- docs/
- handlers/
- metrics/
- model/
- storage/
- vendor/
extends:
- extension-golang-binary-latest
inputs:
- id: package_name
default: "github.com/ankyra/escape-inventory"
visible: false
- id: binary_name
default: "escape-inventory"
visible: false
- id: escape_go_dependencies
type: list[string]
default:
- _/escape-core:github.com/ankyra/escape-core
metadata:
release_metadata_api_version: $core.metadata.release_metadata_api_version
errands:
publish_binaries:
script: scripts/publish-binaries.sh
description: Create binaries for all supported platforms and upload to a GCS bucket
inputs:
- id: bucket
description: The target bucket
default: ""
- id: credentials
description: Google Cloud Storage service account credentials (json)
default: ""
- id: inventory_version
default: $this.version
visible: false
- id: do_upload
type: bool
default: true
description: |
Should this errand upload to GCS? If not, then this errand will only
build the binaries.
build_templates:
- file: cmd/metadata.go.tpl
mapping:
version: $this.version