Skip to content

Tools 🔧 ​

Utility tools & scripts.

Docker ​

Utils images ​

ImageDescriptionDockerfiles
ghcr.io/this-is-tobi/tools/act-runneract runner image for local CI tests (ubuntu based).Dockerfile
ghcr.io/this-is-tobi/tools/debugdebug image with all convenients tools (debian based).Dockerfile
ghcr.io/this-is-tobi/tools/devdevelopment image with all convenients tools (debian based).Dockerfile
ghcr.io/this-is-tobi/tools/pg-backuphelper image to backup postgresql to s3 (postgres based).Dockerfile
ghcr.io/this-is-tobi/tools/s3-backuphelper image to backup s3 bucket to another s3 bucket (debian based).Dockerfile
ghcr.io/this-is-tobi/tools/vault-backuphelper image to backup vault raft cluster to s3 bucket (vault based).Dockerfile

Versions correlation table :

NameImage versionBase image
act-runner2.0.2docker.io/ubuntu:24.04
debug2.0.1docker.io/debian:12
dev2.0.1docker.io/debian:12
pg-backup3.0.2docker.io/postgres:17.2
pg-backup2.0.2docker.io/postgres:16.6
pg-backup1.4.5docker.io/postgres:15.10
s3-backup1.1.4docker.io/debian:12
vault-backup1.2.3docker.io/hashicorp/vault:1.18.3

TIP

The backup images are supplied with a sample kubernetes cronjob in their respective folders.

Templates images ​

NameDescription
nginxbitnami/nignx rootless conf with variables substitution.

Nodejs ​

NameDescription
crypto.mjsset of crypto functions.

Shell ​

NameDescription
add-keycloak-users.shadd keycloak users for a given keycloak realm.
backup-kube-pg.shbackup / restore postgres database from / to a kubernetes pod.
backup-kube-vault.shbackup / restore vault raft cluster from / to a kubernetes pod.
clone-subdir.shclone a subdirectory from a git repository.
compose-to-matrix.shparse docker-compose file to create github matrix.
copy-env-examples.shcopy all git project env*-examples files to env files.
delete-ghcr-image.shdelete image and subsequent manifests from ghcr.
eol-infos.shget package end of life infos.
export-argocd-resources.shexport ready-to-apply argocd resources.
get-keycloak-token.shdisplay keycloak token for the given infos.
list-keycloak-users.shlist keycloak users for a given keycloak realm.
manage-etc-hosts.shadd or update host ip adress in /etc/hosts.
purge-ghcr-tags.shpurge ghcr tags older than a given date.
trivy-report.shparse trivy json reports to create a markdown summary.

TIP

Using a script directly from a curl command :

sh
curl -s https://raw.githubusercontent.com/this-is-tobi/tools/main/shell/<script_name> | bash -s -- -h

Tools ​

NameDescription
actlocal github action act wrapper.
kindlocal kubernetes kind wrapper.

Sources ​

Take a look at the project sources.