forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathistio-envoy-1.24.yaml
94 lines (84 loc) · 2.18 KB
/
istio-envoy-1.24.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package:
name: istio-envoy-1.24
version: 1.24.0
epoch: 0
description: Envoy with additional Istio plugins (wasm, telemetry, etc)
copyright:
- license: Apache-2.0
resources:
cpu: 20
memory: 50Gi
dependencies:
provides:
- istio-envoy=${{package.full-version}}
environment:
contents:
packages:
# We don't use automake/autoconf directly, but the Bazel rule uses them
- autoconf
- automake
- bash
- bazel-6
- binutils
- build-base
- busybox
- ca-certificates-bundle
- clang~15
- cmake
- coreutils
- git
- libtool
- llvm-libcxx-15
- llvm-libcxx-15-dev
- llvm-lld-15
- llvm15
- llvm15-cmake-default
- llvm15-dev
- llvm15-tools
- openjdk-11
- openssl-dev
- patch
- python3-dev
- samurai
- wolfi-baselayout
pipeline:
- uses: git-checkout
with:
repository: https://github.com/istio/proxy
tag: ${{package.version}}
expected-commit: 739644f84930a8c0d416319aea97f58c2222f7ef
- runs: |
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
mkdir -p .cache/bazel/_bazel_root
bazel build --verbose_failures -c opt envoy
mkdir -p ${{targets.destdir}}/usr/bin/
mv bazel-bin/envoy ${{targets.destdir}}/usr/bin/envoy
# We no longer need this cache dir, which has some writable files.
rm -rf .cache/bazel
- uses: strip
subpackages:
- name: ${{package.name}}-compat
pipeline:
- runs: |
# link /usr/bin/envoy /usr/local/bin/envoy because Istio proxy-agent expects Envoy here
# See https://github.com/istio/istio/blob/1.18.0/pkg/config/constants/constants.go#L59-L60
mkdir -p ${{targets.subpkgdir}}/usr/local/bin
ln -sf /usr/bin/envoy ${{targets.subpkgdir}}/usr/local/bin/envoy
dependencies:
provides:
- istio-envoy-compat=${{package.full-version}}
update:
enabled: true
ignore-regex-patterns:
- '-rc'
- '-beta'
github:
identifier: istio/proxy
tag-filter-prefix: 1.24.
use-tag: true
test:
pipeline:
# AUTOGENERATED
- runs: |
envoy --version
envoy --help