{"id":21452261,"url":"https://github.com/packit/validation","last_synced_at":"2025-10-13T17:02:08.295Z","repository":{"id":198475881,"uuid":"692720849","full_name":"packit/validation","owner":"packit","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-14T20:17:46.000Z","size":66,"stargazers_count":0,"open_issues_count":4,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-15T00:55:08.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/packit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2023-09-17T11:31:55.000Z","updated_at":"2025-01-23T22:11:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"21eaeba7-386c-462d-97b5-82b46fb87a78","html_url":"https://github.com/packit/validation","commit_stats":null,"previous_names":["packit/validation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/packit/validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/packit%2Fvalidation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/packit%2Fvalidation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/packit%2Fvalidation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/packit%2Fvalidation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/packit","download_url":"https://codeload.github.com/packit/validation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/packit%2Fvalidation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267978096,"owners_count":24175248,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"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":[],"created_at":"2024-11-23T04:28:32.787Z","updated_at":"2025-10-13T17:02:08.206Z","avatar_url":"https://github.com/packit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Packit Service validation\n\nFor the validation of the Packit Service we run a validation script every night.\n\nThe script verifies that Copr builds and Testing farm runs are processed correctly for pull requests in `packit/hello-world` repo:\n\n- comment trigger (each PR with title beginning `Basic test case:` is taken\n  and commented with `/packit build`)\n- commit (push) trigger - PR with title `Basic test case - commit trigger` is taken and a new empty commit is pushed\n- opened PR trigger - new PR is created, the branch `test_case_opened_pr` is used as a source branch,\n  after running the test the PR is closed\n\n## Deployment\n\nThe image is build via a [GitHub workflow](.github/workflows/build-and-push-image.yaml)\nand pushed to a [Quay.io repository](https://quay.io/repository/packit/packit-service-validation).\n\nThere is a [Helm Chart](https://github.com/packit/helm/tree/main/helm-charts/packit-service-validation)\nand a CI/CD in [Gitlab repo](https://gitlab.cee.redhat.com/packit/validation-cronjob-script-deployment)\n(internal because PSI is also internal) which installs/upgrades the chart to the\n`cyborg` project in [PSI](https://ocp4.psi.redhat.com) on every push.\nYou just have to update the [image tag](https://quay.io/repository/packit/packit-service-validation?tab=tags)\nin [production.yaml](https://gitlab.cee.redhat.com/packit/validation-cronjob-script-deployment/-/blob/main/production.yaml)\nand/or [staging.yaml](https://gitlab.cee.redhat.com/packit/validation-cronjob-script-deployment/-/blob/main/staging.yaml).\n\n## Running manually\n\nIf you want to run the script on your own:\n\n- Set a `GITHUB_TOKEN` environment variable holding a [personal access\n  token](https://github.com/settings/tokens) with _public_repo_ scope.\n- Set a `GITLAB_TOKEN` environment variable holding a [personal access\n  token](https://gitlab.com/-/profile/personal_access_tokens) with _api_ scope.\n- Optionally, set a `SENTRY_SECRET` environment variable if you want to send\n  the validation failures to Sentry.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpackit%2Fvalidation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpackit%2Fvalidation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpackit%2Fvalidation/lists"}