Skip to content
/ cli Public

Docker image with a set of tools preinstalled and useful scripts to help simplify CI/CD pipelines

License

Notifications You must be signed in to change notification settings

cubos/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cubos CLI

This repository contains a Docker image with a set of tools preinstalled and useful scripts to help simplify CI/CD pipelines.

Preinstalled tools

Additional scripts

  • cluster_from_env: Configure kubectl 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.

Example usage

  • GitLab CI:

    Deploy:
      stage: deploy
      image: cubos/cli
      only:
        - main
      script:
        - cluster_from_env CLUSTER_PRD
        - deploy

Contributing

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.

About

Docker image with a set of tools preinstalled and useful scripts to help simplify CI/CD pipelines

Resources

License

Stars

Watchers

Forks