Full lab documentation and infrastructure as code
- Trino catalogs, Grafana, Spark jobs, LDAP LDIF, NPM compose - Airflow DAG scripts, Proxmox VM inventory, network docs - Ansible playbook, Gitea CI validate workflow - Backup and health-check scripts, cron documentation - Homepage DOCS tab with links to all documentation - Extended collect-fleet-config.sh and populate-repo.py
This commit is contained in:
@@ -40,10 +40,27 @@
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function showGitSha() {
|
||||
if (document.getElementById('atc-git-sha')) return;
|
||||
fetch('http://atc-mgt01.dell-atc.lan:3001/api/v1/repos/mo/Lakehouse/commits?limit=1')
|
||||
.then(function (r) { return r.json(); })
|
||||
.then(function (d) {
|
||||
var sha = (d && d[0] && d[0].sha) ? d[0].sha.substring(0, 7) : 'git';
|
||||
var el = document.createElement('div');
|
||||
el.id = 'atc-git-sha';
|
||||
el.textContent = 'Lakehouse ' + sha;
|
||||
el.style.cssText = 'position:fixed;bottom:4px;right:8px;font-size:10px;color:#64748b;z-index:9999;font-family:monospace;';
|
||||
document.body.appendChild(el);
|
||||
})
|
||||
.catch(function () {});
|
||||
}
|
||||
|
||||
function init() {
|
||||
injectOverlays();
|
||||
applyServiceColors();
|
||||
linkLakehouseTitle();
|
||||
showGitSha();
|
||||
new MutationObserver(linkLakehouseTitle).observe(document.body, { childList: true, subtree: true });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user