This repository contains a Docker image with a set of tools preinstalled and useful scripts to help simplify CI/CD pipelines.
- AWS CLI
- Bash
- Composer
- Docker
- Firebase Tools
- Git
- Google Cloud SDK (gcloud CLI)
- Helm
- jq
- kubectl
- Node.js
- npm
- PHP
- Python
- s3cmd
- yq
cluster_from_env
: Configurekubectl
to use a Kubernetes cluster from environment variables.deploy_app_engine
: Deploy an application to Google App Engine.deploy_firebase_hosting
: Deploy a static website to Firebase Hosting.deploy_site
: Deploy a static website to either Firebase Hosting or Google Cloud Storage.deploy
: Deploy YAML and kube-templates files to a Kubernetes cluster.docker_build
: Build a Docker image and push it to a registry, using buildx, with support for multiple architectures.docker_login
: Login to a Docker registry.gsutil_auth_from_env
: Authenticate to Google Cloud using a service account JSON key encoded in Base64 stored in an environment variable.s3cfg_from_env
: Generate a.s3cfg
file from environment variables.undeploy_site
: Delete a static website from Google Cloud Storage.upload_chart
: Upload a Helm chart to Nexus Repository Manager.
-
GitLab CI:
Deploy: stage: deploy image: cubos/cli only: - main script: - cluster_from_env CLUSTER_PRD - deploy
PRs are welcome! Feel free to improve current scripts or add new ones.
By submitting a PR, you agree to license your work under the GNU Lesser General Public License v3.0.