-
Notifications
You must be signed in to change notification settings - Fork 7
Feat: Add metadata validation workflow and scripts #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Feat: Add metadata validation workflow and scripts #6
Conversation
8115f83 to
52131e5
Compare
c287ac8 to
0efbdc2
Compare
8e3044d to
f881126
Compare
scripts/validate_metadata/test_data/directories_metadata/valid/metadata.yaml
Show resolved
Hide resolved
f881126 to
f9a3377
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
20e5f23 to
73d353e
Compare
307b1f1 to
2dc5b12
Compare
...pts/validate_metadata/test_data/component_directories_metadata/component_valid/metadata.yaml
Outdated
Show resolved
Hide resolved
2355365 to
c171861
Compare
| for item in $NEW_ITEMS_ARRAY; do | ||
| FILE_PATH="$GITHUB_WORKSPACE/$item" | ||
| echo "Processing item: $item" | ||
| python "${{ env.VALIDATION_SCRIPT_PATH }}" --item $FILE_PATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| python "${{ env.VALIDATION_SCRIPT_PATH }}" --item $FILE_PATH | |
| python "${{ env.VALIDATION_SCRIPT_PATH }}" --component $FILE_PATH |
I see that the validate_metadata.py script accepts --component flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated this argument to --dir
Signed-off-by: alyssacgoins <[email protected]>
c171861 to
c36c399
Compare
|
The following users are mentioned in OWNERS file(s) but are untrusted for the following reasons. One way to make the user trusted is to add them as members of the kubeflow org. You can then trigger verification by writing
|
Add script
validate_metadata.pyto the scripts directory. Validates metadata schema with the formatting below, and includes a Github Actions workflow.