Sign inSign up

synapsisid/unified-devops-tool

By synapsisid

β€’Updated 4 months ago

Image
0

10K+

synapsisid/unified-devops-tool repository overview

⁠Unified DevOps Toolkit

A powerful, unified CLI tool designed to streamline modern DevOps workflows. It combines container building, Kubernetes manifest management, and smart database operations into a single, efficient binary.

β πŸš€ Key Features

β πŸ“¦ Containerization
  • Multi-architecture builds: Built-in support for amd64 and arm64 using Podman/Buildah.
  • Smart Tagging: Automated image tag generation based on branch, environment, and commit hash.
  • Extensive Support: Presets for Go (single/monorepo), Node.js, Python AI, Strapi, Next.js, and more.
  • SCA Scanning: Integrated security scanning with Trivy.
⁠☸️ Kubernetes Management
  • Unified Templates: Generate deployment manifests, services, and ingresses from a single, logic-rich template.
  • Image Patching: Automated patching of Kubernetes manifests with new image versions.
  • CI/CD Integration: One-command generation of complex GitLab CI/CD pipelines (monorepo & single repo).
  • Vault Integration: Native support for external secrets and Vault.
⁠🐘 Database Operations
  • PostgreSQL Backup/Restore: Smart version-matching that downloads appropriate pg_dump/pg_restore binaries on-the-fly.
  • Streamlined Auth: Prompts for passwords once and handles authentication via PGPASSWORD internally.
  • Parallel Restores: High-performance restores with configurable parallel jobs.

β πŸ’» Usage via Docker

You can run the toolkit directly using Docker. The binary is located at /usr/bin/devops-toolkit.

⁠Basic Help
docker run --rm synapsisid/unified-devops-tool devops-toolkit --help
⁠PostgreSQL Backup Example

Mount a local directory to receive the backup:

docker run --rm -v $(pwd)/backups:/backups \
  synapsisid/unified-devops-tool \
  devops-toolkit pg backup --host 10.0.0.1 --user admin --output-dir /backups
⁠Generating Kubernetes Manifests
docker run --rm -v $(pwd):/app -w /app \
  synapsisid/unified-devops-tool \
  devops-toolkit generate manifest deployment.yaml \
  --app-name myapp --namespace prod --app-host myapp.com --app-port 8080

β βš™οΈ Configuration

The tool respects several environment variables for deep integration:

VariableDescriptionDefault
APP_WORKDIRWorking directory for temp files./tmp
DOCKERHUB_USERRegistry usernamesynapsisid
GIT_USERNAMEGit username for manifest opscloudrunner
PGPASSWORDPostgreSQL password-

β πŸ› οΈ Build Information

This image is based on synapsisid/podman-buildah:stable, providing a robust environment for rootless container builds within your CI/CD pipelines.


Maintained by PT Synapsis Sinergi Digital

Tag summary

Content type

Image

Digest

sha256:28e8249b7…

Size

524.3 MB

Last updated

4 months ago

docker pull synapsisid/unified-devops-tool:0.0.4-alpha