Enabled Linux UVM tests to run on 1ES github runner pool #2357
+136
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to the CI workflow configuration in
.github/workflows/ci.yml
.The purpose of the change is to enable the Linux UVM tests in the CI workflow. Similar to the Windows UVM tests, the Linux UVM tests will be run on the 1ES Github Runner pool which supports nested virtualization.
The changes introduce a new job to create Linux boot files, modify existing jobs to incorporate these files, and update environment variables.
CI Workflow Enhancements:
New Job for Linux Boot Files Creation:
create-linux-boot-files
job to handle the creation and preparation of Linux boot files. This job includes steps for authenticating with Azure, downloading LCOW artifacts from the dev feed, and creating new rootfs for subsequent testing of the Linux GCS.Environment Variables:
LCOW_ARTIFACT_PROJECT
,LCOW_ARTIFACT_FEED
,LCOW_ARTIFACT_NAME
,LCOW_ARTIFACT_VERSION
,LINUX_BOOT_FILES_PATH
) to support the new job and its steps.Job Dependencies:
test-windows
job to depend on the newcreate-linux-boot-files
job to ensure the necessary Linux boot files are available for testing.Linux Boot Files Integration:
test-windows
job to create a directory for Linux boot files, download the boot files from the artifact, and extract them for use in tests.Test Command Update:
test-windows
job to include the path to the Linux boot files, ensuring that the tests utilize the newly created files.