forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crossplane.yaml
63 lines (53 loc) · 1.33 KB
/
crossplane.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: crossplane
version: 1.18.1
epoch: 1
description: Cloud Native Control Planes
copyright:
- license: Apache-2.0
environment:
environment:
CGO_ENABLED: "0"
pipeline:
- uses: git-checkout
with:
expected-commit: 0ca82e4f152067f69af11d907ab7b4a0a21fed37
repository: https://github.com/crossplane/crossplane
tag: v${{package.version}}
- runs: |
mkdir -p ${{targets.destdir}}/crds
cp cluster/crds/* ${{targets.destdir}}/crds
mkdir -p ${{targets.destdir}}/webhookconfigurations
cp cluster/webhookconfigurations/* ${{targets.destdir}}/webhookconfigurations
- uses: go/bump
with:
deps: golang.org/x/[email protected]
- uses: go/build
with:
output: crossplane
packages: ./cmd/crossplane
ldflags: -X github.com/crossplane/crossplane/internal/version.version=v${{package.version}}
- uses: strip
subpackages:
- name: crossplane-crank
pipeline:
- uses: go/build
with:
output: crank
packages: ./cmd/crank
- uses: strip
test:
pipeline:
- runs: |
crank --help
update:
enabled: true
github:
identifier: crossplane/crossplane
strip-prefix: v
test:
pipeline:
- name: version and help output
runs: |
crossplane --version
crossplane --help