lib: source build replace the matching release
Instead of having an explicit vX.Y-dev version to be referenced explicitly, a binary built from source replaces the matching version. For instance, if forgejo/build-from-sources contains v9.0, * the development branch is compiled from source * the v9.0 artifact is uploaded * prior to running any test, the artificat is downloaded and used * the v9.0 binary is not downloaded from forgejo/experimental/integration because it is already present The vX.Y release is built daily and the end-to-end tests run on it. If a regression is introduced, it will be spotted within 24h. Compiling from source is used when the Forgejo runs the end-to-end suite on a specific pull request.
This commit is contained in:
parent
427c46dbf9
commit
149c6a545c
5 changed files with 19 additions and 26 deletions
|
@ -28,13 +28,13 @@ function test_forgejo_pprof() {
|
|||
docker run --name test_pyroscope --rm -d -p 4040:4040 docker.io/grafana/pyroscope
|
||||
|
||||
reset_forgejo $UPGRADE_DIR/default-app.ini
|
||||
log_info "run 7.0-dev"
|
||||
start 7.0-dev
|
||||
log_info "run 7.0"
|
||||
start 7.0
|
||||
test_upload_profiles
|
||||
stop
|
||||
|
||||
log_info "run 9.0-dev"
|
||||
start 9.0-dev
|
||||
log_info "run 9.0"
|
||||
start 9.0
|
||||
test_upload_profiles
|
||||
stop
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue