updates, drone

trunk
Adam Veldhousen 2022-03-12 19:16:21 -06:00
parent 3576ec4b1f
commit f28e1d8363
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
7 changed files with 57 additions and 26 deletions

23
.drone.yml Normal file
View File

@ -0,0 +1,23 @@
kind: pipeline
type: kubernetes
name: Publish
trigger:
event:
- cron
- push
branch:
- trunk
steps:
- name: kaniko
image: banzaicloud/drone-kaniko
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: vdhsn/garden
tags:
- latest
- "${DRONE_COMMIT_SHA}"

View File

@ -6,8 +6,18 @@ WORKDIR /opt
RUN apk add --no-cache git hugo make && make build
FROM nginx
ARG SHA = "local-dev"
ARG BUILD_DATE = "03-11-2022"
LABEL org.opencontainers.image.created ${BUILD_DATE}
LABEL org.opencontainers.image.source https://git.vdhsn.com/adam/garden.git
LABEL org.opencontainers.image.url https://git.vdhsn.com/adam/garden
LABEL org.opencontainers.image.revision ${SHA}
LABEL org.opencontainers.image.licenses MIT
LABEL org.opencontainers.image.authors "Adam Veldhousen <adam@vdhsn.com>"
COPY --from=builder /opt/public /usr/share/nginx/html
EXPOSE 80

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# Garden
[![Build Status](https://ci.vdhsn.com/api/badges/adam/garden/status.svg?ref=refs/heads/trunk)](https://ci.vdhsn.com/adam/garden)
My attempt at digital gardening

View File

@ -2,7 +2,7 @@ baseURL = "https://vdhsn.com"
keywords = ["Adam Veldhousen", "blog", "software", "life", "health"]
author = "Adam Veldhousen"
languageCode = "en-us"
title = "Adam Veldhousen - Raised Beds"
title = "Adam Veldhousen - Bit Garden"
theme = "digitalgarden"
pygmentsStyle = "solarized-light" # solarized-light, -dark or -dark256
summaryLength = 32
@ -39,10 +39,15 @@ googleAnalytics = "UA-155338921-1"
url = '/health'
weight = 2
[[menu.main]]
name = 'Thinking'
url = '/thinking'
weight = 3
[[menu.main]]
name = 'Software'
url = '/software'
weight = 2
weight = 4
[[menu.social]]

View File

@ -19,7 +19,7 @@ Below are some links that I've found useful around the web lately.
### Digital Garden templates
- [doubleloop digital garden](https://commonplace.doubleloop.net/digital-garden)
- [doubleloop digital garden](https://commonplace.doubleloop.net/digital-garden) (I like the template :grin:)
### Tools

View File

@ -1,22 +0,0 @@
---
title: "Reading List"
date: 2022-03-09
draft: false
description: Cookie sweet donut candy pastry apple dolor orange lollipop biscuit. Muffin cream ipsum ipsum sprinkles sugar tiramisu pastry sweet tiramisu.
---
## Kubernetes
- [Kubernetes in Production: The Ultimate Guide to Monitoring Resource Metrics with Prometheus](https://www.replex.io/blog/kubernetes-in-production-the-ultimate-guide-to-monitoring-resource-metrics)
- [K8s Monitor Pod CPU and memory usage with Prometheus](https://itnext.io/k8s-monitor-pod-cpu-and-memory-usage-with-prometheus-28eec6d84729)
- [Understanding machine cpu usage](https://www.robustperception.io/understanding-machine-cpu-usage)
## Digital Garden templates
- []()
- [](https://commonplace.doubleloop.net/digital-garden)
## Tools
- [Netshoot](https://github.com/nicolaka/netshoot)

View File

@ -0,0 +1,8 @@
---
title: Thinking
---
# Thinking :brain:
Thought frameworks, productivity, philosophy, and other thoughty stuff.