update hacking instructions
This commit is contained in:
parent
6e3976b17c
commit
4879daf24a
1 changed files with 9 additions and 2 deletions
11
README.md
11
README.md
|
@ -28,7 +28,7 @@ export PATH=$(pwd)/setup-forgejo:$PATH
|
||||||
git clone https://code.forgejo.org/forgejo/end-to-end
|
git clone https://code.forgejo.org/forgejo/end-to-end
|
||||||
cd end-to-end
|
cd end-to-end
|
||||||
export DIR=/tmp/end-to-end
|
export DIR=/tmp/end-to-end
|
||||||
sudo rm -fr /srv/example ; sudo mkdir /srv/example ; sudo chown -R $USER /srv/example
|
rm -fr /tmp/end-to-end ; sudo rm -fr /srv/example ; sudo mkdir /srv/example ; sudo chown -R $USER /srv/example
|
||||||
```
|
```
|
||||||
|
|
||||||
Run one example
|
Run one example
|
||||||
|
@ -37,7 +37,7 @@ Run one example
|
||||||
actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v1.22.0-test/forgejo-1.22.0-test-linux-amd64 v1.22.0-test v1_22 cron # runs actions/example-cron
|
actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v1.22.0-test/forgejo-1.22.0-test-linux-amd64 v1.22.0-test v1_22 cron # runs actions/example-cron
|
||||||
```
|
```
|
||||||
|
|
||||||
Cleanup
|
Cleanup. It will teardown Forgejo & the runner and not run them because there is nothing to test.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v1.22.0-test/forgejo-1.22.0-test-linux-amd64 v1.22.0-test v1_22 none
|
actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v1.22.0-test/forgejo-1.22.0-test-linux-amd64 v1.22.0-test v1_22 none
|
||||||
|
@ -49,6 +49,13 @@ Run all examples for v1_22
|
||||||
actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v1.22.0-test/forgejo-1.22.0-test-linux-amd64 v1.22.0-test v1_22
|
actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v1.22.0-test/forgejo-1.22.0-test-linux-amd64 v1.22.0-test v1_22
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Run from sources
|
||||||
|
|
||||||
|
```sh
|
||||||
|
make TAGS='bindata sqlite sqlite_unlock_notify' generate forgejo
|
||||||
|
cp -a forgejo $DIR/forgejo
|
||||||
|
```
|
||||||
|
|
||||||
### Remote testing
|
### Remote testing
|
||||||
|
|
||||||
To reduce the runtime the following variables can be set to control
|
To reduce the runtime the following variables can be set to control
|
||||||
|
|
Loading…
Add table
Reference in a new issue