{"id":16849896,"url":"https://github.com/rustyx/google-cloud-build-notifier","last_synced_at":"2025-03-18T08:10:43.190Z","repository":{"id":41998941,"uuid":"223152520","full_name":"rustyx/google-cloud-build-notifier","owner":"rustyx","description":"(A better) Google Cloud Build GitHub notifier","archived":false,"fork":false,"pushed_at":"2024-01-09T08:39:03.000Z","size":248,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T14:38:54.134Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rustyx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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":"2019-11-21T10:51:51.000Z","updated_at":"2024-02-06T15:35:06.000Z","dependencies_parsed_at":"2024-01-09T09:41:10.618Z","dependency_job_id":"bee18632-a3a8-4eb0-9d42-fed2213ccd29","html_url":"https://github.com/rustyx/google-cloud-build-notifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustyx%2Fgoogle-cloud-build-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustyx%2Fgoogle-cloud-build-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustyx%2Fgoogle-cloud-build-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustyx%2Fgoogle-cloud-build-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustyx","download_url":"https://codeload.github.com/rustyx/google-cloud-build-notifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244181419,"owners_count":20411603,"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":[],"created_at":"2024-10-13T13:17:51.104Z","updated_at":"2025-03-18T08:10:43.162Z","avatar_url":"https://github.com/rustyx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Cloud Build GitHub notifier\n\nThis is a simple Google Cloud Function that notifies GitHub of Cloud Build outcomes.\n\nIt is useful as an alternative for the official Google Cloud Build app, as it does not attempt to manage Google Cloud builds and instead relies on *existing* Google Cloud builds, so that their full potential, such as custom triggering, can be exploited.\n\n## Installation\n\n  1. Go to your **GitHub Organization Settings** -\u003e Developer Options -\u003e GitHub Apps\n  2. Create a new **GitHub App**:\n     * Name: `Google Cloud Build`\n     * Homepage URL: `https://console.cloud.google.com/cloud-build/builds`\n     * User authorization callback URL: `https://console.cloud.google.com/cloud-build/builds`\n     * Webhook URL: `https://europe-west1-au-prod.cloudfunctions.net/gh-webhook`\n     * Permissions: **Checks** - read \u0026 write, **Commit statuses** - read \u0026 write\n  3. Generate a new private key\n  4. Install the newly added GitHub App in your GitHub organization\n  5. Fill in `APP_ID` and `APP_PRIVATE_KEY` details in `index.js`\n  6. Go to **Google Cloud Console** -\u003e [Functions](https://console.cloud.google.com/functions)\n  7. Create a new Cloud Function:\n     * Trigger: Cloud Pub/Sub,\n     * Topic: cloud-builds,\n     * Runtime: Node 10,\n     * Copy/paste `index.js` and `package.json` contents into the relevant text fields,\n     * Function to execute: `handleEvent`,\n     * Advanced -\u003e select region (optional)\n\n## Known issues / limitations\n\n- The webhook URL is mandatory, but is not supported; the webhook URL mentioned above does nothing\n- The GitHub \"*re-run build*\" button does not work as there is no webhook support yet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustyx%2Fgoogle-cloud-build-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustyx%2Fgoogle-cloud-build-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustyx%2Fgoogle-cloud-build-notifier/lists"}