|
1 | 1 | package:
|
2 |
| - name: actions-runner-controller |
3 |
| - version: 0.9.0 |
4 |
| - epoch: 1 |
5 |
| - description: Kubernetes controller for GitHub Actions self-hosted runners |
6 |
| - copyright: |
7 |
| - - license: Apache-2.0 |
8 |
| - |
| 2 | + name: actions-runner-controller |
| 3 | + version: 0.9.1 |
| 4 | + epoch: 0 |
| 5 | + description: Kubernetes controller for GitHub Actions self-hosted runners |
| 6 | + copyright: |
| 7 | + - license: Apache-2.0 |
9 | 8 | environment:
|
10 |
| - contents: |
11 |
| - packages: |
12 |
| - - busybox |
13 |
| - - ca-certificates-bundle |
14 |
| - - go |
15 |
| - |
| 9 | + contents: |
| 10 | + packages: |
| 11 | + - busybox |
| 12 | + - ca-certificates-bundle |
| 13 | + - go |
16 | 14 | pipeline:
|
17 |
| - - uses: git-checkout |
18 |
| - with: |
19 |
| - repository: https://github.com/actions/actions-runner-controller |
20 |
| - tag: gha-runner-scale-set-${{package.version}} |
21 |
| - expected-commit: 4357525445b0b77388af4e1f171b5b7bd9b116a4 |
22 |
| - |
23 |
| - # Ref: https://github.com/actions/actions-runner-controller/blob/gha-runner-scale-set-0.5.0/Dockerfile#L35 |
24 |
| - - uses: go/bump |
25 |
| - with: |
26 |
| - deps: github.com/cloudflare/[email protected] |
27 |
| - |
28 |
| - - uses: go/build |
29 |
| - with: |
30 |
| - packages: . |
31 |
| - output: manager |
32 |
| - ldflags: -s -w |
33 |
| - |
34 |
| - - uses: go/build |
35 |
| - with: |
36 |
| - packages: ./cmd/githubrunnerscalesetlistener |
37 |
| - output: github-runnerscaleset-listener |
38 |
| - ldflags: -s -w -X 'github.com/actions/actions-runner-controller/build.Version=${{package.version}}' |
39 |
| - |
40 |
| - - uses: go/build |
41 |
| - with: |
42 |
| - packages: ./cmd/githubwebhookserver |
43 |
| - output: github-webhook-server |
44 |
| - ldflags: -s -w |
45 |
| - |
46 |
| - - uses: go/build |
47 |
| - with: |
48 |
| - packages: ./cmd/actionsmetricsserver |
49 |
| - output: actions-metrics-server |
50 |
| - ldflags: -s -w |
51 |
| - |
52 |
| - - uses: go/build |
53 |
| - with: |
54 |
| - packages: ./cmd/sleep |
55 |
| - output: sleep |
56 |
| - ldflags: -s -w |
57 |
| - |
58 |
| - - uses: strip |
59 |
| - |
| 15 | + - uses: git-checkout |
| 16 | + with: |
| 17 | + repository: https://github.com/actions/actions-runner-controller |
| 18 | + tag: gha-runner-scale-set-${{package.version}} |
| 19 | + expected-commit: 9e191cdd21621f4e43023e0bdbbd2ff9b139c8a6 |
| 20 | + - uses: go/build |
| 21 | + with: |
| 22 | + packages: . |
| 23 | + output: manager |
| 24 | + ldflags: -s -w -X 'github.com/actions/actions-runner-controller/build.Version=${{package.version}}' -X 'github.com/actions/actions-runner-controller/build.CommitSHA=$(git rev-parse HEAD)' |
| 25 | + - uses: go/build |
| 26 | + with: |
| 27 | + packages: ./cmd/githubrunnerscalesetlistener |
| 28 | + output: github-runnerscaleset-listener |
| 29 | + ldflags: -s -w -X 'github.com/actions/actions-runner-controller/build.Version=${{package.version}}' -X 'github.com/actions/actions-runner-controller/build.CommitSHA=$(git rev-parse HEAD)' |
| 30 | + - uses: go/build |
| 31 | + with: |
| 32 | + packages: ./cmd/ghalistener |
| 33 | + output: ghalistener |
| 34 | + ldflags: -s -w -X 'github.com/actions/actions-runner-controller/build.Version=${{package.version}}' -X 'github.com/actions/actions-runner-controller/build.CommitSHA=$(git rev-parse HEAD)' |
| 35 | + - uses: go/build |
| 36 | + with: |
| 37 | + packages: ./cmd/githubwebhookserver |
| 38 | + output: github-webhook-server |
| 39 | + ldflags: -s -w |
| 40 | + - uses: go/build |
| 41 | + with: |
| 42 | + packages: ./cmd/actionsmetricsserver |
| 43 | + output: actions-metrics-server |
| 44 | + ldflags: -s -w |
| 45 | + - uses: go/build |
| 46 | + with: |
| 47 | + packages: ./cmd/sleep |
| 48 | + output: sleep |
| 49 | + ldflags: -s -w |
| 50 | + - uses: strip |
60 | 51 | subpackages:
|
61 |
| - - name: "${{package.name}}-compat" |
62 |
| - description: "Compatibility package to place binaries in the location expected by upstream helm charts" |
63 |
| - pipeline: |
64 |
| - - runs: | |
65 |
| - mkdir -p "${{targets.subpkgdir}}" |
66 |
| - ln -sf /usr/bin/manager ${{targets.subpkgdir}}/manager |
67 |
| -
|
| 52 | + - name: "${{package.name}}-compat" |
| 53 | + description: "Compatibility package to place binaries in the location expected by upstream helm charts" |
| 54 | + pipeline: |
| 55 | + - runs: | |
| 56 | + mkdir -p "${{targets.subpkgdir}}" |
| 57 | + ln -sf /usr/bin/manager ${{targets.subpkgdir}}/manager |
| 58 | + ln -sf /usr/bin/ghalistener ${{targets.subpkgdir}}/ghalistener |
68 | 59 | update:
|
69 |
| - enabled: true |
70 |
| - github: |
71 |
| - identifier: actions/actions-runner-controller |
72 |
| - strip-prefix: gha-runner-scale-set- |
73 |
| - tag-filter: gha-runner-scale-set- |
| 60 | + enabled: true |
| 61 | + github: |
| 62 | + identifier: actions/actions-runner-controller |
| 63 | + strip-prefix: gha-runner-scale-set- |
| 64 | + tag-filter: gha-runner-scale-set- |
| 65 | +test: |
| 66 | + environment: |
| 67 | + contents: |
| 68 | + packages: |
| 69 | + - ${{package.name}}-compat |
| 70 | + pipeline: |
| 71 | + - runs: | |
| 72 | + set +e |
| 73 | + /manager -h |
0 commit comments