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:
earl-warren 2024-08-07 08:20:51 +00:00
commit 47a6f7ee78
27 changed files with 378 additions and 375 deletions

View file

@ -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

View file

@ -1,2 +1 @@
mkdir -p /srv/example/pull-request

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -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() {

View file

@ -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 \

View file

@ -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 \