-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathcluster-autoscaler-1.27.yaml
62 lines (55 loc) · 1.75 KB
/
cluster-autoscaler-1.27.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
package:
name: cluster-autoscaler-1.27
version: 1.27.5
epoch: 1
description: Autoscaling components for Kubernetes
copyright:
- license: Apache-2.0
dependencies:
provides:
- cluster-autoscaler=${{package.full-version}}
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
environment:
CGO_ENABLED: 0
pipeline:
- uses: git-checkout
with:
repository: https://github.com/kubernetes/autoscaler
tag: cluster-autoscaler-${{package.version}}
expected-commit: fe7e07df5c0c7994cf60718e3cdc1474c436d3f8
- uses: go/bump
with:
deps: github.com/docker/[email protected] go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/[email protected] go.opentelemetry.io/contrib/instrumentation/net/http/[email protected] go.opentelemetry.io/otel/[email protected] go.opentelemetry.io/otel/exporters/otlp/otlptrace/[email protected] golang.org/x/[email protected]
modroot: cluster-autoscaler
- uses: go/build
with:
modroot: cluster-autoscaler
packages: .
output: cluster-autoscaler
ldflags: -s -w
vendor: true
- uses: strip
subpackages:
- name: ${{package.name}}-compat
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}
# The upstream helm chart assumes the binary is in /.
ln -sf /usr/bin/cluster-autoscaler ${{targets.subpkgdir}}/cluster-autoscaler
dependencies:
provides:
- cluster-autoscaler-compat=${{package.full-version}}
update:
enabled: true
github:
identifier: kubernetes/autoscaler
strip-prefix: cluster-autoscaler-
use-tag: true
# There are other tags like "cluster-autoscaler-chart-FOO"
tag-filter: cluster-autoscaler-1.27.