zk_html/diary/2021-12-05.html

77 lines
2.3 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | 2021-12-05</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width" />
<meta charset="utf-8" />
</head>
<body>
<main>
<header>
<h1>Zk | 2021-12-05</h1>
</header>
<article class="content">
<h1 id="back-end-technical-writer-assessment">Back-end technical writer assessment</h1>
<h2 id="proposed-tutorial-series-setting-up-a-web-application-with-cicd-with-gitea-and-drone">Proposed tutorial series: Setting up a web application with CI/CD with Gitea and Drone</h2>
<h3 id="tutorials">Tutorials</h3>
<ol>
<li>Installing Gitea:<ol>
<li>Download Gitea</li>
<li>Set up Nginx reverseproxy</li>
<li>Set up Gitea per instructions</li>
<li>Create a repo for your app</li>
</ol>
</li>
<li>Installing Drone:<ol>
<li>Download Drone</li>
<li>Set up Nginx reverseproxy</li>
<li>Integrate Drone and Gitea</li>
<li>Set up project in Drone</li>
</ol>
</li>
<li>Setting up CI/CD:<ol>
<li>Set up runner for testing</li>
<li>Set up runner for deployment</li>
</ol>
</li>
<li>Setting up deployment strategies:<ol>
<li>Using branch limits:<ol>
<li>Set up pipeline steps for e.g: sandbox, staging, prod</li>
<li>Set up Nginx to serve each target</li>
<li>Set up workflow:<ol>
<li>Merge each branch into main when it lands</li>
<li>Promote sandbox to staging for testing by merging main into staging branch</li>
<li>Promote staging to prod by merging staging into prod</li>
</ol>
</li>
</ol>
</li>
<li>Using promotion:<ol>
<li>Set up pipeline with targets per step</li>
<li>Set up Nginx to serve each target</li>
<li>Set up workflow:<ol>
<li>Work against e.g: main branch</li>
<li>Promote successful build to desired target using the CLI</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</article>
<footer>
<p>Page generated on 2021-12-05</p>
</footer>
</main>
<script type="text/javascript">
document.querySelectorAll('.tag').forEach(tag => {
let text = tag.innerText;
tag.innerText = '';
tag.innerHTML = `<a href="/tags.html#${text}">${text}</a>`;
});
</script>
</body>
</html>