{"id":20551604,"url":"https://github.com/clarketm/pj","last_synced_at":"2026-05-13T12:38:03.339Z","repository":{"id":86955379,"uuid":"245741777","full_name":"clarketm/pj","owner":"clarketm","description":"Command line tool for working with ProwJobs (PJ)","archived":false,"fork":false,"pushed_at":"2021-01-07T12:39:24.000Z","size":78,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T13:06:25.547Z","etag":null,"topics":["cli","kubernetes","prow","prowjob"],"latest_commit_sha":null,"homepage":"","language":"Go","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/clarketm.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":"2020-03-08T02:53:58.000Z","updated_at":"2021-01-07T12:39:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf60f630-10c7-45fc-9a5f-ecba4883e1c1","html_url":"https://github.com/clarketm/pj","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/clarketm/pj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fpj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fpj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fpj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fpj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clarketm","download_url":"https://codeload.github.com/clarketm/pj/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fpj/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281171400,"owners_count":26455534,"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-10-26T02:00:06.575Z","response_time":61,"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":["cli","kubernetes","prow","prowjob"],"created_at":"2024-11-16T02:32:26.923Z","updated_at":"2025-10-26T20:48:03.259Z","avatar_url":"https://github.com/clarketm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pj\n\npj is a command line tool for managing ProwJobs (PJs).\n\n## Installing\n\nInstall using [gobin](https://github.com/myitcv/gobin):\n\n```shell\ngobin github.com/clarketm/pj\n```\n\n## Usage\n\n```shell\npj --help\n```\n\n```console\nProwJob job manager\n\nUsage:\n  pj [flags]\n  pj [command]\n\nAvailable Commands:\n  create      Create ProwJob yaml configuration\n  help        Help about any command\n\nFlags:\n      --config string   Config file (default is $HOME/.pj.yaml).\n  -h, --help            help for pj\n  -v, --verbose         Enable verbose output.\n      --version         Version number.\n\nUse \"pj [command] --help\" for more information about a command.\n```\n\n### Commands\n\n#### `create`\n\nCreate ProwJob yaml configuration.\n\n##### `-g, --global \u003cfile1,file2,...\u003e`\n\nGlobal configuration files containing *default* values inherited by all jobs.\n\n```yaml\n# All valid `metav1.ObjectMeta`, `corev1.Container`, and `corev1.PodSpec` fields are accepted.\nlabels: {app.kubernetes.io/part-of: prow}\nnamespace: test-pods\nresources: {requests: {cpu: 1}, limits: {cpu: 3}}\naliases: {istio: istio.io}\nclusterName: default\n\n# Requirements are a `map[string]Job` that a job can `require` as part of its definition. \nrequirements:\ngcp:\n  labels:\n    preset-service-account: \"true\"\nroot:\n  securityContext:\n    privileged: true\n```\n\n##### `-i, --input \u003cfile1,file2,...\u003e`\n\nJob configuration files with *optional* file-level *defaults*.\n\n```yaml\n# Local defaults inherited by all the below jobs.\nrepo: istio/istio\nnodeSelector: {testing: test-pool}\nclone_tmpl: \"https://github.com/{{.Org}}/{{.Repo}}.git\"\noutput_tmpl: \"{{.Org}}/{{.Repo}}/{{.Org}}.{{.Repo}}.gen\"\n\njobs:\n- name: job_1\n  types: [presubmit]\n  require: [gcp]  # a corresponding `requirements` item must exist.\n  labels: {app.kubernetes.io/version: 1.0.0}\n  branches: [master]\n  image: alpine:latest\n  command: [echo, test1]\n  extra_repos: [istio/test-infra@master]\n```\n\n##### `-o, --ouput \u003cdirectory\u003e`\n\nOutput directory to write jobs to. Subdirectory structure is determined by the `output_tmpl` field. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarketm%2Fpj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarketm%2Fpj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarketm%2Fpj/lists"}