Commit Graph

51 Commits

Author SHA1 Message Date
dependabot[bot] b9ac41eaae fix(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 12:47:45 +02:00
sebthom 630cd3a22c add ACT_CACHE_SERVER_EXTERNAL_URL environment variable 2023-07-28 18:49:40 +02:00
sebthom e0e12392a6 log config environment variables on container start 2023-07-26 10:37:59 +02:00
Sebastian Thomschke 3d345c666f
Fix string interpolation #22 2023-07-24 07:32:36 +02:00
olofvndrhr 6b01de76ee Remove redundant config template defaults from Docker file #21 2023-07-23 13:41:44 +02:00
sebthom dcd2de1f6e update config template 2023-07-23 13:26:38 +02:00
sebthom 104f38ecdf add GITEA_RUNNER_VALID_VOLUME_N environment variables 2023-07-23 13:26:31 +02:00
sebthom 3dc5f01c04 log act runner version on container start 2023-07-23 12:45:04 +02:00
sebthom b358cbedd6 fix dind-rootless container not starting #20 2023-07-23 12:25:13 +02:00
sebthom 0866e7aafc define GITEA_RUNNER_JOB_CONTAINER_DOCKER_HOST to address #17 2023-07-03 19:10:59 +02:00
sebthom 6b85990415 treat backticks in config yaml template as literals 2023-07-01 13:56:53 +02:00
sebthom 19fd530b02 document GITEA_RUNNER_LOG_EFFECTIVE_CONFIG 2023-07-01 13:55:21 +02:00
William Blew 56bf244387 config.template.yaml - replace backticks with quotes
Replace the backtick characters introduced in xxx with double quotes.
This fixes the /opt/run-runner.sh container startup failure.

Signed-off-by: William Blew <william@kulian.org>
2023-07-01 13:35:25 +02:00
sebthom 487c6908d0 add GITEA_RUNNER_JOB_CONTAINER_DOCKER_HOST variable 2023-06-30 23:06:57 +02:00
sebthom 0d730e4911 add GITEA_RUNNER_JOB_CONTAINER_WORKDIR_PARENT variable 2023-06-28 23:53:15 +02:00
Ivan Schaller 5dd910707a update config template
Signed-off-by: Ivan Schaller <ivan@schaller.sh>
2023-06-26 22:04:06 +02:00
sebthom fccc482c5d create docker tag with exact runner version 2023-06-22 15:18:25 +02:00
sebthom dfc5a30aff refactor permission fixing 2023-06-04 14:24:15 +02:00
sebthom c45c9fc54b also monitor docker daemon process when using dind-rootless 2023-06-03 12:40:04 +02:00
sebthom 70913f84ad update doc 2023-05-31 14:15:14 +02:00
sebthom 688bd30a8d add dind-rootless 2023-05-30 18:06:20 +02:00
sebthom cf925b88e4 improve background service handling 2023-05-30 13:13:42 +02:00
sebthom d848df35a6 improve build scripts 2023-05-29 22:19:05 +02:00
sebthom 19f8e34ad0 Avoid using sudo if on happy path 2023-05-27 13:55:49 +02:00
sebthom 14e718454a fix: error when using custom GITEA_RUNNER_UID envvar value
"sudo: you do not exist in the passwd database"
2023-05-20 15:05:46 +02:00
William Blew c5334e1f65
Fix: `usermod: group '...' does not exist` with custom GITEA_RUNNER_GID (#10) 2023-05-20 14:41:07 +02:00
sebthom 4c9806d71c fix docker image not updated 2023-05-19 13:15:09 +02:00
sebthom aa822e12ee update doc 2023-05-16 23:47:21 +02:00
William Blew 04c232ff95
Fix #5: GITEA_RUNNER_GID envar is ignored (#6)
image/run.sh fails to the container:act user's effective GID to the
GITEA_RUNNER_GID envar's value due due to a 'usermod -o -u'
typo. It should be: usermod -o -g "$GITEA_RUNNER_GID" act

Signed-off-by: William Blew <william@kulian.org>
2023-05-14 11:13:51 +02:00
sebthom 313f378023 add ARM builds 2023-05-10 23:04:50 +02:00
sebthom 4a76493e27 minor cleanup 2023-05-09 23:00:07 +02:00
sebthom 37f7d0b82e Fix #3 failed to create symbolic link: File exists 2023-05-04 15:11:17 +02:00
sebthom f6092289dd add Dockerfile linter 2023-05-01 13:28:58 +02:00
sebthom 0d53de011a add docker-in-docker image 2023-04-30 13:56:58 +02:00
sebthom 74d39bb0a5 use `catthehacker/ubuntu:runner-***` images for default labels 2023-04-28 13:16:45 +02:00
sebthom 7215df2b59 more logging for runner registration 2023-04-28 00:28:36 +02:00
sebthom aa47f5405c use latest stable act_runner release instead of nightly builds 2023-04-28 00:28:36 +02:00
sebthom 964ab94700 Revert "add docker client (#2)"
This reverts commit eb4098071b.
2023-04-27 21:48:25 +02:00
sebthom 8d41a53e5e Revert "add docker client (#2)"
This reverts commit 81f4ed3e9c.
2023-04-27 21:48:25 +02:00
sebthom 81f4ed3e9c add docker client (#2) 2023-04-19 22:45:57 +02:00
sebthom eb4098071b add docker client (#2) 2023-04-19 21:31:30 +02:00
sebthom d1c7de71d6 update doc 2023-04-13 19:06:32 +02:00
sebthom 6cea858fc1 add GITEA_RUNNER_JOB_CONTAINER_(PRIVILEGED|OPTIONS) env vars 2023-04-13 18:59:41 +02:00
sebthom 19f9640dee rename GITEA_RUNNER_JOB_NETWORK to GITEA_RUNNER_JOB_CONTAINER_NETWORK 2023-04-13 18:56:48 +02:00
sebthom 252a9dbe3b update build config 2023-04-13 18:51:11 +02:00
Jake Howard 467ccafd33 Fix typo in runner config file name 2023-04-11 11:20:11 +02:00
sebthom d28e7751b3 add support for YAML based config file 2023-04-06 23:41:17 +02:00
sebthom 4f73fa84d5 Installing runner as /usr/local/bin/act_runner 2023-04-06 14:34:33 +02:00
sebthom 11ea109a6c update doc 2023-03-27 23:33:51 +02:00
sebthom fd83c3ffe7 initial import 2023-03-22 00:02:54 +01:00