Forgejo v1.22 will actually be Forgejo v7.0
This commit is contained in:
parent
0f6708163f
commit
78027e672d
8 changed files with 20 additions and 20 deletions
|
@ -10,7 +10,7 @@
|
||||||
# https://codeberg.org/forgejo-cascading-pr scope write:issue, write:repository, read:user
|
# https://codeberg.org/forgejo-cascading-pr scope write:issue, write:repository, read:user
|
||||||
# vars.CASCADE_DOCS_FORCE_VERSION
|
# vars.CASCADE_DOCS_FORCE_VERSION
|
||||||
# replace the generated documentation for a given version even if it has already
|
# replace the generated documentation for a given version even if it has already
|
||||||
# been generated (e.g. v1.22.0-test)
|
# been generated (e.g. v7.0.0-test)
|
||||||
#
|
#
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
@ -25,11 +25,11 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
info:
|
info:
|
||||||
- version: v1.22
|
- version: v7.0
|
||||||
branch: next
|
branch: next
|
||||||
forgejo: https://codeberg.org
|
forgejo: https://codeberg.org
|
||||||
repo: forgejo-experimental/forgejo
|
repo: forgejo-experimental/forgejo
|
||||||
tests: ${{ vars.V1_22_TESTS }}
|
tests: ${{ vars.V7_0_TESTS }}
|
||||||
- version: v1.21
|
- version: v1.21
|
||||||
forgejo: https://codeberg.org
|
forgejo: https://codeberg.org
|
||||||
repo: forgejo/forgejo
|
repo: forgejo/forgejo
|
||||||
|
|
|
@ -10,11 +10,11 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
info:
|
info:
|
||||||
- version: v1.22
|
- version: v7.0
|
||||||
branch: next
|
branch: next
|
||||||
forgejo: https://codeberg.org
|
forgejo: https://codeberg.org
|
||||||
repo: forgejo-experimental/forgejo
|
repo: forgejo-experimental/forgejo
|
||||||
tests: ${{ vars.V1_22_TESTS }}
|
tests: ${{ vars.V7_0_TESTS }}
|
||||||
- version: v1.21
|
- version: v1.21
|
||||||
forgejo: https://codeberg.org
|
forgejo: https://codeberg.org
|
||||||
repo: forgejo/forgejo
|
repo: forgejo/forgejo
|
||||||
|
|
20
README.md
20
README.md
|
@ -61,19 +61,19 @@ fine when run as a regular user.
|
||||||
Run one example
|
Run one example
|
||||||
|
|
||||||
```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 cron # runs actions/example-cron
|
actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v7.0.0-test/forgejo-7.0.0-test-linux-amd64 v7.0.0-test v7_0 cron # runs actions/example-cron
|
||||||
```
|
```
|
||||||
|
|
||||||
Cleanup. It will teardown Forgejo & the runner and not run them because there is nothing to test.
|
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/v7.0.0-test/forgejo-7.0.0-test-linux-amd64 v7.0.0-test v7_0 none
|
||||||
```
|
```
|
||||||
|
|
||||||
Run all examples for v1_22
|
Run all examples for v7_0
|
||||||
|
|
||||||
```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
|
actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v7.0.0-test/forgejo-7.0.0-test-linux-amd64 v7.0.0-test v7_0
|
||||||
```
|
```
|
||||||
|
|
||||||
Run from sources
|
Run from sources
|
||||||
|
@ -91,7 +91,7 @@ the number of cases run by the
|
||||||
**none** they are not run at all for that version of Forgejo. If
|
**none** they are not run at all for that version of Forgejo. If
|
||||||
it does not exist, all tests are run.
|
it does not exist, all tests are run.
|
||||||
|
|
||||||
* `V1_22_TESTS`
|
* `v7_0_TESTS`
|
||||||
* `V1_21_TESTS`
|
* `V1_21_TESTS`
|
||||||
* `V1_20_TESTS`
|
* `V1_20_TESTS`
|
||||||
|
|
||||||
|
@ -102,18 +102,18 @@ To run and debug package tests, from the root of the source directory.
|
||||||
Run one test
|
Run one test
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
packages/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 alpine # runs packages/alpine.sh
|
packages/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v7.0.0-test/forgejo-7.0.0-test-linux-amd64 v7.0.0-test v7_0 alpine # runs packages/alpine.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Cleanup. It will teardown Forgejo and not run them because there is nothing to test.
|
Cleanup. It will teardown Forgejo and not run them because there is nothing to test.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
packages/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
|
packages/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v7.0.0-test/forgejo-7.0.0-test-linux-amd64 v7.0.0-test v7_0 none
|
||||||
```
|
```
|
||||||
Run all examples for v1_22
|
Run all examples for v7_0
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
packages/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
|
packages/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v7.0.0-test/forgejo-7.0.0-test-linux-amd64 v7.0.0-test v7_0
|
||||||
```
|
```
|
||||||
|
|
||||||
Remote testing
|
Remote testing
|
||||||
|
@ -124,5 +124,5 @@ the number of cases run by the
|
||||||
**none** they are not run at all for that version of Forgejo. If
|
**none** they are not run at all for that version of Forgejo. If
|
||||||
it does not exist, all tests are run.
|
it does not exist, all tests are run.
|
||||||
|
|
||||||
* `V1_22_PACKAGES_TESTS`
|
* `v7_0_PACKAGES_TESTS`
|
||||||
* `V1_21_PACKAGES_TESTS`
|
* `V1_21_PACKAGES_TESTS`
|
||||||
|
|
|
@ -38,7 +38,7 @@ function examples_v1_21() {
|
||||||
echo 'echo push tag push-cancel artifacts service checkout pull-request container expression local-action context docker-action if if-fail cron'
|
echo 'echo push tag push-cancel artifacts service checkout pull-request container expression local-action context docker-action if if-fail cron'
|
||||||
}
|
}
|
||||||
|
|
||||||
function examples_v1_22() {
|
function examples_v7_0() {
|
||||||
examples_v1_21
|
examples_v1_21
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
https://codeberg.org/forgejo/forgejo forgejo 7.0.0+0-gitea-1.22.0
|
|
1
forgejo/sources/7.0
Normal file
1
forgejo/sources/7.0
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://codeberg.org/forgejo/forgejo forgejo 7.0.0+gitea-1.22.0
|
|
@ -65,8 +65,8 @@ function dependencies() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function build_all() {
|
function build_all() {
|
||||||
log_info 1.22.0-dev
|
log_info 7.0.0-dev
|
||||||
$SELF_DIR/../build.sh 1.22.0-dev $DIR
|
$SELF_DIR/../build.sh 7.0.0-dev $DIR
|
||||||
}
|
}
|
||||||
|
|
||||||
function retry() {
|
function retry() {
|
||||||
|
|
|
@ -16,7 +16,7 @@ function packages_v1_21() {
|
||||||
echo 'alpine'
|
echo 'alpine'
|
||||||
}
|
}
|
||||||
|
|
||||||
function packages_v1_22() {
|
function packages_v7_0() {
|
||||||
packages_v1_21
|
packages_v1_21
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue