Commit Graph
100 Commits
Author SHA1 Message Date
Callum Taitandtoast-gear 418f719bdf chore: highlight watch namespace (#2087)
* chore: highlight watch namespace

* chore: wording

Co-authored-by: toast-gear <[email protected]>
2022-12-12 08:39:04 +09:00
Callum Tait 31244dd61b ci: add new runners to deploy (#2081) 2022-12-08 07:06:35 +09:00
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 <[email protected]>
Co-authored-by: Yusuke Kuoka <[email protected]>
2022-12-07 19:02:35 +09:00
775dc60c94 feat: dind 22.04 runner (#2030)
* feat: dind 22.04 runner

* chore: remove zstd

* chore: remove test

* chore: add missing make targets and bcump

* runner: Add missing iptables package to dind ubuntu 22.04

* feat: use new ids

* feat: use new ids

* Revert "feat: use new ids"

This reverts commit 2e4e2bb6d9303bb196be30608f465a0f3fda537d.

Co-authored-by: toast-gear <[email protected]>
Co-authored-by: Yusuke Kuoka <[email protected]>
2022-12-07 14:20:45 +09:00
Callum Taitandtoast-gear ad1989072e feat: use new uid for 22.04 images (#2079)
* feat: use new uid for 22.04 images

* feat: use new gid for docker group

Co-authored-by: toast-gear <[email protected]>
2022-12-07 14:14:31 +09:00
Callum Taitandtoast-gear fe05987eea ci: use single quotes (#2067)
* ci: use single quotes

* ci: add 22.04 image to renovate

Co-authored-by: toast-gear <[email protected]>
2022-12-02 09:14:29 +09:00
Callum Tait bd392c3665 ci: fix runners workflow 2022-12-01 22:35:31 +00:00
Callum Taitandtoast-gear 212b9daec3 feat: 22.04 default runner image (#2050)
* feat: 22.04 default runner image

* docs: update bundled software

* chore: remove test in Dockerfile

* ci: add 22.04 runner build

* chore: remove build-essential

* chore: remove python path entry

Co-authored-by: toast-gear <[email protected]>
2022-12-02 07:29:59 +09:00
Callum Tait 28ea8d4e7b ci: align renovate config with new names (#2065) 2022-12-02 06:40:49 +09:00
Callum Taitandtoast-gear c1fb793773 feat: bump docker and hooks in 20.04 (#2063)
Co-authored-by: toast-gear <[email protected]>
2022-12-02 06:40:12 +09:00
Callum Taitandtoast-gear 63d2cbfdaa ci: multiple ubuntu version (#2036)
* ci: prepare ci for multiple runners

* chore: rename dockerfiles

* chore: sup multiple os in makefile

* chore: changes to support multiple versions

* chore: remove test for TARGETPLATFORM

* chore: fixes and add individual targets

* ci: add latest tag back in

* ci: remove latest suffix tag

Co-authored-by: toast-gear <[email protected]>
2022-12-01 00:00:16 +09:00
Callum Tait cc15ff0119 docs: remove caveat from useRunnerGroupsVisibility (#2034) 2022-11-26 13:09:20 +09:00
Callum Tait fcb65b046b ci: fix multi-arch runner builds (#2048)
* ci: fix multi-arch runner builds
2022-11-25 15:48:18 +00:00
87f566e1e6 feat: add docker-compose and clean up the default runner (#1924)
* feat: clean and add docker-compose

* feat: make docker compose download arch aware

* fix: use new ARG name

* fix: correct case in url

* ci: add some debug output to workflow

* ci: add ARG for docker

* fix: various fixes

* chore: more alignment changes

* chore: use /usr/bin over /usr/local/bin

* chore: more logical order

* fix: add recursive flag

* chore: actions/runner stuff with actions/runner

* ci: bump checkout to latest

* fix: rootless build

Co-authored-by: toast-gear <[email protected]>
Co-authored-by: Yusuke Kuoka <[email protected]>
2022-11-25 10:31:13 +09:00
Callum Tait a786dae450 docs: disable runner log levels (#2042) 2022-11-25 08:48:58 +09:00
Callum Taitandtoast-gear 666ce8f917 feat: add docker-compose and clean up the dind runner (#1925)
* feat: align runner and add docker compose

* feat: make docker compose download arch aware

* fix: use new ARG name

* chore: alignment stuff

* chore: use /usr/bin over /usr/local/bin

* chore: replicate default runner order

* feat: set-up actions container hooks

* chore: small flags

* fix: install all docker components

Co-authored-by: toast-gear <[email protected]>
2022-11-22 12:10:38 +09:00
Callum Taitandtoast-gear 9ba4b6b96a chore: clean up the dind rootless dockerfile so it aligns with the other runners (#1926)
* chore: align dockerfile with other runners

* chore: superfluous comments

* feat: make docker compose download arch aware

* chore: stuff

* chore: align runner tool cache set-up

* fix: copy and paste error

* feat: add container hooks

* feat: add rootless into makefile

* feat: support all architectures and fix compose

* fix: export SKIP_IPTABLES correctly

Co-authored-by: toast-gear <[email protected]>
2022-11-22 12:10:28 +09:00
Callum Tait 0908715786 docs: better wording and grammar 2022-11-07 20:24:00 +00:00
Callum Tait d328c61fc3 docs: add the limitation to disabling updates (#1988)
* docs: add the limitation to disabling updates

* docs: better wording
2022-11-06 08:13:31 +09:00
Callum Taitandtoast-gear 5f27548a73 ci: replace set-output (#1928)
* ci: replace set-output

* ci: use env var format

Co-authored-by: toast-gear <[email protected]>
2022-11-03 18:43:39 +09:00
Callum Taitandtoast-gear 83370d7f95 ci: use github-pr-check reporter for shellcheck (#1927)
* ci: use github-pr-review reporter for shellcheck

* ci: use default reporter

Co-authored-by: toast-gear <[email protected]>
2022-10-16 17:15:56 +09:00
Callum Tait b56fa6a748 docs: minor grammar fix (#1915) 2022-10-13 09:08:09 +09:00
Callum Tait a22ee8a5f1 chore: add new label to bug form (#1913) 2022-10-13 09:07:26 +09:00
cb561d8db4 docs: webhook scaling (#1709)
* docs: remove legacy webhook scaling triggers

* docs: remove runnerset limitations

* docs: noddy whitespace

* docs: more technically correct wording

* docs: wording

* docs: correct EffectiveTime logic

Co-authored-by: Yusuke Kuoka <[email protected]>

* Update README.md

Co-authored-by: Yusuke Kuoka <[email protected]>

* Update README.md

Co-authored-by: Yusuke Kuoka <[email protected]>

* Update README.md

Co-authored-by: Yusuke Kuoka <[email protected]>

* docs: remove non workflow_job events

* Update README.md

Co-authored-by: Yusuke Kuoka <[email protected]>

* docs: stuff

Co-authored-by: toast-gear <[email protected]>
Co-authored-by: Yusuke Kuoka <[email protected]>
2022-08-24 22:23:44 +09:00
Callum Tait eaf6d2f2e2 docs: bump the required min GHES version (#1749) 2022-08-24 21:38:30 +09:00
Callum Tait 0cac005ab2 ci: include sha in canary version (#1744) 2022-08-24 10:21:46 +09:00
Callum Tait 3724b46033 chore(deps): update dependency actions/runner to v2.295.0 (#1723) 2022-08-16 20:11:46 +09:00
Callum Tait dc29e31bcc ci: add rootless dnd to renovate (#1711) 2022-08-12 10:41:30 +09:00
Callum TaitandYusuke Kuoka 7a3fa4f362 docs: correct the comparison
Co-authored-by: Yusuke Kuoka <[email protected]>
2022-07-11 10:43:09 +09:00
Callum Tait 8b619e7c6f chore: bump helm chart (#1619)
Validate Helm Chart / Lint Chart (push) Has been cancelled
2022-07-10 08:25:55 +09:00
Callum Tait e3deb0d752 chore: move runner docker check (#1548) 2022-06-30 11:31:50 +09:00
Callum Taitandtoast-gear 82641e5036 chore: move HOME to more logical place (#1460)
* chore: move HOME to more logical place

* chore: don't break the PATH

* chore: don't break the PATH

Co-authored-by: toast-gear <[email protected]>
2022-06-30 11:21:05 +09:00
Callum Tait cda10fd243 docs: remove once feature flag env var (#1590) 2022-06-30 09:09:37 +09:00
Callum Tait d4f35cff4f ci: add paths to push trigger (#1583) 2022-06-29 20:30:07 +09:00
Callum Tait 84d16c1c12 revert: "Overhauled startup.sh Script (#1454)" (#1561)
This reverts commit 071898c96b.
2022-06-23 12:39:32 +01:00
Callum Tait 3c7d3d6b57 ci: hardcode dockerhub username (#1555) 2022-06-22 16:15:50 +01:00
Callum Taitandtoast-gear 23f091d7fa ci: don't login on a pr (#1554)
* ci: don't login on a pr

Co-authored-by: toast-gear <[email protected]>
2022-06-22 16:03:36 +01:00
Callum Tait 667764e027 chore: suggest gist first (#1539) 2022-06-18 17:38:37 +09:00
Callum Tait de693c4191 ci: runners trigger on push (#1549)
* ci: runners trigger on push

* ci: comments

* ci: comments
2022-06-18 17:34:40 +09:00
Callum Tait 510fc9c834 ci: add GitHub packages to arc release (#1525)
* ci: add GitHub packages to arc release

* ci: use restrictive permissions
2022-06-15 11:37:19 +09:00
Callum Tait 7fd5e24961 chore: bump chart to app 0.24.1 (#1531)
Validate Helm Chart / Lint Chart (push) Has been cancelled
2022-06-15 11:34:55 +09:00
Callum Tait a7ae910ee4 docs: add CRD disclaimer to bug report (#1516) 2022-06-14 09:42:31 +09:00
Callum Tait 2733c36d0e ci: publish controller canary to github packages (#1524)
* ci: publish controller canary to github packages

* ci: include image name
2022-06-14 09:10:13 +09:00
Callum TaitandYusuke Kuoka a62882d243 ci: fix permisions (#1512)
* ci: fix permisions

* chore: change to trigger build

* ci: add write permission to packages

* ci: remove conditionals for docker logins

* Update controllers/utils_test.go

Co-authored-by: Yusuke Kuoka <[email protected]>
2022-06-09 10:25:56 +09:00
Callum Taitandtoast-gear 0cd13fe51d ci: align pipeline files and setups (#1484)
* ci: align pipeline files and setups

* ci: more changes

* ci: various changes

* ci: fix setup-helm action ref

* ci: better pipeline name

* ci: more format aligning

* ci: more format aligning

* ci: better job name

* ci: supports multiple languages

* ci: better pipeline and job names

* ci: do a verb-noun thing for consistency

* ci: use 'arc' when talking holistically

* ci: add caching scope

* ci:  put canary in a scope

* ci: fix syntax error

* ci: better pipeline and job names

* ci: better job name

Co-authored-by: toast-gear <[email protected]>
2022-06-08 10:04:14 +09:00
Callum Tait 2aa3f1e142 chore: remove stale app config (#1465) 2022-05-21 14:19:41 +09:00
Callum Tait b5aa1750bb ci: match renovate with new dockerfile names (#1453) 2022-05-16 18:15:44 +09:00
Callum TaitandYusuke Kuoka 65f7ee92a6 refactor: remove registration runner dead code (#1260)
We had some dead code left over from the removal of registration runners. Registration runners were removed in #859 #1207

Co-authored-by: Yusuke Kuoka <[email protected]>
2022-05-16 11:23:39 +09:00
Callum Taitandtoast-gear 51ba7d7160 chore: more initialisation info to help debug (#1276)
* chore: more initialisation info to help debug

* chore: clearer flag description

* chore: use actual english

Co-authored-by: toast-gear <[email protected]>
2022-05-14 17:11:20 +09:00
Callum Taitandtoast-gear f60e57d789 docs: improve troubleshooting (#1428)
* docs: runner cleanup instructions

* docs: add delay in job allocation

* docs: fix broken link

* docs: reorganise into categories

* docs: align the format across the doc

* docs: remove code comment

* docs: add a tools section

* docs: add a short description to each section

Co-authored-by: toast-gear <[email protected]>
2022-05-12 08:45:10 +09:00
Callum Tait d3b7f0bf7d chore: release chart targeting v0.23.0 (#1404)
Lint and Test Charts / Lint Chart (push) Has been cancelled
2022-04-29 13:54:22 +01:00
Callum Tait 55369bf846 fix: forgot to do the chart (#1388)
Co-authored-by: toast-gear <[email protected]>
Co-authored-by: Yusuke Kuoka <[email protected]>

> chart test is failing due to `flag provided but not defined: -default-scale-down-delay` which seems to come from the fact that we still use ARC 0.22.3 for chart testing.
> 
> Probably we'd better figure out how to test it against both the latest release version of ARC and the canary version of ARC?
> 
> Or just test it against the canary version so that it won't fail when the chart depends on features that are available only in the canary version of ARC? 🤔

yup, lets get this merged though so we can do a release today
2022-04-29 09:15:27 +01:00
Callum Taitandtoast-gear 059481b610 refactor: remove legacy controller Docker build (#1360) [skip ci]
* refactor: remove legacy build and use buildkit

* refactor: add runner version to root makefie

* refactor: enable buildkit for runner make build

* refactor: ignore runner makefile in ci

Co-authored-by: toast-gear <[email protected]>
2022-04-27 08:21:02 +01:00
Callum Taitandtoast-gear 9f7ea0c014 docs: highlight breaking changes are possible (#1310)
It's probably worth highlighting it's ver 0.X.X by design and that breaking changes are possible until we move it to 1.0.0

Co-authored-by: toast-gear <[email protected]>
2022-04-26 11:20:11 +09:00
Callum Taitandtoast-gear 0caa0315c6 feat: set default in chart (#1389)
Ref #963
Ref #899

Co-authored-by: toast-gear <[email protected]>
2022-04-26 10:25:01 +09:00
c3e280eadb refactor: set sync period default to 1m (#1308)
Fixes: #1294

Co-authored-by: toast-gear <[email protected]>
Co-authored-by: Yusuke Kuoka <[email protected]>
2022-04-24 10:47:00 +09:00
24aae58dbc feat: default scale down flag (#963)
Resolves #899

Co-authored-by: Callum <[email protected]>
Co-authored-by: Yusuke Kuoka <[email protected]>
2022-04-20 11:09:09 +09:00
Callum Taitandtoast-gear 352e206148 refactor: use apt-get instead of apt (#1342)
Co-authored-by: toast-gear <[email protected]>
2022-04-13 09:40:15 +01:00
Callum Taitandtoast-gear c4ff1a588f chore: migrate to actions stale bot (#1334)
Co-authored-by: toast-gear <[email protected]>
2022-04-13 08:29:49 +09:00
Callum Taitandtoast-gear 4a3b7bc8d5 refactor: location of some runner cmds (#1337)
Co-authored-by: toast-gear <[email protected]>
2022-04-12 22:18:34 +01:00
Callum Tait 14f9e7229e docs: highlight why persistent are not ideal 2022-04-01 15:49:15 +01:00
Callum Tait d72c396ff1 docs: slight correction for a multi controller env 2022-03-29 16:57:58 +01:00
Callum Tait ecc8b4472a chore: bump chart to latest (#1280)
Lint and Test Charts / Lint Chart (push) Has been cancelled
2022-03-29 07:46:44 +01:00
Callum Tait 459beeafb9 docs: remove the nonsense
Lint and Test Charts / Lint Chart (push) Has been cancelled
2022-03-27 14:15:42 +01:00
Callum Taitandtoast-gear 2cb04ddde7 * feat: move to new run.sh container friendly file (#1244)
* fix: unit tests were very broken

Co-authored-by: toast-gear <[email protected]>
2022-03-22 19:02:51 +00:00
Callum Tait f28cecffe9 docs: various minor changes (#1250)
* docs: various minor changes

* docs: format fixes
2022-03-20 16:05:03 +00:00
Callum Tait 857c1700ba docs: add repo update to upgrade notes (#1233) 2022-03-16 10:37:37 +00:00
Callum Tait a40793bb60 chore: bump chart to app 0.22.0 (#1232)
Lint and Test Charts / Lint Chart (push) Has been cancelled
* chore: bump chart to app 0.22.0
2022-03-16 07:57:30 +00:00
Callum Tait 48a7b78bf3 docs: remove runnerset limitation (#1225)
Lint and Test Charts / Lint Chart (push) Has been cancelled
This works great from testing now, this is no longer a limitation due to ARC now creating a statefulset per runner
2022-03-16 09:08:41 +09:00
Callum Tait 66e070f798 docs: remove githubAPICacheDuration from docs (#1194) 2022-03-08 13:27:30 +00:00
Callum Tait 4b0aa92286 docs: better wording 2022-03-01 08:56:30 +00:00
Callum Tait c69c8dd84d docs: better runner group description 2022-03-01 08:54:24 +00:00
Callum Tait 7156ce040e chore: bump chart (#1138)
Lint and Test Charts / Lint Chart (push) Has been cancelled
2022-02-21 09:24:14 +00:00
Callum Taitandtoast-gear eb53d238d1 docs: move istio to troubleshooting (#1097)
Co-authored-by: toast-gear <[email protected]>
2022-02-07 20:49:26 +00:00
Callum Taitandtoast-gear 6f591ee774 chore: bump docker version (#1094)
* chore: bump docker version

Co-authored-by: toast-gear <[email protected]>
2022-02-07 20:10:02 +00:00
Callum Taitandtoast-gear cc25dd7926 chore: change to trigger build (#1093)
* chore: change to trigger build

* ci: actually use variable

Co-authored-by: toast-gear <[email protected]>
2022-02-03 21:23:42 +00:00
Callum Taitandtoast-gear f09a974ac2 chore: change to trigger build (#1079)
* chore: change to trigger build

Co-authored-by: toast-gear <[email protected]>
2022-01-28 21:57:53 +00:00
Callum Tait 1f7e440030 ci: add required token permissions 2022-01-28 21:37:16 +00:00
Callum Taitandtoast-gear f72d871c5b docs: move troubleshooting out of main readme (#1023)
Co-authored-by: toast-gear <[email protected]>
2021-12-29 10:24:09 +09:00
Callum Tait ad48851dc9 feat: expose if docker is enabled and wait for docker to be ready (#962)
Resolves #897
Resolves #915
2021-12-29 10:23:35 +09:00
Callum Tait a1cfe3be36 docs: re-order helm param order (#996)
* docs: re-order helm param order

* docs: re-order params in values
2021-12-09 10:20:51 +00:00
Callum Tait acb004f291 docs: remove RunnerSet limitation (#991) 2021-12-08 22:03:42 +00:00
Callum Taitandtoast-gear 23841642df docs: bring ephemeral runners to current (#981)
Co-authored-by: toast-gear <[email protected]>
2021-12-04 11:12:24 +00:00
Callum Taitandtoast-gear 550717020d ci: remove ubuntu 18.04 image (#980)
* ci: remove Ubuntu 18.04 runner

Co-authored-by: toast-gear <[email protected]>
2021-12-04 10:46:08 +00:00
Callum Tait 9a5ae93cb7 docs: various clarifications (#976)
* docs: various clarifications
2021-11-30 19:22:49 +00:00
Callum Tait f5175256c6 chore(deps): bump 20.04 runner version (#975) 2021-11-30 14:34:04 +00:00
Callum Tait 031b1848e0 ci: separate ubuntu versions out in ci (#969)
* ci: separate ubuntu versions out in ci
2021-11-30 14:09:33 +00:00
Callum Tait 62995fec5b chore: bumping chart for new release (#948)
Lint and Test Charts / Lint Chart (push) Has been cancelled
2021-11-15 19:58:49 +00:00
Callum Tait f7e14e06e8 docs: clarify runnerset limitation (#919)
* docs: clarify runnerset limitation

* docs: correct terminology

* docs: missing word
2021-10-28 11:19:56 +01:00
Callum Tait 09e6b1839b docs: correct anti-flapping example (#918)
* docs: correct anti-flapping example

* docs: provide complete example

* docs: use example/myrepo everywhere
2021-10-28 10:52:54 +01:00
Callum Tait 0416a9272f docs: minor correction to autoscaling description (#917)
* docs: minor correction to autoscaling description

* docs: make pull metrics plural

* docs: remove redundant words

* docs: make plural and expand anti-flapping
2021-10-28 10:33:20 +01:00
Callum Tait 49566aaebd docs: fix broken link (#916) 2021-10-28 09:57:46 +01:00
Callum Tait f66e6a00fa docs: clean up auto scaling documentation (#909)
* docs: clean up of autoscaling section

* docs: clarifying anti-flapping

* docs: more improvements

* docs: more improvements

* docs: adding duration details and cavaets

* docs: smaller english and better structure

* docs: use consistent wording

* docs: adding limitation cavaet for RunnerSets

* docs: correct helm uprgade order

* docs: lines helm upgrade command with help switch

* docs: use existing limitations section

* docs: fix table of headers and contents

* docs: add link to runnersets on first mention

* docs: adding runnerset limitation

* chore: use new enterprise permission for PAT

* docs: bump example deploy to latest version

* docs: adding oauth apps link

* docs: adding cavaet to the oauth apps doc
2021-10-28 09:55:04 +01:00
Callum Tait 79d63acded chore: bumping chart for new release (#903)
Lint and Test Charts / Lint Chart (push) Has been cancelled
2021-10-18 22:05:41 +01:00
Callum Tait 5805e39e1f Revert "feat: adding workflow_dispatch webhook event" (#879)
This reverts commit d36d47fe66.
2021-10-09 18:36:02 +01:00
Callum Tait 8657a34f32 ci: fix chart publish workflow (#874)
* ci: correcting cross job output syntax

* ci: adding job names
2021-10-05 22:35:32 +01:00
Callum Tait b01e193aab ci: publish chart on chart.yaml changes only (#873)
* ci: clean up of workflows in general
2021-10-05 22:28:05 +01:00
Callum TaitandCallum 0a3d2b686e chore: support app ids as int or strings (#869)
Co-authored-by: Callum <[email protected]>
2021-10-05 09:01:27 +09:00
Callum Tait 0725e72ae0 ci: disable chart version bump check (#870) 2021-10-04 20:39:38 +01:00
Callum Tait 5f9fcaf016 ci: add label to renovate pull requests (#863)
* ci: add label to renovate pull requests

* ci: updating stale config to exempt new label
2021-10-02 22:48:28 +01:00