Earl Warren
82ae462c78
do not display confusing error message if logs do not exist
...
it is expected but the user does not know that and will incorrectly
think it is an error
2024-02-08 10:55:50 +01:00
earl-warren
9511dbeb90
Merge pull request 'forgejo app.ini ENABLE_PUSH_CREATE_ORG = true' ( #114 ) from earl-warren/setup-forgejo:wip-org into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/114
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-02-06 20:52:36 +00:00
Earl Warren
403c7e3253
forgejo app.ini ENABLE_PUSH_CREATE_ORG = true
2024-02-06 18:09:02 +01:00
Earl Warren
9fcc5f5d46
apt-get update before installing
2023-12-29 16:46:31 +01:00
Earl Warren
c14cb08fbf
forgejo-runner: use the installed binary to display the version
2023-12-21 15:07:14 +01:00
earl-warren
46df17e2c6
Merge pull request 'document the difference between v1 and v2' ( #111 ) from earl-warren/setup-forgejo:wip-readme into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/111
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-12-21 13:49:21 +00:00
Earl Warren
c260ee4301
document the difference between v1 and v2
2023-12-20 23:26:18 +01:00
earl-warren
0720d52456
Merge pull request 'forgejo-runner needs an IP, not localhost for the artifacts server' ( #110 ) from earl-warren/setup-forgejo:wip-cleanup into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/110
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-12-20 21:47:49 +00:00
Earl Warren
05385ad75e
do not override the DOT variable from forgejo-curl.sh
2023-12-20 22:24:48 +01:00
Earl Warren
65957effd9
avoid confusing message about non error during teardown
2023-12-20 22:24:23 +01:00
Earl Warren
b51343081a
forgejo-runner needs an IP, not localhost for the artifacts server
2023-12-20 22:22:58 +01:00
Earl Warren
418489ad4f
no longer use /usr/local/bin
2023-12-20 22:22:14 +01:00
Earl Warren
f147de9c79
use the same directory for teardown and setup
2023-12-19 18:38:38 +01:00
Earl Warren
bfec7083d7
remove redundant removal of logs
2023-12-19 18:24:28 +01:00
Earl Warren
372b23108c
re-use forgejo-url
2023-12-19 18:07:00 +01:00
Earl Warren
82e6d3ec27
adduser --gecos is universal not --comment
2023-12-19 18:06:45 +01:00
earl-warren
c7106eb215
Merge pull request 'forgejo-binary.sh instead of always running from OCI' ( #108 ) from earl-warren/setup-forgejo:wip-binary into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/108
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-12-19 15:53:37 +00:00
Earl Warren
6b89f49230
also test v1.20 binary
2023-12-17 23:35:54 +01:00
Earl Warren
6b431ecf9b
add nested test for action.yml binary support
2023-12-17 23:32:55 +01:00
Earl Warren
b2ce91a593
use alpine image instead of the heavier default for testing
2023-12-17 23:32:21 +01:00
Earl Warren
c18ce57fad
forgejo-binary runs forgejo from binary instead of OCI
2023-12-17 23:32:21 +01:00
Earl Warren
0dee755317
ensure all files are created in a designated directory
...
for backward compatibility DIR defaults to $(pwd)
also create the additional convenience files:
* forgejocli
* forgejo-url
* forgejo-auth-url which includes the user and password
2023-12-17 22:24:51 +01:00
Earl Warren
02ca9d26bf
.forgejo/workflows/forgejo.sh is deadcode
2023-12-17 22:24:51 +01:00
Earl Warren
03cebf0f41
forgejo-runner-lib.sh -> forgejo-lib.sh
...
take stop_daemon from forgejo-runner.sh
take retry from forgejo.sh
2023-12-17 22:24:50 +01:00
Earl Warren
9d5363f5f7
upgrade tests to use node:20-bookworm instead of node:16-buster
2023-12-17 16:53:51 +01:00
earl-warren
c4b783e8cb
Merge pull request 'upgrade runner v3.3.0 and add IPv6 tests' ( #107 ) from cascading-pr/setup-forgejo:forgejo/runner-129 into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/107
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2023-12-04 18:58:48 +00:00
cascading-pr
5907644119
upgrade to runner v3.3.0
2023-12-04 19:04:46 +01:00
Earl Warren
875414b617
IPv6 tests
2023-12-04 18:06:06 +01:00
Earl Warren
00a4cd9916
upgrade lxc-helpers
2023-12-04 18:06:06 +01:00
earl-warren
75cc10f9ca
Merge pull request 'sync lxc-helpers 529f2049d039091f4a5b4d8f42c335c7c65ab115' ( #101 ) from earl-warren/setup-forgejo:wip-lxc-helpers into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/101
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-11-11 23:46:09 +00:00
Earl Warren
8021d61ac4
sync lxc-helpers 529f2049d039091f4a5b4d8f42c335c7c65ab115
2023-11-11 18:05:20 +01:00
Earl Warren
1583b5bf96
default runner is v3.2.0
2023-11-11 13:54:27 +01:00
Earl Warren
e84be18f37
do not cascade if the CASCADE variable is no
2023-11-10 19:10:33 +01:00
earl-warren
ca4548f34a
Merge pull request 'link to the LXC runs-on documentation' ( #96 ) from earl-warren/setup-forgejo:wip-tests into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/96
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-11-09 15:56:13 +00:00
Earl Warren
d660cf008d
link to the LXC runs-on documentation
2023-11-09 16:24:39 +01:00
Earl Warren
13e4980952
as of runner 3.1.0 self-hosted is no longer implicitly lxc
2023-11-09 16:03:53 +01:00
Earl Warren
4e7e5d2dd5
use the latest go version 1.21.4
2023-11-09 16:02:08 +01:00
Earl Warren
11e55d29d0
test with Forgejo 1.21.0-7-rc2
2023-11-09 16:01:56 +01:00
Earl Warren
daaa7f064d
default runner is v3.1.0
2023-11-09 16:00:33 +01:00
earl-warren
36311a582a
Merge pull request 'docs: sudo scope is obsolete, remove it' ( #92 ) from earl-warren/setup-forgejo:wip-cascade-end-to-end into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/92
2023-11-08 16:43:45 +00:00
Earl Warren
f6d72d6565
docs: sudo scope is obsolete, remove it
2023-11-08 17:27:26 +01:00
Earl Warren
44e227e7b3
no need to checkout when cascading
2023-11-08 17:23:18 +01:00
Earl Warren
4f1763752a
end-to-end user is replaced with the cascading-pr user
2023-11-07 17:35:16 +01:00
Earl Warren
a7894236f5
no need for access to secrets in integration-nested
2023-11-05 15:27:34 +01:00
Earl Warren
4359f14f18
checkout the branch
2023-11-04 17:49:00 +01:00
Earl Warren
1535c75993
install the runner in /usr/local/bin
...
* when downloaded
* when built from sources
2023-11-04 17:48:23 +01:00
earl-warren
dede81c801
Merge pull request 'upgrade tests to 1.21.0-6-rc2' ( #78 ) from earl-warren/setup-forgejo:wip-experimental-test into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/78
2023-11-03 23:54:50 +00:00
earl-warren
8c3c90b5cf
Merge pull request 'cascading-pr from https://code.forgejo.org/forgejo/forgejo-curl/pulls/5 ' ( #79 ) from cascading-pr/setup-forgejo:forgejo/forgejo-curl-5 into main
...
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/79
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2023-11-03 23:54:32 +00:00
cascading-pr
f9010a64e9
cascading-pr update
2023-11-03 23:12:32 +00:00
Earl Warren
bcd7ec07cd
upgrade tests to 1.21.0-6-rc2
2023-11-01 18:56:07 +01:00