Show Git commit on website

This commit is contained in:
5vl
2026-09-10 14:43:24 +02:00
parent 7cae72a435
commit cdc094c7a1
3 changed files with 14 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
environment: DEV environment: DEV
gitCommit: 7cae72a
ingress: ingress:
host: web-dev.max.test.scrumdapp.open-ict.hu host: web-dev.max.test.scrumdapp.open-ict.hu
+1
View File
@@ -12,3 +12,4 @@ ingress:
path: / path: /
environment: LOCAL environment: LOCAL
gitCommit: unknown
+12
View File
@@ -84,6 +84,17 @@
color: #111827; color: #111827;
font-weight: 900; font-weight: 900;
} }
.revision {
margin: 0.75rem 0 0;
color: #bfdbfe;
font-size: 0.9rem;
}
code {
color: #f8fafc;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
</style> </style>
</head> </head>
<body> <body>
@@ -101,6 +112,7 @@
<li>PROD release</li> <li>PROD release</li>
</ul> </ul>
<div class="environment">Current environment: {{ .Values.environment }}</div> <div class="environment">Current environment: {{ .Values.environment }}</div>
<p class="revision">Git commit: <code>{{ .Values.gitCommit }}</code></p>
</main> </main>
</body> </body>
</html> </html>