Bring the application and Gitea build pipeline to main #1
@@ -104,7 +104,7 @@ class Pipeline {
|
||||
void waitForApplication() throws Exception {
|
||||
for (int i = 0; i < 60; i++) {
|
||||
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);
|
||||
}
|
||||
throw new IllegalArgumentException("Application readiness timed out");
|
||||
|
||||
Reference in New Issue
Block a user