Skip to content

this-is-tobi/tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tools 🔧

Utility tools & scripts.

Docker

Utils images :

Name Description Pull command
act-runner act runner image for local CI tests (ubuntu based). docker pull ghcr.io/this-is-tobi/tools/act-runner
debug debug image with all convenients tools (debian based). docker pull ghcr.io/this-is-tobi/tools/debug
dev development image with all convenients tools (debian based). docker pull ghcr.io/this-is-tobi/tools/dev
pg-backup helper image to backup postgresql to s3 (ubuntu based). docker pull ghcr.io/this-is-tobi/tools/pg-backup
s3-backup helper image to backup s3 bucket to another s3 bucket (debian based). docker pull ghcr.io/this-is-tobi/tools/s3-backup

Templates images :

Name Description
nginx bitnami/nignx rootless conf with variables substitution.

Nodejs

Name Description
crypto.mjs set of crypto functions.

Shell

Name Description
add-keycloak-users.sh add keycloak users for a given keycloak realm.
clone-subdir.sh clone a subdirectory from a git repository.
compose-to-matrix.sh parse docker-compose file to create github matrix.
copy-env-examples.sh copy all git project env*-examples files to env files.
dump-kube-pg.sh dump / restore postgres database from / to a kubernetes pod.
delete-ghcr-image.sh delete image and subsequent manifests from ghcr.
export-argocd-resources.sh export ready-to-apply argocd resources.
get-keycloak-token.sh display keycloak token for the given infos.
manage-etc-hosts.sh add or update host ip adress in /etc/hosts.
purge-ghcr-tags.sh purge ghcr tags older than a given date.
trivy-report.sh parse trivy json reports to create a markdown summary.

Tip

Using a script directly from a curl command :

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

Tools

Name Description
act local github action act wrapper.
kind local kubernetes kind wrapper.