-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tests, missing binaries and correct paths
Signed-off-by: Batuhan Apaydin <[email protected]>
- Loading branch information
1 parent
958c24a
commit 0d2aef1
Showing
1 changed file
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package: | ||
name: actions-runner-controller | ||
version: 0.9.0 | ||
epoch: 1 | ||
version: 0.9.1 | ||
epoch: 0 | ||
description: Kubernetes controller for GitHub Actions self-hosted runners | ||
copyright: | ||
- license: Apache-2.0 | ||
|
@@ -18,24 +18,25 @@ pipeline: | |
with: | ||
repository: https://github.com/actions/actions-runner-controller | ||
tag: gha-runner-scale-set-${{package.version}} | ||
expected-commit: 4357525445b0b77388af4e1f171b5b7bd9b116a4 | ||
|
||
# Ref: https://github.com/actions/actions-runner-controller/blob/gha-runner-scale-set-0.5.0/Dockerfile#L35 | ||
- uses: go/bump | ||
with: | ||
deps: github.com/cloudflare/[email protected] | ||
expected-commit: 9e191cdd21621f4e43023e0bdbbd2ff9b139c8a6 | ||
|
||
- uses: go/build | ||
with: | ||
packages: . | ||
output: manager | ||
ldflags: -s -w | ||
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)' | ||
|
||
- uses: go/build | ||
with: | ||
packages: ./cmd/githubrunnerscalesetlistener | ||
output: github-runnerscaleset-listener | ||
ldflags: -s -w -X 'github.com/actions/actions-runner-controller/build.Version=${{package.version}}' | ||
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)' | ||
|
||
- uses: go/build | ||
with: | ||
packages: ./cmd/ghalistener | ||
output: ghalistener | ||
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)' | ||
|
||
- uses: go/build | ||
with: | ||
|
@@ -64,10 +65,27 @@ subpackages: | |
- runs: | | ||
mkdir -p "${{targets.subpkgdir}}" | ||
ln -sf /usr/bin/manager ${{targets.subpkgdir}}/manager | ||
ln -sf /usr/bin/ghalistener ${{targets.subpkgdir}}/ghalistener | ||
update: | ||
enabled: true | ||
github: | ||
identifier: actions/actions-runner-controller | ||
strip-prefix: gha-runner-scale-set- | ||
tag-filter: gha-runner-scale-set- | ||
|
||
test: | ||
environment: | ||
contents: | ||
packages: | ||
- ${{package.name}}-compat | ||
pipeline: | ||
- runs: | | ||
set +e | ||
/manager -h | ||
/ghalistener -h | ||
github-runnerscaleset-listener -h | ||
ghalistener -h | ||
github-webhook-server -h | ||
actions-metrics-server -h | ||
sleep -h |