Google Cloud Platform
INTEGRATION
Google Cloud Platform is a suite of cloud computing services that runs on the same infrastructure that
Google uses internally for its end-user products, such as Google Search, Gmail and YouTube.
Workflows
Do more with Google Cloud Platform. Relay helps you connect Google Cloud Platform with other tools to automate your DevOps workflows.
Workflow
Roll back a Kubernetes deployment from a FireHydrant incident runbook
When a production FireHydrant incident occurs, roll back a change.
Workflow
Delete GCP disks that are unattached
This workflow looks at all of the GCP disks in a given account and zone and terminates the ones that don't have any users.
Workflow
Delete GCP instances without valid `lifetime` tag
This workflow looks at all of the GCP instances in a given account and zone and selects a subset of those to terminate.
Steps
Steps are contained actions that execute things you want done.
Step
Cloud run deploy
Deploys a GCP cloud run service revision.
Step
Delete disk
Deletes a set of GCP disks.
Step
List disks
Lists the GCP disks under a project.
Step
Delete instances
Deletes a set of GCP compute instances.
Step
List instances
Lists the GCP compute instances under a project.
Step
Reset instances
Resets a set of GCP compute instances.
Step
Resume instances
Resumes a set of GCP compute instances using the beta API.
Step
Start instances
Starts a set of GCP compute instances.
Step
Stop instances
Stops a set of GCP compute instances.
Step
Suspend instances
Suspends a set of GCP compute instances using the Beta API
Step
Undo the rollout of a Kubernetes Deployment
Rolls back a failing Kubernetes deployment to its
previous state, using 'kubectl rollout undo'.
GCP integration
Integration with Google for Puppet Relay.
Steps
The following steps are available in this integration:
Name | Description |
---|---|
cloud-run-deploy | Deploy cloud run service revision |
instance-delete | Delete GCP instances |
instance-list | List GCP instances |
instance-start | Start GCP instances |
instance-stop | Stops GCP instances |
instance-suspend | Suspends GCP instances |
instance-reset | Resets GCP instances |
instance-resume | Resumes GCP instances |
disk-delete | Delete GCP disks |
disk-list | List GCP disks |
rollout-undo | Roll back a GKE Deployment on a cluster |
Contributing
Issues
Feel free to submit issues and enhancement requests.
Contributing
In general, we follow the "fork-and-pull" Git workflow.
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
Development
The python steps in this repository require Python 3.
pip3 install google-api-python-client
pip3 --no-cache-dir install relay_sdk
License
This project is licensed under Apache 2.0.