mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 10:46:10 +01:00
[CI] upgrade moved to https://code.forgejo.org/forgejo/end-to-end/
This commit is contained in:
parent
8c786eb2ed
commit
bfb5a97d8c
|
@ -180,33 +180,3 @@ jobs:
|
||||||
RACE_ENABLED: true
|
RACE_ENABLED: true
|
||||||
TEST_TAGS: gogit sqlite sqlite_unlock_notify
|
TEST_TAGS: gogit sqlite sqlite_unlock_notify
|
||||||
USE_REPO_TEST_DIR: 1
|
USE_REPO_TEST_DIR: 1
|
||||||
upgrade:
|
|
||||||
needs: [test-sqlite]
|
|
||||||
runs-on: docker
|
|
||||||
container:
|
|
||||||
image: codeberg.org/forgejo/test_env:main
|
|
||||||
steps:
|
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: "1.20"
|
|
||||||
- run: |
|
|
||||||
git config --add safe.directory '*'
|
|
||||||
chown -R gitea:gitea . /go
|
|
||||||
- run: |
|
|
||||||
su gitea -c 'make deps-backend'
|
|
||||||
- run: |
|
|
||||||
su gitea -c 'make backend'
|
|
||||||
env:
|
|
||||||
TAGS: bindata sqlite sqlite_unlock_notify
|
|
||||||
- run: |
|
|
||||||
su gitea -c 'make gitea'
|
|
||||||
cp -a gitea /tmp/forgejo-development
|
|
||||||
timeout-minutes: 50
|
|
||||||
env:
|
|
||||||
TAGS: bindata sqlite sqlite_unlock_notify
|
|
||||||
- run: |
|
|
||||||
script=$(pwd)/.forgejo/upgrades/test-upgrade.sh
|
|
||||||
$script dependencies
|
|
||||||
su gitea -c "$script test_upgrades"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue