mirror of
https://github.com/idanoo/m2.nz.git
synced 2024-11-22 08:15:13 +00:00
Draft new post
This commit is contained in:
parent
fce5cde057
commit
cde31666a7
@ -1,6 +1,7 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: alpine
|
image: alpine
|
||||||
|
branches: main
|
||||||
commands:
|
commands:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add openssh
|
- apk add openssh
|
22
content/posts/gitea_and_woodpecker_ci.md
Normal file
22
content/posts/gitea_and_woodpecker_ci.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
title: "Gitea and Woodpecker CI"
|
||||||
|
tags: ["gitea", "woodpecker", "cicd", "self hosting"]
|
||||||
|
date: "2022-09-12"
|
||||||
|
featuredimagepreview: "/woodpecker.jpg"
|
||||||
|
---
|
||||||
|
|
||||||
|
Another year, another post!
|
||||||
|
|
||||||
|
This time writing about my experience setting up and configuring [Gitea](https://gitea.io) and [Woodpecker](https://woodpecker-ci.org) as a self-hosted Git setup with full CI/CD pipelines.
|
||||||
|
|
||||||
|
I've decided to make the repo for this blog public with a [simple CI script](https://tinker.nz/idanoo/m2.nz/src/branch/main/.woodpecker.yml) configured to do hands free deployments. I'm aware that using `git pull` over SSH is a poor-mans CI script, but it works as a proof of concept and I do plan to tidy it up in the future™.
|
||||||
|
|
||||||
|
{{< image src="/woodpecker.jpg" caption="Woodpecker CI deploying this blog" >}}
|
||||||
|
|
||||||
|
### Gitea
|
||||||
|
|
||||||
|
I've run a Gitea server before so found it pretty seamless to get working. It was a matter of downloading a binary and setting some configuration flags (hostname, database config if needed, etc).
|
||||||
|
|
||||||
|
### Woodpecker CI
|
||||||
|
|
||||||
|
Coming from Gitlab CI it seems pretty basic, but in reality it can do almost everything you need. I'm still figuring out it's capbilities but it does the basic stuff
|
BIN
static/woodpecker.jpg
Normal file
BIN
static/woodpecker.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue
Block a user