shfmt -w globally
This commit is contained in:
parent
4e207414d4
commit
d5f66e4c0a
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 --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
|
forgejo-curl.sh api_json -X PUT --data-raw '{"data":"AAAA"}' $api/repos/root/example-pull-request/actions/secrets/SECRET
|
||||||
|
|
||||||
|
|
||||||
(
|
(
|
||||||
cd $d
|
cd $d
|
||||||
git clone $url/fork-org/example-pull-request fork
|
git clone $url/fork-org/example-pull-request fork
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
mkdir -p /srv/example/pull-request
|
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 path=$1
|
||||||
local work_path=$DIR/forgejo-work-path
|
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() {
|
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 \
|
--fail \
|
||||||
-H "Authorization: token $forgejo_token" \
|
-H "Authorization: token $forgejo_token" \
|
||||||
-X DELETE \
|
-X DELETE \
|
||||||
"$forgejo_url/api/packages/root/alpine/3.19/forgejo-2174/$file" \
|
"$forgejo_url/api/packages/root/alpine/3.19/forgejo-2174/$file" ||
|
||||||
|| true
|
true
|
||||||
|
|
||||||
# upload new package
|
# upload new package
|
||||||
curl \
|
curl \
|
||||||
|
|
|
@ -41,8 +41,8 @@ for file in $(find . -name '*.apk' -type f | sed -e 's,./,,'); do
|
||||||
--fail \
|
--fail \
|
||||||
-H "Authorization: token $forgejo_token" \
|
-H "Authorization: token $forgejo_token" \
|
||||||
-X DELETE \
|
-X DELETE \
|
||||||
"$forgejo_url/api/packages/root/alpine/3.19/e2e-tests/$file" \
|
"$forgejo_url/api/packages/root/alpine/3.19/e2e-tests/$file" ||
|
||||||
|| true
|
true
|
||||||
|
|
||||||
# upload new package
|
# upload new package
|
||||||
curl \
|
curl \
|
||||||
|
|
Loading…
Add table
Reference in a new issue