From bbadc67556cfe127e478519dfdcf5fbb3276e288 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 24 Mar 2024 15:45:15 -0400 Subject: [PATCH] updates --- .gitignore | 1 + Jenkinsfile | 5 ++--- config.toml | 3 ++- content/posts/2023/11/podman.md | 15 +++++++++++++++ content/posts/_index.md | 4 ++-- 5 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 .gitignore create mode 100644 content/posts/2023/11/podman.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..364fdec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ diff --git a/Jenkinsfile b/Jenkinsfile index 322406e..97a7067 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,15 +11,14 @@ pipeline { stage('Deploy') { steps { echo 'Hello World' - sh 'ls public' sshagent(credentials: ['d82f9436-4c96-44c2-9ed3-b21481e7b742']) { sh ''' [ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh ssh-keyscan -t rsa,dsa lvacula.com >> ~/.ssh/known_hosts - rsync -avz -e "ssh -o StrictHostKeyChecking=no" public/. greywolver@lvacula.com:lvacula.com-docker/volumes/blog + rsync -az -e "ssh -o StrictHostKeyChecking=no" public/. greywolver@lvacula.com:lvacula.com-docker/volumes/blog ''' } } } } -} \ No newline at end of file +} diff --git a/config.toml b/config.toml index 51cdeba..277210f 100644 --- a/config.toml +++ b/config.toml @@ -72,7 +72,8 @@ thumbnail_sizes = [128, 256] # link_instagram_username = "" menu_links = [ - { url = "$BASE_URL/", name = "About" }, + { url = "$BASE_URL", name = "Home" }, + { url = "$BASE_URL/about/", name = "About" }, { url = "$BASE_URL/posts/", name = "Posts" }, { url = "$BASE_URL/tags/", name = "Tags" }, # { url = "https://github.com/jimmyff/zola-inky", name = "Github" }, diff --git a/content/posts/2023/11/podman.md b/content/posts/2023/11/podman.md new file mode 100644 index 0000000..3ea42cd --- /dev/null +++ b/content/posts/2023/11/podman.md @@ -0,0 +1,15 @@ ++++ +title = "I have conqured Podman's YAML" +date = 2023-11-18 +[taxonomies] +tags= ["shortnotes"] ++++ + +I decided that I was done with Gitea's weird port mapping, so I tried to fix it. +Several hours of head-bashing later, I was left with a corrupted database and no Gitea instance. + +I'm now writing this several hours *after that*. +I've learned a surprising amount about Podman (compared to Docker), Kubernetes, pods, and several other things that I'll probably end up using at work some day. + +Expect a post some time this week about deploying a Zola static site with Jenkins. +And maybe some notes on why I switched from Wordpress to Zola. diff --git a/content/posts/_index.md b/content/posts/_index.md index 3fbf406..ae8b218 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,9 +1,9 @@ +++ -title = "Example posts" +title = "Posts" sort_by = "date" template = "posts.html" page_template = "post.html" transparent = true +++ -Posts +A reverse-chronological list of posts.