-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathistio-pilot-discovery-1.19.yaml
63 lines (55 loc) · 1.57 KB
/
istio-pilot-discovery-1.19.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package:
name: istio-pilot-discovery-1.19
version: 1.19.7
epoch: 0
description: Istio controller
copyright:
- license: Apache-2.0
dependencies:
provides:
- istio-pilot-discovery=1.19
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
environment:
CGO_ENABLED: "0"
pipeline:
- uses: git-checkout
with:
expected-commit: 42b7d96f3587652551b302499e1c8761bc3a0b49
repository: https://github.com/istio/istio
tag: ${{package.version}}
- uses: go/bump
with:
deps: github.com/lestrrat-go/[email protected]
- uses: go/build
with:
output: pilot-discovery
packages: ./pilot/cmd/pilot-discovery
- runs: |
mkdir -p ${{targets.destdir}}/var/lib/istio/envoy
cp ./tools/packaging/common/envoy_bootstrap.json \
${{targets.destdir}}/var/lib/istio/envoy/envoy_bootstrap_tmpl.json
cp ./tools/packaging/common/gcp_envoy_bootstrap.json \
${{targets.destdir}}/var/lib/istio/envoy/gcp_envoy_bootstrap_tmpl.json
- uses: strip
subpackages:
- name: ${{package.name}}-compat
pipeline:
- runs: |
# link /usr/local/bin/pilot-discovery -> /usr/bin/pilot-discovery to match
# what the Istio Helm charts may expect.
mkdir -p ${{targets.subpkgdir}}/usr/local/bin
ln -sf /usr/bin/pilot-discovery ${{targets.subpkgdir}}/usr/local/bin/pilot-discovery
dependencies:
provides:
- istio-discovery-compat=1.19
update:
enabled: true
github:
identifier: istio/istio
tag-filter: 1.19.
use-tag: true