{"id":19736415,"url":"https://github.com/erda-project/erda-sourcecov","last_synced_at":"2025-10-27T20:38:12.933Z","repository":{"id":45865246,"uuid":"419638010","full_name":"erda-project/erda-sourcecov","owner":"erda-project","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-07T02:06:26.000Z","size":676,"stargazers_count":0,"open_issues_count":2,"forks_count":4,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-06-19T23:55:03.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erda-project.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":"2021-10-21T08:16:26.000Z","updated_at":"2021-11-04T11:44:48.000Z","dependencies_parsed_at":"2024-06-19T23:50:39.313Z","dependency_job_id":null,"html_url":"https://github.com/erda-project/erda-sourcecov","commit_stats":{"total_commits":17,"total_committers":6,"mean_commits":"2.8333333333333335","dds":0.5294117647058824,"last_synced_commit":"41077f7bde24b360808ad058110f9283caf6341f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erda-project%2Ferda-sourcecov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erda-project%2Ferda-sourcecov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erda-project%2Ferda-sourcecov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erda-project%2Ferda-sourcecov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erda-project","download_url":"https://codeload.github.com/erda-project/erda-sourcecov/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224197973,"owners_count":17271999,"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-11-12T01:07:05.734Z","updated_at":"2025-10-27T20:38:12.845Z","avatar_url":"https://github.com/erda-project.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sourcecov\n\nSourcecov is a Kubernetes operator to manage Sourcecov Agent which collected coverage data from application during e2e test.\nIt requires the following edit permissions in k8s:\n\n- role.authorization.k8s.io\n- rolebinding.rbac.authorization.k8s.io\n- serviceAccounts\n- pods\n- pods/exec\n- statefulset.apps\n\n\n### Generate manifests\n\n`make print-manifests`\n\n### Sample CR\nA sample cr:\n\n```yaml\napiVersion: sourcecov.erda.cloud/v1alpha1\nkind: Agent\nmetadata:\n  name: agent-sample\nspec:\n  image: nginx:stable\n  env:\n    - name: KEY\n      value: value\n  storageClassName: alicloud-disk-efficiency\n  storageSize: 20Gi\n  resources:\n    limits:\n      cpu: \"0.1\"\n      memory: \"256Mi\"\n    requests:\n      cpu: \"0.1\"\n      memory: \"256Mi\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferda-project%2Ferda-sourcecov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferda-project%2Ferda-sourcecov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferda-project%2Ferda-sourcecov/lists"}