{"id":15221981,"url":"https://github.com/googlecloudplatform/cloud-deploy-chatbot","last_synced_at":"2025-07-17T14:36:49.898Z","repository":{"id":57652024,"uuid":"425644385","full_name":"GoogleCloudPlatform/cloud-deploy-chatbot","owner":"GoogleCloudPlatform","description":"Push Google Cloud Deploy notifications to Slack or Google Chat!","archived":false,"fork":false,"pushed_at":"2024-05-04T11:57:15.000Z","size":115,"stargazers_count":14,"open_issues_count":1,"forks_count":6,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-04-19T22:18:09.309Z","etag":null,"topics":["chatops","gcp","gcp-cloud-deploy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleCloudPlatform.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-07T23:50:41.000Z","updated_at":"2025-03-08T01:01:39.000Z","dependencies_parsed_at":"2025-02-05T04:41:55.947Z","dependency_job_id":null,"html_url":"https://github.com/GoogleCloudPlatform/cloud-deploy-chatbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GoogleCloudPlatform/cloud-deploy-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-deploy-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-deploy-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-deploy-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-deploy-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleCloudPlatform","download_url":"https://codeload.github.com/GoogleCloudPlatform/cloud-deploy-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-deploy-chatbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265617476,"owners_count":23799058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatops","gcp","gcp-cloud-deploy"],"created_at":"2024-09-28T15:09:32.028Z","updated_at":"2025-07-17T14:36:49.892Z","avatar_url":"https://github.com/GoogleCloudPlatform.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Cloud Deploy Bot\n### Push Google Cloud Deploy notifications to Slack or Google Chat! \n\nThis repo is indended as an example, and as a first step, to adding [Google Cloud Deploy](https://cloud.google.com/deploy) to your _ChatOps_ suite of integrations. \n\n## Examples\n\n![google chat example](deploybot_gchat.png)\n![slack example](deploybot_slack.png)\n\n## Instructions\n\n1. Have a [Google Cloud Deploy](https://cloud.google.com/deploy) pipeline set up.\n2. Create a Google Cloud Function, defining:\n    1. Entry point is `CloudFuncPubSubCDOps`.\n    2. Environment value `TOKEN` = Slack's bot token or Google Chat Service Account Key JSON data (1).\n    3. Environment value `CHANNEL` = Slack's channel id or Google Chat space id.\n    4. Environment value `CHATAPP` = values can be `slack` or `google`. \n\n3. Subscribe to the [clouddeploy-operations](https://cloud.google.com/deploy/docs/subscribe-deploy-notifications) topic on Google Pub/Sub and use the Cloud Function above as a trigger.\n\n---\n\n**Notes**\n\n(1) If you are minimising the Service Account's JSON data be careful about removing all blank spaces as it might break the private key.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fcloud-deploy-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglecloudplatform%2Fcloud-deploy-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fcloud-deploy-chatbot/lists"}