Add sampleapp content + Gitea Actions CI/CD workflow
This commit is contained in:
+40
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>sampleapp — CI/CD deployed</title>
|
||||
<style>
|
||||
body { font-family: system-ui, sans-serif; margin: 0; background: #0d1117; color: #e6edf3; }
|
||||
main { max-width: 680px; margin: 10vh auto; padding: 0 1.5rem; }
|
||||
h1 { font-size: 1.9rem; margin-bottom: 0.3rem; }
|
||||
.tag { display: inline-block; background: #238636; color: #fff; font-size: 0.75rem;
|
||||
padding: 0.15rem 0.6rem; border-radius: 999px; letter-spacing: 0.03em; }
|
||||
p { line-height: 1.6; color: #9da7b3; }
|
||||
code { background: #161b22; padding: 0.12rem 0.4rem; border-radius: 4px; color: #e6edf3; }
|
||||
.sha { font-size: 1.05rem; color: #58a6ff; }
|
||||
ul { color: #9da7b3; line-height: 1.8; }
|
||||
footer { margin-top: 2.2rem; font-size: 0.8rem; color: #6b7683; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<span class="tag">sampleapp · live</span>
|
||||
<h1>Deployed via the GitOps pipeline</h1>
|
||||
<p>
|
||||
This page is served by the container image built and pushed by
|
||||
<strong>Gitea Actions</strong>, then deployed to <code>rocky10</code> by a
|
||||
<strong>Rundeck</strong> job that the CI workflow triggered over the Rundeck API.
|
||||
</p>
|
||||
<p class="sha">commit __GIT_SHA__</p>
|
||||
<p>The pipeline that produced this page:</p>
|
||||
<ul>
|
||||
<li>push to <code>lab/sampleapp</code> on the lab Gitea</li>
|
||||
<li>Gitea Actions runner: lint → <code>docker build</code> → push image to the Gitea registry</li>
|
||||
<li>on <code>main</code>: workflow calls the Rundeck API</li>
|
||||
<li>Rundeck deploys this image on rocky10 and writes an audited marker on debian13b via Teleport</li>
|
||||
</ul>
|
||||
<footer>Elyrix lab · Gitea Actions → Rundeck CI/CD demo</footer>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user