zowe / zowe-install-packaging

Packaging repository for the Zowe install scripts and files
Eclipse Public License 2.0
26 stars 52 forks source link

Validate appfw plugins schema during component install #3866

Closed 1000TurquoisePogs closed 3 days ago

1000TurquoisePogs commented 2 weeks ago

Resolves https://github.com/zowe/zowe-install-packaging/issues/3863 by simply checking for appfwPlugin entries in a component manifest and then running a loop of getPluginDefinition() during the install extract step (called during both install and upgrade) but not caring about the output - it either passes or quits in error if schema is invalid.

I put this in a spot of the code where the component directory is still a temp dir - not yet resolved so that if a failure occurs then the folder can be removed.

github-actions[bot] commented 2 weeks ago

build 5443 SUCCEEDED. Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/9514900088

github-actions[bot] commented 2 weeks ago

Test workflow 4761 is started. Running install test: Convenience Pax The zowe artifact being used by this test workflow: libs-snapshot-local/org/zowe/2.16.0-PR-3866/zowe-2.16.0-pr-3866-5443-20240614105731.pax Running on machine: zzow06 Result: SUCCESS Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/9514987918

github-actions[bot] commented 4 days ago

build 5486 SUCCEEDED. Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/9647111923

github-actions[bot] commented 4 days ago

Test workflow 4826 is started. Running install test: Convenience Pax The zowe artifact being used by this test workflow: libs-snapshot-local/org/zowe/2.16.0-PR-3866/zowe-2.16.0-pr-3866-5486-20240624142926.pax Running on machine: zzow06 Result: SUCCESS Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/9647217396

github-actions[bot] commented 4 days ago

build 5490 SUCCEEDED. Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/9662961092

github-actions[bot] commented 4 days ago

Test workflow 4832 is started. Running install test: Convenience Pax The zowe artifact being used by this test workflow: libs-snapshot-local/org/zowe/2.16.0-PR-3866/zowe-2.16.0-pr-3866-5490-20240625130802.pax Running on machine: zzow07 Result: SUCCESS Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/9663066600