Skip to content

Tools 🔧 ​

Utility tools & scripts.

Devops ​

ArgoCD app previews ​

Templates to configure preview environments with ArgoCD by using the Pull Request Generator. The Pull Request generator uses the API of an SCMaaS provider (GitHub, GitLab, Gitea, Bitbucket, ...) to automatically discover open pull requests within a repository, this fits well with the style of building a test environment when you create a pull request.

For further information, see ArgoCD documentation.

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/curlligthweight image with bash, curl, jq and openssl (alpine 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
curl1.1.2docker.io/alpine:3.21.2
debug2.1.0docker.io/debian:12
dev2.0.2docker.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
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.
init-env-files.shinit .env and .yaml example files by copying them without -example.
keycloak-add-users.shadd keycloak users for a given keycloak realm.
keycloak-get-token.shdisplay keycloak token for the given infos.
keycloak-list-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.
update-zsh-completions.shupdate zsh-completions sources.

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.