mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-31 22:38:58 +00:00
55935657cf
(cherry picked from commitded1f27ebb
) (cherry picked from commite452b18455
) [CI] upload the forgejo under test as an artifact for end-to-end (squash) use forgejo-pr cascade a PR to https://code.forgejo.org/forgejo/end-to-end on the forgejo-pr branch which will only run end-to-end tests relevant to a Forgejo PR and not the entire end-to-end suite. (cherry picked from commit011de92174
) (cherry picked from commit50290011b2
) [CI] upload the forgejo under test as an artifact for end-to-end (squash) after build (cherry picked from commitba35f42e3d
) (cherry picked from commitddf43faecb
) [CI] upload the forgejo under test as an artifact for end-to-end (squash) do not display env (cherry picked from commitd186ec3db4
) (cherry picked from commit20e9d4bffb
) [CI] upload the forgejo under test as an artifact for end-to-end (squash) merge feature branches (cherry picked from commit83cd7a3ad9
) (cherry picked from commit75fd819ee5
) (cherry picked from commitc6d0216929
) (cherry picked from commit4a0ee31376
) (cherry picked from commit5f440052fb
) (cherry picked from commite603cd3dcf
) (cherry picked from commitf1c5e86d83
)
21 lines
541 B
Bash
Executable file
21 lines
541 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
end_to_end=$1
|
|
end_to_end_pr=$2
|
|
forgejo=$3
|
|
forgejo_pr=$4
|
|
|
|
head_url=$(jq --raw-output .head.repo.html_url < $forgejo_pr)
|
|
test "$head_url" != null
|
|
branch=$(jq --raw-output .head.ref < $forgejo_pr)
|
|
test "$branch" != null
|
|
cd $end_to_end
|
|
echo $head_url $branch 7.0.0+0-gitea-1.22.0 > forgejo/sources/1.22
|
|
date > last-upgrade
|
|
|
|
base_url=$(jq --raw-output .base.repo.html_url < $forgejo_pr)
|
|
test "$base_url" != null
|
|
test "$GITHUB_RUN_NUMBER"
|
|
echo $base_url/actions/runs/$GITHUB_RUN_NUMBER/artifacts/forgejo > forgejo/binary-url
|