onnxruntime
208b435b - NetworkIsolation for NPM. Remove some unused parameters from release pipelines. Set default RC to 1. (#32440)

Commit
49 days ago
NetworkIsolation for NPM. Remove some unused parameters from release pipelines. Set default RC to 1. (#32440) ### Description <!-- Describe your changes. --> This pull request introduces several improvements and cleanups to the JavaScript E2E image tensor tests and makes significant changes to the CI/CD pipeline YAMLs, especially around pre-release versioning and test data handling. The main highlights are the removal of external dependencies in tests by introducing local deterministic image generation, and the deprecation of `alpha` and `beta` pre-release suffixes in packaging pipelines. **JavaScript E2E Test Improvements** * Replaced the test's dependency on an external image URL with a localhost-served, deterministic JPEG image, improving test reliability and removing the need for an internet connection. Added a Python script (`generate_test_image.py`) to generate this image and updated the test server to serve JPEGs with the correct MIME type. [[1]](diffhunk://#diff-b56ba271c2def7fed0df0f8e1bddb32803dd12e9e2f3282f564f2a5b3226c2abL101-L124) [[2]](diffhunk://#diff-6869dbc2f855491c9b28d94c50a648998cbc8e3ebae3e7d8bb68211940d6f87aR1-R46) [[3]](diffhunk://#diff-5d62c97442cd54992738876dad4e385bee36328234147b2f30e1c9b36d28191dR20) [[4]](diffhunk://#diff-5d62c97442cd54992738876dad4e385bee36328234147b2f30e1c9b36d28191dR31-R32) [[5]](diffhunk://#diff-43047bf857b508a7aedf9bf94689a3def19d8f1fd830832993e860d7b90cd42eR112) [[6]](diffhunk://#diff-d8c5e0a22a7a10b344010591278b93ec32850c077d6368212eaffd157f229813L68-R68) **CI/CD Pipeline and Packaging Changes** * Deprecated the `alpha` and `beta` pre-release version suffixes across all packaging pipelines, leaving only `rc` and `none` as valid options. Updated the default pre-release version suffix number from `0` to `1` for consistency. [[1]](diffhunk://#diff-efb530efd945fdd9d3e1b92e53d25cc8db7df2e28071c364b07a7193092de01bL21-R28) [[2]](diffhunk://#diff-7864a3f73954d45856ee7e3a9b4bcbd3171abb960309c67e86a689725899cc26L23-R30) [[3]](diffhunk://#diff-e8165d7e42e45cba922542e9b68f08e640316824ad6cfb9c4a69a9f80c1aad90L15-R22) [[4]](diffhunk://#diff-1ea2287c32c5f81e475fa3c5caf4968fd3f9b494495f933031e3a210fc17b55dL21-R28) [[5]](diffhunk://#diff-3eeb962eed10a751e962e241b92bff1e418201ab208f1b1382cc25d49121312cL39-L40) [[6]](diffhunk://#diff-1cf6ebbe669ff6b94da7c92b2467ee26e67c5e6670324908be955895b40fab8cL44-L45) [[7]](diffhunk://#diff-1563bd294cadbce1bfc5888aab2c42a47e01ab857da3b6e12f7ee7b0e0af2e2cL11-L12) [[8]](diffhunk://#diff-cd919fe5205a23e0c186821353f9f9fab81783f218c0e782e12cc26d7a8b2ab7L9-L10) * Cleaned up and removed the now-obsolete QNN EP NuGet packaging pipeline YAML. * Removed the main release pipeline YAML (`main-release-pipeline.yml`) as part of pipeline cleanup. **Pipeline Infrastructure Updates** * Updated network isolation policy and other settings in several pipeline YAMLs for improved security and compliance. [[1]](diffhunk://#diff-1ea2287c32c5f81e475fa3c5caf4968fd3f9b494495f933031e3a210fc17b55dL90-R88) [[2]](diffhunk://#diff-c61b589c42026aaef04eb209361a3c628585825db0e8b6306abb101ac24833b0L52-R53) **Test Documentation** * Updated test documentation to remove references to external image URLs, reflecting the new local test data approach. ### Motivation and Context Multiple changes are present. Changes to the release pipelines is removal of dead code that got swept into the primary change. The primary change is to enable network isolation for our security posture. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Author
Parents
Loading