-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathistio-pilot-agent-1.19.yaml
63 lines (55 loc) · 1.56 KB
/
istio-pilot-agent-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-agent-1.19
version: 1.19.7
epoch: 0
description: Nanny binary for Istio Envoy
copyright:
- license: Apache-2.0
dependencies:
provides:
- istio-pilot-agent=1.19
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
environment:
CGO_ENABLED: "0"
pipeline:
- uses: git-checkout
with:
repository: https://github.com/istio/istio
tag: ${{package.version}}
expected-commit: 42b7d96f3587652551b302499e1c8761bc3a0b49
- uses: go/bump
with:
deps: github.com/lestrrat-go/[email protected]
- uses: go/build
with:
packages: ./pilot/cmd/pilot-agent
output: pilot-agent
- 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-agent -> /usr/bin/pilot-agent to match
# what the Istio Helm charts may expect.
mkdir -p ${{targets.subpkgdir}}/usr/local/bin
ln -sf /usr/bin/pilot-agent ${{targets.subpkgdir}}/usr/local/bin/pilot-agent
dependencies:
provides:
- istio-pilot-agent-compat=1.19.999
update:
enabled: true
github:
identifier: istio/istio
tag-filter: 1.19.
use-tag: true