Skip to content

Tools 🔧 ​

Utility tools & scripts.

Docker ​

Utils images ​

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

Backup images correlation table :

NameImage versionTool version
pg-backup1.4.3postgresql - 15.7
pg-backup2.0.0postgresql - 16.4
pg-backup3.0.0postgresql - 17.0
vault-backup1.1.3vault - 1.17.2
vault-backup1.2.0vault - 1.18.0

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.