- Have a running test cluster in order for
chart-verifier
to run checks - Have a Personal Access Token (PAT) that has write access to the sandbox repository: https://github.com/openshift-helm-charts/sandbox
- Your Github ID is under "approvers" list in "OWNERS" file on "main" branch of your fork in order to run tests (defined here: https://github.com/openshift-helm-charts/development/blob/main/scripts/src/workflowtesting/checkprforci.py#L52)
-
Set repository secrets in your fork. Use
openshift-helm-charts-bot
(https://github.com/openshift-helm-charts-bot) and its PAT for production but technically any PAT with write access to sandbox repository works.- BOT_NAME: ${GitHub ID}
- BOT_TOKEN: ${GitHub PAT}
-
Create a Pull Request (PR) with script modifications (as defined in https://github.com/openshift-helm-charts/development/blob/main/scripts/src/workflowtesting/checkprforci.py#L20) from test branch of your fork to main branch of your fork. An example zonggen/development#1.
-
Auto tests roll out and test result reported back to Test Workflow: https://github.com/zonggen/development/runs/3748236393?check_suite_focus=true#step:7:18
-
Same as previous section.
-
Same as previous section.
-
Go to your fork > Actions > Test Workflow > Run Workflow.
-
Fill in the information (Warning: set "Run tests but do not create issues {true,false}" to "true" almost always unless you want to notify the chart owners about the test result). Here's what I set for test run:
Run tests but do not create issues {true,false}: true Vendor type {all,partner,redhat,community}: redhat Software Name: chart-verifier Software Version: 1.2.0 (Optional) Issue notification {github id}: ""
-
Click "Run Workflow"
-
Manual tests roll out and test result reported back to Test Workflow: https://github.com/zonggen/development/runs/3748636019?check_suite_focus=true