<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Jenkins on Ryan | Linux &amp; DevOps consultant</title>
		<link>https://balfoort.be/tags/jenkins/</link>
		<description>Recent content in Jenkins on Ryan | Linux &amp; DevOps consultant</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Tue, 01 Dec 2026 21:40:32 +0100</lastBuildDate>
		
			<atom:link href="https://balfoort.be/tags/jenkins/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Replacing Gitlab with Gitea &#43; Jenkins (Part 2)</title>
				<link>https://balfoort.be/blog/migrating-gitlab-2/</link>
				<pubDate>Tue, 05 Dec 2023 00:00:00 +0000</pubDate>
				<guid>https://balfoort.be/blog/migrating-gitlab-2/</guid>
				<description>&lt;h2 id=&#34;intro&#34;&gt;Intro&lt;/h2&gt;&#xA;&lt;p&gt;This is the followup on the &lt;a href=&#34;https://imrein.com/posts/2023/12/replacing-gitlab-with-gitea--jenkins-part-1/&#34;&gt;initial post&lt;/a&gt; where I started migrating my CI/CD setup from Gitlab to Gitea + Jenkins.&lt;/p&gt;&#xA;&lt;h2 id=&#34;moving-repositories&#34;&gt;Moving repositories&lt;/h2&gt;&#xA;&lt;p&gt;Deciding to start fresh, I just made new repositories on Gitea and copied over the files.&lt;/p&gt;&#xA;&lt;p&gt;As an example:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; /home/rein/homelab_new/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git clone git@gitea:homelab/hugo-website.git&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cp -r ../homelab_old/hugo-website .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git add .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git commit -m &lt;span class=&#34;s2&#34;&gt;&amp;#34;initial commit&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git push&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ls -la homelab_new/hugo-website&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;total &lt;span class=&#34;m&#34;&gt;60&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;drwxr-xr-x &lt;span class=&#34;m&#34;&gt;8&lt;/span&gt; rein rein &lt;span class=&#34;m&#34;&gt;4096&lt;/span&gt; Jul &lt;span class=&#34;m&#34;&gt;14&lt;/span&gt; 23:03 .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;drwxr-xr-x &lt;span class=&#34;m&#34;&gt;8&lt;/span&gt; rein rein &lt;span class=&#34;m&#34;&gt;4096&lt;/span&gt; Sep &lt;span class=&#34;m&#34;&gt;22&lt;/span&gt; 18:48 ..&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;drwxr-xr-x &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; rein rein &lt;span class=&#34;m&#34;&gt;4096&lt;/span&gt; Jul  &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; 11:24 archetypes&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;-rw-r--r-- &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; rein rein &lt;span class=&#34;m&#34;&gt;4379&lt;/span&gt; Nov  &lt;span class=&#34;m&#34;&gt;5&lt;/span&gt; 22:48 config.toml&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;drwxr-xr-x &lt;span class=&#34;m&#34;&gt;3&lt;/span&gt; rein rein &lt;span class=&#34;m&#34;&gt;4096&lt;/span&gt; Jul  &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; 11:24 content&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;drwxr-xr-x &lt;span class=&#34;m&#34;&gt;8&lt;/span&gt; rein rein &lt;span class=&#34;m&#34;&gt;4096&lt;/span&gt; Nov &lt;span class=&#34;m&#34;&gt;30&lt;/span&gt; 18:42 .git&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;-rw-r--r-- &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; rein rein   &lt;span class=&#34;m&#34;&gt;27&lt;/span&gt; Jul  &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; 11:24 .gitignore&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;-rw-r--r-- &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; rein rein  &lt;span class=&#34;m&#34;&gt;854&lt;/span&gt; Nov  &lt;span class=&#34;m&#34;&gt;6&lt;/span&gt; 19:50 .gitlab-ci.yml&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;-rw-r--r-- &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; rein rein  &lt;span class=&#34;m&#34;&gt;133&lt;/span&gt; Jul  &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; 11:24 .gitmodules&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;-rw-r--r-- &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; rein rein    &lt;span class=&#34;m&#34;&gt;0&lt;/span&gt; Jul  &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; 11:24 .hugo_build.lock&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;-rw-r--r-- &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; rein rein  &lt;span class=&#34;m&#34;&gt;104&lt;/span&gt; Jul  &lt;span class=&#34;m&#34;&gt;7&lt;/span&gt; 11:57 README.md&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;drwxr-xr-x &lt;span class=&#34;m&#34;&gt;3&lt;/span&gt; rein rein &lt;span class=&#34;m&#34;&gt;4096&lt;/span&gt; Jul  &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; 11:24 resources&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;drwxr-xr-x &lt;span class=&#34;m&#34;&gt;3&lt;/span&gt; rein rein &lt;span class=&#34;m&#34;&gt;4096&lt;/span&gt; Jul  &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; 11:24 static&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;drwxr-xr-x &lt;span class=&#34;m&#34;&gt;3&lt;/span&gt; rein rein &lt;span class=&#34;m&#34;&gt;4096&lt;/span&gt; Jul  &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; 11:24 themes&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now that the repository is hosted on Gitea, there is still one thing to do&amp;hellip; The repo still has a &lt;code&gt;.gitlab-ci.yml&lt;/code&gt; file. This file has to be converted to a &lt;code&gt;Jenkinsfile&lt;/code&gt;! The &lt;code&gt;Jenkinsfile&lt;/code&gt; is where the pipeline is defined, after some research I created a simple pipeline which will checkout the repo, build the hugo website and finally &lt;code&gt;rysnc&lt;/code&gt; the needed files to my &lt;code&gt;Nginx&lt;/code&gt; server.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Replacing Gitlab with Gitea &#43; Jenkins (Part 1)</title>
				<link>https://balfoort.be/blog/migrating-gitlab-1/</link>
				<pubDate>Mon, 04 Dec 2023 00:00:00 +0000</pubDate>
				<guid>https://balfoort.be/blog/migrating-gitlab-1/</guid>
				<description>&lt;h2 id=&#34;intro&#34;&gt;Intro&lt;/h2&gt;&#xA;&lt;p&gt;Frustrated by the resource drain caused by GitLab on my Proxmox machine, I wanted to redo my CI/CD setup. The virtual machine running GitLab consistently used 4GB of RAM. This made me realize I needed a new setup, given I wasn&amp;rsquo;t fully utilizing GitLab&amp;rsquo;s feature set.&lt;/p&gt;&#xA;&lt;p&gt;After some deep dives into alternatives, I settled on a Gitea and Jenkins combo.&#xA;Gitea, a basic Git server, offered a lightweight repository hosting solution without big amount of RAM usage. Jenkins on the other hand is mainly to learn and see what it is capable of.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
