deployments
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
root
2024-08-22 16:19:19 +02:00
parent 85b9b4baea
commit eca452ba26
4 changed files with 81 additions and 44 deletions

View File

@@ -70,6 +70,7 @@
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.6/dist/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.2.1/dist/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
<script>
function check_repositories() {
var url = 'scan.php?op=check_repositories';
jQuery.get(url, function(data) {
@@ -89,8 +90,27 @@ function get_repositories() {
});
}
function check_system() {
var url = 'scan.php?op=check_system&services=1';
jQuery.get(url, function(data) {
if (data!="") {
jQuery("#system").html(data);
}
else setTimeout(check_system, 500);
});
}
function get_system() {
var url = 'scan.php?op=system';
jQuery.get(url, function(data) {
if (data=="OK") {
setTimeout(check_system, 500);
}
});
}
function check_deployments() {
var url = 'scan.php?op=check_init&services=1';
var url = 'scan.php?op=check_deployments&services=1';
jQuery.get(url, function(data) {
if (data!="") {
jQuery("#deployments").html(data);
@@ -100,14 +120,13 @@ function check_deployments() {
}
function get_deployments() {
var url = 'scan.php?op=init';
var url = 'scan.php?op=deployments';
jQuery.get(url, function(data) {
if (data=="OK") {
setTimeout(check_deployments, 500);
}
});
}
function check_containers() {
var url = 'scan.php?op=check_containers';
jQuery.get(url, function(data) {