{"id":42453928,"url":"https://github.com/mapswipe/uptime","last_synced_at":"2026-01-28T08:53:09.723Z","repository":{"id":332500331,"uuid":"1125090239","full_name":"mapswipe/uptime","owner":"mapswipe","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-21T06:14:35.000Z","size":20,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-21T17:34:17.176Z","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/mapswipe.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-30T06:05:06.000Z","updated_at":"2026-01-21T06:14:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mapswipe/uptime","commit_stats":null,"previous_names":["mapswipe/uptime"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mapswipe/uptime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapswipe%2Fuptime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapswipe%2Fuptime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapswipe%2Fuptime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapswipe%2Fuptime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapswipe","download_url":"https://codeload.github.com/mapswipe/uptime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapswipe%2Fuptime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28842943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-28T08:53:09.087Z","updated_at":"2026-01-28T08:53:09.715Z","avatar_url":"https://github.com/mapswipe.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MapSwipe Uptime\n\n## Creating Uptime Monitors\n- Use existing monitors from `terraform/monitors.tf` file as example\n- Edit as needed and save it\n\n### Example\nPlease follow this example\n```tf\n# MapSwipe Website\nmodule \"monitor_mapswipe_website\" {\n  source = \"./modules/http_monitor\"\n\n  name = \"MapSwipe Website - Prod\"\n  url  = \"https://mapswipe.org\"\n  tags = [\n    \"mapswipe\",\n    \"prod\",\n  ]\n  assigned_alert_contacts = [\n    uptimerobot_integration.mapswipe_uptime_alerts.id,\n  ]\n}\n```\n\n**Guidelines:**\n- Add a comment to separate out the application blocks\n- Rename module to match: `monitor_{platform}`\n- Update name and URL\n    - Name must end with `Prod` or `Staging`\n- Tags should include project and environment\n    - Make sure to use `prod` and `staging` to specify environments\n- `assigned_alert_contacts` must include:\n    - 1 Slack channel\n\n## CI Setup\n\n### Init (Service Account)\n\u003e [!CAUTION]\n\u003e Replace current gcloud auth with `Workload Identity Federation`\n\u003e https://github.com/mapswipe/uptime/issues/2\n\n\u003e [!NOTE]\n\u003e We used mapswipe production project id\n\nCreate service account (if not exists)\n```bash\ngcloud iam service-accounts create \"github-uptime-account\" --project \"project-id-not-number\"\n```\n\nCreate service account credential (if not exists)\n```bash\ngcloud iam service-accounts keys create \"key.json\" --iam-account \"github-uptime-account@project-id-not-number.iam.gserviceaccount.com\"\n```\n\u003e [!NOTE]\n\u003e Replace github action secrets `GOOGLE_CREDENTIALS` with the provided values from `key.json`\n\n\u003e [!CAUTION]\n\u003e Make sure to remove the file `key.json`\n\nProvide bucket access to the service account\n```bash\ngcloud storage buckets add-iam-policy-binding \\\n    gs://mapswipe-uptime-tf-prod \\\n    --member=\"github-uptime-account@project-id-not-number.iam.gserviceaccount.com\" \\\n    --role=\"roles/storage.objectAdmin\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapswipe%2Fuptime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapswipe%2Fuptime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapswipe%2Fuptime/lists"}