{"id":51408917,"url":"https://github.com/musictechlab/mtl-gcloud-utils","last_synced_at":"2026-07-04T13:02:21.072Z","repository":{"id":361204368,"uuid":"1075989427","full_name":"musictechlab/mtl-gcloud-utils","owner":"musictechlab","description":"Shell utilities for bulk-deleting Google Cloud projects with retries and logging.","archived":false,"fork":false,"pushed_at":"2026-05-29T15:30:15.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-29T17:05:40.015Z","etag":null,"topics":["devops","gcloud","google-cloud","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/musictechlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-14T08:57:11.000Z","updated_at":"2026-05-29T15:30:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/musictechlab/mtl-gcloud-utils","commit_stats":null,"previous_names":["musictechlab/mtl-gcloud-utils"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/musictechlab/mtl-gcloud-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musictechlab%2Fmtl-gcloud-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musictechlab%2Fmtl-gcloud-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musictechlab%2Fmtl-gcloud-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musictechlab%2Fmtl-gcloud-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/musictechlab","download_url":"https://codeload.github.com/musictechlab/mtl-gcloud-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musictechlab%2Fmtl-gcloud-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35122501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["devops","gcloud","google-cloud","shell"],"created_at":"2026-07-04T13:02:20.342Z","updated_at":"2026-07-04T13:02:21.065Z","avatar_url":"https://github.com/musictechlab.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cleanup.sh — Delete multiple GCP projects (and keep going)\n\n[![Built by MusicTech Lab](https://musictechlab.io/oss/build-by-musictechlab.io.svg)](https://musictechlab.io)\n\nThis script deletes a list of Google Cloud projects and **continues on errors**.  \nIt retries transient failures with exponential backoff and logs results to files.\n\n## What it does\n\n- Iterates over a hardcoded `projects=(...)` list\n- Runs `gcloud projects delete \u003cPROJECT_ID\u003e --quiet`\n- Retries up to `$RETRIES` times with backoff `$BACKOFF_BASE`\n- Skips non-retriable errors (e.g., **PERMISSION_DENIED**, **NOT_FOUND**)\n- Writes:\n  - `deleted_projects.txt` — successfully deleted project IDs\n  - `failed_projects.txt` — failed/skipped IDs with error messages\n\n## Prerequisites\n\n- Google Cloud SDK (`gcloud`) installed and authenticated:\n  ```bash\n  gcloud auth login\n  gcloud auth list\n  ```\n\n## License\n\nMIT License — see [LICENSE](LICENSE) for details.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  MusicTech Lab - Rockstars Developers dedicated to the Music Industry\u003cbr\u003e\n  \u003ca href=\"https://musictechlab.io\"\u003eWebsite\u003c/a\u003e\n  \u003cspan\u003e | \u003c/span\u003e\n  \u003ca href=\"https://linkedin.com/company/musictechlab\"\u003eLinkedIn\u003c/a\u003e\n  \u003cspan\u003e | \u003c/span\u003e\n  \u003ca href=\"https://musictechlab.io/contact\"\u003eLet's talk\u003c/a\u003e\u003cbr\u003e\n  Crafted by \u003ca href=\"https://musictechlab.io\"\u003emusictechlab.io\u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusictechlab%2Fmtl-gcloud-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmusictechlab%2Fmtl-gcloud-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusictechlab%2Fmtl-gcloud-utils/lists"}