{"id":29035350,"url":"https://github.com/omatheusgit/health-check-devops","last_synced_at":"2025-06-26T12:08:17.401Z","repository":{"id":301289289,"uuid":"1008726238","full_name":"omatheusgit/health-check-devops","owner":"omatheusgit","description":"Desafio prático de DevOps com um health check automatizado em Python","archived":false,"fork":false,"pushed_at":"2025-06-26T04:35:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T05:27:35.373Z","etag":null,"topics":["automation","devops","github-actions","healthcheck","monitoring","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/omatheusgit.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}},"created_at":"2025-06-26T02:17:57.000Z","updated_at":"2025-06-26T04:35:27.000Z","dependencies_parsed_at":"2025-06-26T05:37:49.150Z","dependency_job_id":null,"html_url":"https://github.com/omatheusgit/health-check-devops","commit_stats":null,"previous_names":["omatheusgit/health-check-devops"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/omatheusgit/health-check-devops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omatheusgit%2Fhealth-check-devops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omatheusgit%2Fhealth-check-devops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omatheusgit%2Fhealth-check-devops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omatheusgit%2Fhealth-check-devops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omatheusgit","download_url":"https://codeload.github.com/omatheusgit/health-check-devops/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omatheusgit%2Fhealth-check-devops/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262063486,"owners_count":23252765,"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":["automation","devops","github-actions","healthcheck","monitoring","python"],"created_at":"2025-06-26T12:08:16.641Z","updated_at":"2025-06-26T12:08:17.384Z","avatar_url":"https://github.com/omatheusgit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Desafio DevOps Light: Health Check DevOps\n\nEste projeto foi criado para resolver um desafio de conhecimento e testar habilidades.\n\nA ideia é simples: utilizando Health Check Automático com Python e GitHub Actions, desenvolva uma automação cujo objetivo é:\n\n\u003e Criar um script em Python que verifica a saúde de serviços (HTTP) e que pode ser executado manualmente ou testado via GitHub Actions.\n\n---\n\n## Como usar\n\n1. Clone o repositório:\n\n```\ngit clone https://github.com/seu-usuario/health-check-devops.gitcd health-check-devops\n```\n\n2. Instale as dependências:\n\n```\npip install -r requirements.txt\n```\n\n3. Edite o arquivo `.env` e adicione suas URLs:\n\n```\nURLS=https://alura.com.br,https://github.com\n```\n\n4. Execute o script:\n\n```\npython check_health.py\n```\n\nO resultado será exibido no terminal e gravado no arquivo `log.txt`.\n\n---\n\n## GitHub Actions\n\nO projeto inclui um workflow (`.github/workflows/healthcheck.yml`) que pode ser executado manualmente via GitHub.\nExiste também uma linha comentada que permite configurar a execução automática (por exemplo, a cada 1 hora), caso deseje ativar no futuro.\n\n---\n\n## Observações\n\n- O arquivo `.env` está incluído de propósito, pois contém apenas URLs públicas.\n- O `log.txt` é gerado localmente. Você pode ignorá-lo no versionamento, se quiser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomatheusgit%2Fhealth-check-devops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomatheusgit%2Fhealth-check-devops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomatheusgit%2Fhealth-check-devops/lists"}