This commit is contained in:
2024-05-12 17:01:18 +02:00
parent bef4a97588
commit 447694900b

View File

@@ -8,11 +8,4 @@ fn check_gitea() {
}
fn pre_check() {
check_gitea();
let ing = get_ingress(`${global::DOMAIN}-ci`, "gitea");
let sc = list_storage_class();
save_to_tf("/tmp/toto.tf", "conditions", #{
have_gitea: have_install(`${global::DOMAIN}-ci`, "gitea"),
gitea_url: ing.spec.rules[0].host,
storage_class: sc.items[0].metadata.name
});
}