Bring the application and Gitea build pipeline to main #1

Merged
wanjakrah merged 13 commits from feature/s4-gitea-ci into main 2026-10-29 15:45:34 +01:00
Showing only changes of commit aea792307c - Show all commits

View File

@@ -104,7 +104,7 @@ class Pipeline {
void waitForApplication() throws Exception { void waitForApplication() throws Exception {
for (int i = 0; i < 60; i++) { for (int i = 0; i < 60; i++) {
if (result(false,"docker", "exec", runName + "-frontend", "wget", "-q", "-O", "-", if (result(false,"docker", "exec", runName + "-frontend", "wget", "-q", "-O", "-",
"http://localhost:8080/api/dance-schools").code() == 0) return; "http://127.0.0.1:8080/api/dance-schools").code() == 0) return;
Thread.sleep(2000); Thread.sleep(2000);
} }
throw new IllegalArgumentException("Application readiness timed out"); throw new IllegalArgumentException("Application readiness timed out");