Add hugo-video

This commit is contained in:
Dave Gallant
2023-12-10 18:51:11 -05:00
parent 5434804fa1
commit ae4beb114b
7 changed files with 16 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "themes/hugo-video"]
path = themes/hugo-video
url = https://github.com/martignoni/hugo-video.git

View File

@@ -7,7 +7,9 @@ preserveTaxonomyNames: true
pygmentsstyle: "monokai" pygmentsstyle: "monokai"
pygmentscodefences: false pygmentscodefences: false
pygmentscodefencesguesssyntax: true pygmentscodefencesguesssyntax: true
theme: archie theme:
- archie
- hugo-video
title: davegallant title: davegallant
params: params:

View File

@@ -195,6 +195,10 @@ jobs:
--limit ${{ matrix.host }} --limit ${{ matrix.host }}
``` ```
And voilà:
{{< video src="gitea-runner" >}}
## Conclusion ## Conclusion
Gitea Actions are fast and the resource footprint is minimal. My gitea instance is currently using around 250mb of memory and a small fraction of a single cpu core (and the runner is using a similar amount of resources). This is impressive since many alternatives tend to require substantionally more resources (ahem, gitlab). It certainly doesn't hurt that the codebase is largely written in go. Gitea Actions are fast and the resource footprint is minimal. My gitea instance is currently using around 250mb of memory and a small fraction of a single cpu core (and the runner is using a similar amount of resources). This is impressive since many alternatives tend to require substantionally more resources (ahem, gitlab). It certainly doesn't hurt that the codebase is largely written in go.

View File

@@ -231,6 +231,11 @@ jobs:
--inventory inventory --inventory inventory
--limit ${{ matrix.host }} --limit ${{ matrix.host }}
</code></pre> </code></pre>
<p>And voilà:</p>
<video controls preload="auto" width="100%" playsinline class="html-video">
<source src="/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runner.webm" type="video/webm">
<span>Your browser doesn't support embedded videos, but don't worry, you can <a href="/blog/2023/12/10/setting-up-gitea-actions-with-tailscale/gitea-runner.webm">download it</a> and watch it with your favorite video player!</span>
</video>
<h2 id="conclusion">Conclusion<a href="#conclusion" class="hanchor" ariaLabel="Anchor">#</a></h2> <h2 id="conclusion">Conclusion<a href="#conclusion" class="hanchor" ariaLabel="Anchor">#</a></h2>
<p>Gitea Actions are fast and the resource footprint is minimal. My gitea instance is currently using around 250mb of memory and a small fraction of a single cpu core (and the runner is using a similar amount of resources). This is impressive since many alternatives tend to require substantionally more resources (ahem, gitlab). It certainly doesn&rsquo;t hurt that the codebase is largely written in go.</p> <p>Gitea Actions are fast and the resource footprint is minimal. My gitea instance is currently using around 250mb of memory and a small fraction of a single cpu core (and the runner is using a similar amount of resources). This is impressive since many alternatives tend to require substantionally more resources (ahem, gitlab). It certainly doesn&rsquo;t hurt that the codebase is largely written in go.</p>
<p>By combining gitea with the networking marvel that is tailscale, running workflows becomes simple and fun. Whether you are working on a team or working alone, this setup ensures that your workflows are securely accessible from anywhere with an internet connection.</p></section> <p>By combining gitea with the networking marvel that is tailscale, running workflows becomes simple and fun. Whether you are working on a team or working alone, this setup ensures that your workflows are securely accessible from anywhere with an internet connection.</p></section>

1
themes/hugo-video Submodule

Submodule themes/hugo-video added at 1b6b30e17a