{"id":28120764,"url":"https://github.com/mobilitydata/gtfs-infrastructure","last_synced_at":"2026-01-24T12:09:11.518Z","repository":{"id":67320394,"uuid":"590152568","full_name":"MobilityData/gtfs-infrastructure","owner":"MobilityData","description":"Repo for MobilityData's infrastructure","archived":false,"fork":false,"pushed_at":"2024-06-26T17:06:47.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-08T10:13:03.032Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MobilityData.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-01-17T19:13:14.000Z","updated_at":"2023-04-19T16:22:27.000Z","dependencies_parsed_at":"2024-06-26T20:32:54.590Z","dependency_job_id":null,"html_url":"https://github.com/MobilityData/gtfs-infrastructure","commit_stats":{"total_commits":32,"total_committers":2,"mean_commits":16.0,"dds":0.4375,"last_synced_commit":"c4632109074e0ac097bd146b686f463719027f15"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobilityData%2Fgtfs-infrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobilityData%2Fgtfs-infrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobilityData%2Fgtfs-infrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobilityData%2Fgtfs-infrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MobilityData","download_url":"https://codeload.github.com/MobilityData/gtfs-infrastructure/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254096723,"owners_count":22014089,"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":"2025-05-14T07:41:42.701Z","updated_at":"2026-01-24T12:09:11.485Z","avatar_url":"https://github.com/MobilityData.png","language":"HCL","readme":"# GTFS Infrastructure\n\n## Quick Start\n\n### terraform\n\nRelevant paths include:\n\n- `domain/gtfs-infrastructure.tfvars`: manage infrastructure configuration (definitions)\n- `terraform/*`: manage infrastructure implementation\n\nTo test changes:\n\n```bash\nmake -C pipelines/iac ci\n```\n\nTo apply changes:\n\n```bash\nmake -C pipelines/iac cd\n```\n\nRe-init terraform (required when, e.g., new or renamed module, new provider, etc):\n\n```bash\nrm -r terraform/.terraform\nmake -C pipelines/iac ci\n```\n\n## One-Time Setup\n\nThese steps must be performed once at creation time of the project\n\n### terraform\n\n1. Create a bucket for terraform state\n\n  ```bash\n  gcloud storage buckets create gs://gtfs-infrastructure-tfstate\n  ```\n\n### github actions\n\n1. Create a service account\n\n  ```bash\n  gcloud iam service-accounts create github-actions \\\n    --display-name=\"GitHub Actions Runner\"\n  ```\n\n2. Grant the account privileges to manage the project\n\n  ```bash\n  gcloud projects add-iam-policy-binding web-based-gtfs-validator \\\n    --member=serviceAccount:github-actions@web-based-gtfs-validator.iam.gserviceaccount.com \\\n    --role=roles/owner\n  ```\n\n3. Provision a key for the service account\n\n  ```bash\n  gcloud iam service-accounts keys create .git/github-actions-sa.json \\\n    --iam-account=github-actions@web-based-gtfs-validator.iam.gserviceaccount.com\n  ```\n\n4. Upload the key to a GitHub Actions secret\n\n  ```bash\n  gh -R MobilityData/gtfs-infrastructure secret set GCP_SA_KEY \u003c .git/github-actions-sa.json\n  ```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobilitydata%2Fgtfs-infrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobilitydata%2Fgtfs-infrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobilitydata%2Fgtfs-infrastructure/lists"}