{"id":28344813,"url":"https://github.com/ouzi-dev/test-infra","last_synced_at":"2025-07-27T03:05:49.276Z","repository":{"id":35293274,"uuid":"204454499","full_name":"ouzi-dev/test-infra","owner":"ouzi-dev","description":"Test infrastructure ","archived":false,"fork":false,"pushed_at":"2024-05-28T17:22:58.000Z","size":437,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T10:39:53.844Z","etag":null,"topics":["infra","infrastructure","k8s","kubernetes","prow"],"latest_commit_sha":null,"homepage":"https://prow.test-infra.ouzi.io/","language":"Jsonnet","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/ouzi-dev.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}},"created_at":"2019-08-26T10:44:27.000Z","updated_at":"2024-05-28T17:23:01.000Z","dependencies_parsed_at":"2023-01-15T18:00:50.733Z","dependency_job_id":null,"html_url":"https://github.com/ouzi-dev/test-infra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ouzi-dev/test-infra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouzi-dev%2Ftest-infra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouzi-dev%2Ftest-infra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouzi-dev%2Ftest-infra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouzi-dev%2Ftest-infra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ouzi-dev","download_url":"https://codeload.github.com/ouzi-dev/test-infra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouzi-dev%2Ftest-infra/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267293753,"owners_count":24065320,"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-27T02:00:11.917Z","response_time":82,"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":["infra","infrastructure","k8s","kubernetes","prow"],"created_at":"2025-05-27T10:52:06.306Z","updated_at":"2025-07-27T03:05:49.270Z","avatar_url":"https://github.com/ouzi-dev.png","language":"Jsonnet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# test-infra\n\nThis repo contains all the configuration needed to run Prow](https://github.com/kubernetes/test-infra/tree/master/prow) for the ouzi-dev GitHub org. \n\n## Short summary\n\n- Enforce branch protection in all branches of all of our repos with some exclusions ( you can see them in the [config.yaml](prow/config.yaml) )\n- Automatically merge all PRs if they have been aproved by the OWNERS of the repo and all checks have passed\n- Trigger a config reload of Prow automatically if the PR has changed them\n- Ability to hold off a PR from being merged if an issue outside of checks is detected\n- Automatically assign a reviewer\n- Allow the ability re-run tests \n- Support WIP PRs by blocking merging if the PR is in draft mode or title starts with WIP:\n- Supports PR approvals by /approve \n- Supports /lgtm with automatic approval \n\nTo see the current running jobs, visit [Deck](https://prow.test-infra.ouzi.io/)\n\n## OWNERS\n\nThe [owners](OWNERS) file defines who are the approvers and reviewers for ouzi-dev repos. For more info, see the OWNERS docs at https://go.k8s.io/owners\n\n## Makefile\n\nThe [Makefile](Makefile) provides easy to run targets for creating the infrastructure and setting up Prow. \nWe list below the most useful targets\n\n- **infra-setup**: Setups all components needed to run the infrastracture \n- **infra-plan**: Executes terraform plan on the infrastructure\n- **infra-apply**: Executes terraform apply on the infrastructure\n- **deploy**: Bring up a cluster, install all components needed in the cluster including Prow and set everything up\n- **get-cluster-credentials**: Returns a kubeconfg with the required credentials to connect to the cluster. \n\n## Prow\n\nThe Prow folder contains all the resources necessary to get [Prow](https://github.com/kubernetes/test-infra/tree/master/prow) operational in a k8s cluster. We make some assumptions, that the cluster supports fully RBAC and that some secrets have been pre-seeded and also install various componenets that are not Prow specific necessarily. Please note that this is not meant to be reusable by others, this is just how we manage Prow.\n\nSee [prow/README.md](prow/README.md) for more details\n\n## Infrastructure\n\nThe infrastructure folder contains all the infrastucture we need to stand up in order to install and get Prow operations. \n\nSee [infrastructure/README.md](infrastructure/README.md) for more details\n\n## Test Prow Jobs\n\n* First you need to get [mkpj](https://github.com/kubernetes/test-infra/tree/master/prow/cmd/mkpj)\n* Write your new job and add it to [config/jobs](config/jobs)\n* Generate a github token an create a file with your new token (you can use the token used by Prow as well)\n* Generate the manifest for you job with a command like this (from the root path of the test-infra repo):\n```\n$ mkpj -github-token-path ./token -config-path prow/config.yaml -job-config-path ./config/jobs/my_org/my_repo/my_repo_jobs.yaml -job job_name \u003e prow_job_manifest.yaml\n```\n* Now you just need to apply that manifest in the Prow namespace:\n```\n$ kubectl apply -f prow_job_manifest.yaml -n prow\nprowjob.prow.k8s.io/377d3c1c-f0c1-11e9-959c-acde48001122 created\n```\n* You can check the logs for the job with:\n```\nkubectl logs -n prow-test-pods -f 377d3c1c-f0c1-11e9-959c-acde48001122 -c test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fouzi-dev%2Ftest-infra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fouzi-dev%2Ftest-infra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fouzi-dev%2Ftest-infra/lists"}