Merge pull request 'shfmt -w globally' (#237) from earl-warren/end-to-end:wip-shfmt into main
Reviewed-on: https://code.forgejo.org///forgejo/end-to-end/pulls/237 Reviewed-by: thefox <thefox@noreply.code.forgejo.org>
This commit is contained in:
commit
47a6f7ee78
27 changed files with 378 additions and 375 deletions
|
@ -12,7 +12,6 @@ function main() {
|
|||
forgejo-curl.sh api_json --data-raw '{"organization":"fork-org"}' $api/repos/root/example-pull-request/forks
|
||||
forgejo-curl.sh api_json -X PUT --data-raw '{"data":"AAAA"}' $api/repos/root/example-pull-request/actions/secrets/SECRET
|
||||
|
||||
|
||||
(
|
||||
cd $d
|
||||
git clone $url/fork-org/example-pull-request fork
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
mkdir -p /srv/example/pull-request
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -41,7 +41,10 @@ function fixture_get_paths_local() {
|
|||
local path=$1
|
||||
local work_path=$DIR/forgejo-work-path
|
||||
|
||||
( cd $work_path ; find $path -type f) > $DIR/path
|
||||
(
|
||||
cd $work_path
|
||||
find $path -type f
|
||||
) >$DIR/path
|
||||
}
|
||||
|
||||
function fixture_get_one_path() {
|
||||
|
|
4
packages/alpine-1.21/test.sh
vendored
4
packages/alpine-1.21/test.sh
vendored
|
@ -38,8 +38,8 @@ for file in $(find . -name '*.apk' -type f | sed -e 's,./,,'); do
|
|||
--fail \
|
||||
-H "Authorization: token $forgejo_token" \
|
||||
-X DELETE \
|
||||
"$forgejo_url/api/packages/root/alpine/3.19/forgejo-2174/$file" \
|
||||
|| true
|
||||
"$forgejo_url/api/packages/root/alpine/3.19/forgejo-2174/$file" ||
|
||||
true
|
||||
|
||||
# upload new package
|
||||
curl \
|
||||
|
|
|
@ -41,8 +41,8 @@ for file in $(find . -name '*.apk' -type f | sed -e 's,./,,'); do
|
|||
--fail \
|
||||
-H "Authorization: token $forgejo_token" \
|
||||
-X DELETE \
|
||||
"$forgejo_url/api/packages/root/alpine/3.19/e2e-tests/$file" \
|
||||
|| true
|
||||
"$forgejo_url/api/packages/root/alpine/3.19/e2e-tests/$file" ||
|
||||
true
|
||||
|
||||
# upload new package
|
||||
curl \
|
||||
|
|
Loading…
Add table
Reference in a new issue