mirror of
https://gitea.com/gitea/tea.git
synced 2026-08-05 23:07:39 +02:00
Merge branch 'main' into renovate/major-workflow-dependencies
This commit is contained in:
@@ -45,7 +45,18 @@ jobs:
|
|||||||
- uses: actions/setup-go@v7
|
- uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
- run: curl --noproxy "*" http://gitea:3000/api/v1/version # verify connection to instance
|
- name: wait for the gitea instance to be ready
|
||||||
|
run: |
|
||||||
|
for i in $(seq 1 30); do
|
||||||
|
if curl --noproxy "*" -sf http://gitea:3000/api/v1/version; then
|
||||||
|
echo "gitea is ready after ${i} attempt(s)"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
echo "waiting for gitea, attempt ${i}/30"
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
echo "::error::gitea did not become ready within 60s"
|
||||||
|
exit 1
|
||||||
- name: integration test
|
- name: integration test
|
||||||
run: |
|
run: |
|
||||||
make integration-test
|
make integration-test
|
||||||
|
|||||||
Reference in New Issue
Block a user