mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-07-22 07:18:26 +02:00
chore: test instructions with Forgejo v11.0.3
This commit is contained in:
parent
06248c771c
commit
2b01e2dc4f
1 changed files with 3 additions and 2 deletions
|
@ -179,12 +179,13 @@ The test environment consists of the following (all users password is admin1234)
|
||||||
git clone https://code.forgejo.org/actions/setup-forgejo
|
git clone https://code.forgejo.org/actions/setup-forgejo
|
||||||
export PATH=$(pwd)/setup-forgejo:$PATH
|
export PATH=$(pwd)/setup-forgejo:$PATH
|
||||||
git clone https://code.forgejo.org/actions/cascading-pr
|
git clone https://code.forgejo.org/actions/cascading-pr
|
||||||
|
export PATH=$(pwd)/cascading-pr:$PATH
|
||||||
cd cascading-pr
|
cd cascading-pr
|
||||||
export DIR=/tmp/forgejo-for-cascading-pr
|
export DIR=/tmp/forgejo-for-cascading-pr
|
||||||
forgejo-curl.sh logout
|
forgejo-curl.sh logout
|
||||||
forgejo-runner.sh teardown
|
forgejo-runner.sh teardown
|
||||||
forgejo-binary.sh teardown
|
forgejo-binary.sh teardown
|
||||||
forgejo-binary.sh setup root admin1234 https://codeberg.org/forgejo/forgejo/releases/download/v1.21.3-0/forgejo-1.21.3-0-linux-amd64
|
forgejo-binary.sh setup root admin1234 https://codeberg.org/forgejo/forgejo/releases/download/v11.0.3/forgejo-11.0.3-linux-amd64
|
||||||
FORGEJO_RUNNER_CONFIG=$(pwd)/tests/runner-config.yaml forgejo-runner.sh setup
|
FORGEJO_RUNNER_CONFIG=$(pwd)/tests/runner-config.yaml forgejo-runner.sh setup
|
||||||
url=$(cat $DIR/forgejo-url)
|
url=$(cat $DIR/forgejo-url)
|
||||||
firefox $url
|
firefox $url
|
||||||
|
@ -207,7 +208,7 @@ The test for a successful run of the cascading-pr action consists of:
|
||||||
|
|
||||||
Following the steps below recreate the same environment as the
|
Following the steps below recreate the same environment as the
|
||||||
integration workflow locally. It is helpful for forensic analysis when
|
integration workflow locally. It is helpful for forensic analysis when
|
||||||
something does not run as expected and the error displayed are unclear.
|
something does not run as expected and the errors displayed are unclear.
|
||||||
|
|
||||||
To help with the development loop all steps are idempotent and
|
To help with the development loop all steps are idempotent and
|
||||||
running `tests/run.sh --debug` multiple times must succeed.
|
running `tests/run.sh --debug` multiple times must succeed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue