Earl Warren
6e680c4b38
[FORGEJO] workflows: do not cascade on opened
checks / check and test (pull_request) Successful in 8m4s
/ cascade (pull_request) Successful in 15s
2023-12-21 17:55:27 +01:00
earl-warren
d38e069064
Merge pull request 'cascading-pr from forgejo/lxc-helpers#15 ' ( #29 ) from cascading-pr/act:forgejo/lxc-helpers-15 into main
...
checks / check and test (push) Successful in 47s
Reviewed-on: #29
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2023-12-02 16:54:48 +00:00
cascading-pr
d6cdcd4916
cascading-pr update
checks / check and test (pull_request) Successful in 6m30s
/ cascade (pull_request) Successful in 17s
2023-12-02 15:56:31 +00:00
earl-warren
a996610578
Merge pull request 'cascading-pr from forgejo/lxc-helpers#14 ' ( #28 ) from cascading-pr/act:forgejo/lxc-helpers-14 into main
...
checks / check and test (push) Successful in 6m29s
Reviewed-on: #28
2023-12-01 23:04:22 +00:00
cascading-pr
fdc68581dd
cascading-pr update
checks / check and test (pull_request) Successful in 30s
/ cascade (pull_request) Successful in 19s
2023-12-01 22:45:17 +00:00
cascading-pr
f79ec84c16
cascading-pr update
checks / check and test (pull_request) Successful in 27s
/ cascade (pull_request) Failing after 7m52s
2023-12-01 22:18:52 +00:00
cascading-pr
d9f81c9e04
cascading-pr update
checks / check and test (pull_request) Successful in 4m5s
/ cascade (pull_request) Successful in 9m23s
2023-12-01 21:33:25 +00:00
s3lph
9db5480aad
[FORGEJO] feat(docker): Add flag to enable IPv6 in auto-created networks ( #24 )
...
checks / check and test (push) Successful in 6m29s
Implements one part of forgejo/runner#119 . The other part is a corresponding PR in forgejo/runner: forgejo/runner#120 .
Reviewed-on: #24
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: s3lph <codeberg@s3lph.me>
Co-committed-by: s3lph <codeberg@s3lph.me>
2023-11-14 22:02:37 +00:00
Earl Warren
bf72e67041
[LXC] global lock on start
...
checks / check and test (pull_request) Successful in 26s
/ cascade (pull_request) Successful in 18s
checks / check and test (push) Successful in 6m40s
Since the start script may create LXC templates that are shared, they
may race against each other when running for the first time. A lock
global to the host needs to be used to guarantee that does not happen.
2023-11-11 11:34:47 +01:00
Earl Warren
844f117f31
[LXC] split platform into template, release and config
checks / check and test (pull_request) Successful in 7m2s
/ cascade (pull_request) Successful in 20s
checks / check and test (push) Successful in 6m40s
2023-11-10 21:45:14 +01:00
cascading-pr
25c4ac6b73
[FORGEJO] ascading-pr from forgejo/lxc-helpers#7 ( #21 )
...
checks / check and test (push) Successful in 27s
cascading-pr from forgejo/lxc-helpers#7
Co-authored-by: cascading-pr <cascading-pr@example.com>
Reviewed-on: #21
Co-authored-by: cascading-pr <cascading-pr@noreply.code.forgejo.org>
Co-committed-by: cascading-pr <cascading-pr@noreply.code.forgejo.org>
2023-11-10 20:36:28 +00:00
Earl Warren
0570e040a8
do not cascade if the CASCADE variable is no
checks / check and test (push) Successful in 31s
2023-11-10 19:09:14 +01:00
Earl Warren
61f412a1f1
[FORGEJO] implement lxc separately from self-hosted
checks / check and test (pull_request) Successful in 6m48s
/ cascade (pull_request) Successful in 16s
checks / check and test (push) Successful in 6m39s
2023-11-09 03:52:51 +01:00
Earl Warren
207dff2fe4
no need to checkout before running cascading-pr
checks / check and test (push) Successful in 44s
2023-11-08 17:59:36 +01:00
Earl Warren
032294082f
[FORGEJO] cascading PR to runner
checks / check and test (pull_request) Successful in 6m50s
/ cascade (pull_request) Successful in 3m16s
checks / check and test (push) Successful in 6m30s
2023-11-07 17:20:26 +01:00
Earl Warren
6769d4dbc1
[FORGEJO] informative errors when local action is not found
...
(cherry picked from commit cefe3d8dab
)
2023-11-07 17:20:26 +01:00
Earl Warren
de9ef55ef7
[FORGEJO] lifetime 0 converts to infinity
...
Closes: #2
(cherry picked from commit 6dc2a8e888
)
2023-11-07 17:20:26 +01:00
Earl Warren
b0c5099580
[FORGEJO] add unit tests
...
[FORGEJO] workflow cosmetic changes
(cherry picked from commit 143605538d
)
[FORGEJO] runs on docker not ubuntu-latest
2023-11-07 17:20:26 +01:00
Earl Warren
70400ccc71
[FORGEJO] wrap self-hosted platform steps in an LXC container
...
act PR https://github.com/nektos/act/pull/1682
* shell script to start the LXC container
* create and destroy a LXC container
* run commands with lxc-attach
* expose additional devices for docker & libvirt to work
* install node 16 & git for checkout to work
[FORGEJO] start/stop lxc working directory is /tmp
[FORGEJO] use lxc-helpers to create/destroy containers
[FORGEJO] do not setup LXC
(cherry picked from commit c2eaf440f5
)
Conflicts:
pkg/container/host_environment.go
Conflicts:
pkg/container/host_environment.go
[FORGJEO] upgrade to node20
2023-11-07 17:20:25 +01:00
Earl Warren
78981ee343
[FORGEJO] sync lxc-helpers ff5a3fc52b5c877427abb8f9867064a5487519ec
2023-11-07 17:17:22 +01:00