Donal O'Brien
8e484637f9
Upgrade docker and docker compose in line with GH hosted runners ( #3053 )
...
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-11-27 12:25:19 +09:00
github-actions[bot]
fb11d3bfd0
Updates: container-hooks to v0.5.0 ( #3099 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-23 15:49:10 +01:00
Nikola Jokic
65fd04540c
Bump go version and all direct dependencies to newest for k8s compatibility ( #2947 )
2023-11-14 16:19:43 +01:00
github-actions[bot]
510b1d82e5
Updates: runner to v2.311.0 ( #3018 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-24 14:54:27 +02:00
Yusuke Kuoka
f14dbd68f1
Bump Kubernetes client to 1.26.4 ( #2991 )
2023-10-16 15:45:25 +02:00
github-actions[bot]
e10a1cc7a3
Updates: runner to v2.310.2 ( #2980 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-11 08:32:02 -04:00
github-actions[bot]
dce49a003d
Updates: runner to v2.309.0 ( #2876 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-12 16:31:51 +02:00
github-actions[bot]
20bb860a37
Updates: runner to v2.308.0 ( #2814 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-15 12:53:03 +02:00
github-actions[bot]
dcb64f0b9e
Updates: runner to v2.307.1 ( #2778 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-26 20:02:33 +02:00
github-actions[bot]
e0a7e142e0
Updates: runner to v2.306.0 ( #2727 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-07 14:48:40 +02:00
github-actions[bot]
462d044604
Updates: runner to v2.305.0 ( #2674 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-15 06:07:09 -04:00
Thang Le
e7ec736738
Use head_branch metric ( #2549 )
...
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-05-28 16:36:55 +09:00
github-actions[bot]
41ebb43c65
Update runner to version 2.304.0 ( #2543 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-28 10:05:46 -04:00
Yusuke Kuoka
94c089c407
Revert docker.sock path to /var/run/docker.sock ( #2536 )
...
Starting ARC v0.27.2, we've changed the `docker.sock` path from `/var/run/docker.sock` to `/var/run/docker/docker.sock`. That resulted in breaking some container-based actions due to the hard-coded `docker.sock` path in various places.
Even `actions/runner` seem to use `/var/run/docker.sock` for building container-based actions and for service containers?
Anyway, this fixes that by moving the sock file back to the previous location.
Once this gets merged, users stuck at ARC v0.27.1, previously upgraded to 0.27.2 or 0.27.3 and reverted back to v0.27.1 due to #2519 , should be able to upgrade to the upcoming v0.27.4.
Resolves #2519
Resolves #2538
2023-04-27 13:06:35 +09:00
Milas Bowman
514b7da742
Install Docker Compose v2 as a Docker CLI plugin ( #2326 )
...
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-29 10:40:10 +09:00
Milas Bowman
878c9b8b49
runner: Use Docker socket via shared emptyDir instead of TCP/mTLS ( #2324 )
...
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-28 11:29:16 +09:00
Jonathan Wiemers
4536707af6
chart: Allow webhook server env to be set individually ( #2377 )
...
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-28 11:18:07 +09:00
Waldek Herka
13802c5a6d
chart: Restricting the RBAC rules on secrets ( #2265 )
...
Co-authored-by: Waldek Herka <wherka-ama@users.noreply.github.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-28 08:43:33 +09:00
Zane Hala
65184f1ed8
chart: Allow customization of admission webhook timeout ( #2398 )
...
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-28 08:42:20 +09:00
github-actions[bot]
3417c5a3a8
Update runner to version 2.303.0 ( #2411 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-14 15:41:03 +01:00
github-actions[bot]
7f3eef8761
Update runner to version 2.302.1 ( #2294 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-03 05:43:03 -05:00
Bassem Dghaidi
adad3d5530
Rename actions-runner-controller-2 and auto-scaling-runner-set helm charts ( #2333 )
...
Co-authored-by: Ava S <avastancu@github.com>
2023-03-01 07:16:03 -05:00
dhawalseth
73e35b1dc6
chart: Create actionsmetrics.secrets.yaml ( #2208 )
...
Co-authored-by: Dhawal Seth <dseth@linkedin.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-03-01 08:19:58 +09:00
Bassem Dghaidi
3886f285f8
Add EKS test environment Terraform templates ( #2290 )
...
Co-authored-by: Francesco Renzi <rentziass@gmail.com>
2023-02-15 10:29:49 -05:00
Bassem Dghaidi
6da1cde09c
Update runner version to 2.301.1 ( #2182 )
...
Co-authored-by: TingluoHuang <TingluoHuang@github.com>
2023-01-19 05:36:05 -05:00
Yusuke Kuoka
d32319be50
fix(e2e): Make runner graceful shutdown checker cancellable ( #2145 )
...
So that the whole test run can be stopped immediately with a failure, without failing until the verify timeout.
2023-01-13 07:15:37 +09:00
Yusuke Kuoka
057b04763f
fix(e2e): Use the correct full chart name in test ( #2146 )
...
The whole E2E test breaks due to the invalid chart name without this fix.
2023-01-13 07:15:05 +09:00
Bassem Dghaidi
e71c64683b
Update runner version to 2.300.2 ( #2141 )
...
* Update runner version to 2.300.2
* Bump up runner and container hooks versions
* Bump up runner version
* Bump up runner and container hooks versions
* Update actions-runner-dind-rootless.ubuntu-22.04.dockerfile
* Update actions-runner-dind.ubuntu-20.04.dockerfile
* Update actions-runner-dind.ubuntu-22.04.dockerfile
* Update actions-runner.ubuntu-20.04.dockerfile
* Update actions-runner.ubuntu-22.04.dockerfile
* Bump up runner versions
* Bump up container hooks versions
2023-01-11 08:29:32 -05:00
Nikola Jokic
aa6dab5a9a
Changes to folder structure to allow multigroups and changed go mod name ( #2105 )
...
* Changed folder structure to allow multi group registration
* included actions.github.com directory for resources and controllers
* updated go module to actions/actions-runner-controller
* publish arc packages under actions-runner-controller
* Update charts/actions-runner-controller/docs/UPGRADING.md
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-12-28 09:38:34 +09:00
Callum Tait
a8417ec67e
feat: dind-rootless 22.04 runner ( #2033 )
...
* feat: dind-rootless 22.04 runner
* runner: Bring back packages needed by rootlesskit
* e2e: Update E2E buildvars with ubuntu 22.04 dockerfiles
* feat: use new uid for runner user
* e2e: Make it possible to inject ubuntu version via envvar for actiosn-runner-dind image
* doc: Use fsGroup=1001 for IRSA on Ubuntu 22.04 runner
Co-authored-by: toast-gear <toast-gear@users.noreply.github.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-12-07 19:02:35 +09:00
malachiobadeyi
fbdfe0df8c
1770 update log format and add additional fields to webhook server logs ( #1771 )
...
* 1770 update log format and add runID and Id to worflow logs
update tests, change log format for controllers.HorizontalRunnerAutoscalerGitHubWebhook
use logging package
remove unused modules
add setup name to setuplog
add flag to change log format
change flag name to enableProdLogConfig
move log opts to logger package
remove empty else and reset timeEncoder
update flag description
use get function to handle nil
rename flag and update logger function
Update main.go
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
Update controllers/horizontal_runner_autoscaler_webhook.go
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
Update logging/logger.go
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
copy log opt per each NewLogger call
revert to use autoscaler.log
update flag descript and remove unused imports
add logFormat to readme
rename setupLog to logger
make fmt
* Fix E2E along the way
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-11-04 10:46:58 +09:00
Yusuke Kuoka
9bb416084b
e2e: Fix continuous rolling updater to do stop on test completion ( #1979 )
2022-11-03 11:55:36 +00:00
Yusuke Kuoka
fdb049ba1e
e2e: Bump runner version to 2.299.1 ( #1980 )
2022-11-03 10:02:54 +00:00
Yusuke Kuoka
c74ad6195f
Fix runners to do their best to gracefully stop on pod eviction ( #1759 )
...
Ref #1535
Ref #1581
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-11-01 20:30:10 +09:00
Yusuke Kuoka
666bba784c
e2e: Bump runner version to 2.297.0 ( #1850 )
...
* e2e: Bump runner version to 2.296.2
* Update e2e_test.go
2022-10-04 20:25:13 +09:00
Cory Miller
c91e76f169
Add golangci-lilnt to CI ( #1794 )
...
This introduces a linter to PRs to help with code reviews and code hygiene. I've also gone ahead and fixed (or ignored) the existing lints.
I've only setup the default linters right now. There are many more options that are documented at https://golangci-lint.run/ .
The GitHub Action should add appropriate annotations to the lint job for the PR. Contributors can also lint locally using `make lint`.
2022-09-21 09:08:22 +09:00
Yusuke Kuoka
f73713859c
e2e: Fix workflow for rootless-dind test to actually pass
2022-08-27 07:12:06 +00:00
Yusuke Kuoka
e0a7be253e
e2e: Change the default runner rolling-update interval from 10s to 60s to let the runners actually get jobs assigned by GitHub Actions
2022-08-27 07:11:17 +00:00
Yusuke Kuoka
915739b972
e2e: Fix broken token expiration checks
2022-08-27 07:10:10 +00:00
Yusuke Kuoka
4925880e5e
e2e: Install workflow before starting continuous rolling-updates of runners
2022-08-27 07:08:56 +00:00
Yusuke Kuoka
c143fd50b5
e2e: Use newer version of actions/runner(0.296.0)
2022-08-27 07:07:56 +00:00
Yusuke Kuoka
dbd668ae2d
e2e: Set ARC_E2E_SKIP_RUNNERDEPLOYMENT to skip RunnerDeployment test
2022-08-26 01:48:54 +00:00
Yusuke Kuoka
5c1be3265b
e2e: Fix the token check to actually fail on expiration
2022-08-26 01:48:36 +00:00
Yusuke Kuoka
ebcd838501
e2e: Continuous rolling-update of runners while workflow jobs are running
...
This should help revealing issues like https://github.com/actions-runner-controller/actions-runner-controller/issues/1535 if any.
2022-08-26 01:28:08 +00:00
Yusuke Kuoka
6ef276b239
e2e: Custom RBAC resources for make test success reporting work when k8s container mode or runner update hook is enabled
2022-08-26 01:28:08 +00:00
Yusuke Kuoka
f70f325f48
e2e: Set ARC_E2E_DO_DOCKER_BUILD to verify docker-build
2022-08-26 01:28:08 +00:00
Yusuke Kuoka
f7c336f9dd
e2e: Mention maintained versions of cert-manager for reference
2022-08-26 01:28:08 +00:00
Yusuke Kuoka
4bf1c12a98
e2e: Fix inability to install the stable version of ARC before the edge / Validate GH tokenn on start ( #1748 )
...
Let me improve two things I had found while I was E2E-testing ARC for the upcoming 0.26.0 release.
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-08-25 10:25:06 +09:00
Yusuke Kuoka
ea94b3cc5b
e2e: Add new option to test rootless docker ( #1742 )
...
Related to #1644
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-08-24 10:42:45 +09:00
Yusuke Kuoka
544d620bc3
e2e: Ensure ARC is roll-updated on deployment even if the container image tag name does not change
2022-07-10 16:16:32 +09:00