From fb62555901ed74819ac8391f372a7ee35fe1b979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Mon, 23 Sep 2024 18:47:16 +0200 Subject: [PATCH] test --- .forgejo/workflows/e2e_gancio.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/e2e_gancio.yml b/.forgejo/workflows/e2e_gancio.yml index 2a81b1d..fa9c51b 100644 --- a/.forgejo/workflows/e2e_gancio.yml +++ b/.forgejo/workflows/e2e_gancio.yml @@ -43,6 +43,20 @@ jobs: - run: sleep 1 - run: curl -L 127.0.0.1:13120/setup/0 - - run: curl -L http://127.0.0.1:13120/api/setup/db --compressed -X POST --data-raw '{"db":{"dialect":"postgres","host":"127.0.0.1:5432","database":"gancio","username":"gancio","password:gancio"}}' - + - run: | + curl 'http://localhost:13120/api/setup/db' + --compressed -X POST + -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0' + -H 'Accept: application/json, text/plain, */*' + -H 'Accept-Language: en-US,en;q=0.5' + -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Content-Type: application/json' + -H 'Origin: http://localhost:13120' + -H 'Connection: keep-alive' + -H 'Referer: http://localhost:13120/setup/0' + -H 'Cookie: i18n_redirected=en; auth.strategy=local' + -H 'Sec-Fetch-Dest: empty' + -H 'Sec-Fetch-Mode: cors' + -H 'Sec-Fetch-Site: same-origin' + -H 'Priority: u=0' + --data-raw '{"db":{"dialect":"sqlite","storage":"./gancio.sqlite","host":"localhost","database":"gancio","password":"gancio"}}'