Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.07 KB

HOWTO.md

File metadata and controls

23 lines (17 loc) · 1.07 KB

How to run the peribolos

The peribolos source code is located at https://github.com/kubernetes/test-infra/tree/master/prow/cmd/peribolos

The peribolos binary can be run in the official peribolos container image at gcr.io/k8s-prow/peribolos

Peribolos workflow commands

  • Initial seed of the GitHub origanization
$ peribolos --dump-full --dump ${GITHUB_ORGANIZATION} --github-token-path ${GITHUB_ACCESS_TOKEN_FILENAME} | tee ${PERIBOLOS_GITHUB_ORG_CONFIG_FILE}
  • Dry run to see what would change if you synchronized the organization to the yaml file
$ peribolos --github-token-path ${GITHUB_ACCESS_TOKEN_FILENAME} --config-path ${PERIBOLOS_GITHUB_ORG_CONFIG_FILE}
  • Run peribolos AND commit the changes to GitHub
# --confirm is required to for any command to commit the changes to the github organization
$ peribolos --github-token-path ${GITHUB_ACCESS_TOKEN_FILENAME} --config-path ${PERIBOLOS_GITHUB_ORG_CONFIG_FILE}  --fix-org --fix-org-members --fix-teams --fix-team-members --fix-team-repos --fix-repos --confirm