refactor end-to-end.yml workflow to use a top-level end-to-end.sh
This commit is contained in:
parent
62f75aa56f
commit
bf689a2478
9 changed files with 142 additions and 74 deletions
21
end-to-end.sh
Executable file
21
end-to-end.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
#
|
||||
# Debug loop from the source tree:
|
||||
#
|
||||
# ./end-to-end.sh dependencies
|
||||
# ./end-to-end.sh build_all
|
||||
# VERBOSE=true ./end-to-end.sh test_downgrade_1.20.2_fails
|
||||
#
|
||||
# Everything happens in /tmp/forgejo-end-to-end
|
||||
#
|
||||
|
||||
SELF_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SELF="${BASH_SOURCE[0]}"
|
||||
source $SELF_DIR/lib/lib.sh
|
||||
|
||||
source $SELF_DIR/forgejo/upgrades/test-upgrade.sh
|
||||
source $SELF_DIR/packages/packages.sh
|
||||
|
||||
"$@"
|
Loading…
Add table
Reference in a new issue