-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[do not merge] update OSName to OSVmName #11393
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,49 +9,49 @@ parameters: | |
| BuildDocs: true | ||
| TestMatrix: | ||
| Linux_Python27: | ||
| OSName: 'Linux' | ||
| OSVmName: 'Linux' | ||
| OSVmImage: 'ubuntu-18.04' | ||
| PythonVersion: '2.7' | ||
| CoverageArg: '' | ||
| RunForPR: true | ||
| Linux_Python35: | ||
| OSName: 'Linux' | ||
| OSVmName: 'Linux' | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We are just removing this completely for all the matrix entries.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We use it when publishing the test run title, so I'm going to keep the parameter around (just renamed). I should just be able to remove the parameter being passed to the common yml yes?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It will be set within the script. So I think you don't need the variable at all, so long as the verify-agent-os script runs a s the first step. it is set here |
||
| OSVmImage: 'ubuntu-18.04' | ||
| PythonVersion: '3.5' | ||
| CoverageArg: '' | ||
| RunForPR: false | ||
| Linux_Python36: | ||
| OSName: 'Linux' | ||
| OSVmName: 'Linux' | ||
| OSVmImage: 'ubuntu-18.04' | ||
| PythonVersion: '3.6' | ||
| CoverageArg: '' | ||
| RunForPR: false | ||
| Linux_Python37: | ||
| OSName: 'Linux' | ||
| OSVmName: 'Linux' | ||
| OSVmImage: 'ubuntu-18.04' | ||
| PythonVersion: '3.7' | ||
| CoverageArg: '' | ||
| RunForPR: false | ||
| Linux_Python38: | ||
| OSName: 'Linux' | ||
| OSVmName: 'Linux' | ||
| OSVmImage: 'ubuntu-18.04' | ||
| PythonVersion: '3.8' | ||
| CoverageArg: '' | ||
| RunForPR: true | ||
| Windows_Python35: | ||
| OSName: 'Windows' | ||
| OSVmName: 'Windows' | ||
| OSVmImage: 'windows-2019' | ||
| PythonVersion: '3.5' | ||
| CoverageArg: '' | ||
| RunForPR: true | ||
| MacOS_Python27: | ||
| OSName: 'MacOS' | ||
| OSVmName: 'MacOS' | ||
| OSVmImage: 'macOS-10.15' | ||
| PythonVersion: '2.7' | ||
| CoverageArg: '' | ||
| RunForPR: false | ||
| Linux_pypy3: | ||
| OSName: 'Linux' | ||
| OSVmName: 'Linux' | ||
| OSVmImage: 'ubuntu-18.04' | ||
| PythonVersion: 'pypy3' | ||
| CoverageArg: '--disablecov' | ||
|
|
@@ -128,7 +128,7 @@ jobs: | |
| ServiceDirectory: ${{ parameters.ServiceDirectory }} | ||
| TestMarkArgument: ${{ parameters.TestMarkArgument }} | ||
| AdditionalTestArgs: '--wheel_dir="$(Build.ArtifactStagingDirectory)"' | ||
| OSName: $(OSName) | ||
| OSVmName: $(OSVmName) | ||
| CoverageArg: $(CoverageArg) | ||
| PythonVersion: $(PythonVersion) | ||
| BuildTargetingString: ${{ parameters.BuildTargetingString }} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,23 +14,23 @@ parameters: | |
| TestTimeoutInMinutes: 120 | ||
| Matrix: | ||
| Linux_Python35: | ||
| OSName: 'Linux' | ||
| OSVmName: 'Linux' | ||
| OSVmImage: 'ubuntu-18.04' | ||
| PythonVersion: '3.5' | ||
| MacOs_Python37: | ||
| OSName: 'MacOS' | ||
| OSVmName: 'MacOS' | ||
| OSVmImage: 'macOS-10.15' | ||
| PythonVersion: '3.7' | ||
| Windows_Python27: | ||
| OSName: 'Windows' | ||
| OSVmName: 'Windows' | ||
| OSVmImage: 'windows-2019' | ||
| PythonVersion: '2.7' | ||
| Linux_PyPy3: | ||
| OSName: 'Linux' | ||
| OSVmName: 'Linux' | ||
| OSVmImage: 'ubuntu-18.04' | ||
| PythonVersion: 'pypy3' | ||
| Linux_Python38: | ||
| OSName: 'Linux' | ||
| OSVmName: 'Linux' | ||
| OSVmImage: 'ubuntu-18.04' | ||
| PythonVersion: '3.8' | ||
|
|
||
|
|
@@ -78,7 +78,7 @@ jobs: | |
| BeforeTestSteps: ${{ parameters.BeforeTestSteps }} | ||
| AfterTestSteps: ${{ parameters.AfterTestSteps }} | ||
| PythonVersion: $(PythonVersion) | ||
| OSName: $(OSName) | ||
| OSVmName: $(OSVmName) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should just remove this parameter as its no longer required. |
||
| ToxTestEnv: "whl" | ||
| AdditionalTestArgs: ${{ parameters.AdditionalTestArgs }} | ||
| TestMarkArgument: ${{ parameters.TestMarkArgument }} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,5 +46,5 @@ jobs: | |
| condition: always() | ||
| inputs: | ||
| testResultsFiles: '**/junit/test-results.xml' | ||
| testRunTitle: '$(OSName) Python $(PythonVersion)' | ||
| testRunTitle: '$(OSVmName) Python $(PythonVersion)' | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should leave this as $(OSName) since it will be set by the verify-agent-os.yml script here |
||
| failTaskOnFailedTests: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ parameters: | |
| EnvVars: {} | ||
| ServiceDirectory: '' | ||
| PythonVersion: '' | ||
| OSName: '' | ||
| OSVmName: '' | ||
| BeforeTestSteps: [] | ||
| AfterTestSteps: [] | ||
| CoverageArg: '' | ||
|
|
@@ -25,7 +25,7 @@ steps: | |
|
|
||
| - template: eng/pipelines/templates/scripts/verify-agent-os.yml@azure-sdk-tools | ||
| parameters: | ||
| OSName: ${{ parameters.OSName }} | ||
| OSName: ${{ parameters.OSVmName }} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| - script: | | ||
| python -m pip install pip == 20.1 | ||
|
|
@@ -56,7 +56,7 @@ steps: | |
| condition: always() | ||
| inputs: | ||
| testResultsFiles: '**/*test*.xml' | ||
| testRunTitle: '${{ parameters.OSName }} Python ${{ parameters.PythonVersion }}' | ||
| testRunTitle: '${{ parameters.OSVmName }} Python ${{ parameters.PythonVersion }}' | ||
| failTaskOnFailedTests: true | ||
|
|
||
| - template: publish-coverage.yml | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,4 +5,3 @@ | |
| aiohttp>=3.0; python_version >= '3.5' | ||
| aiodns>=2.0; python_version >= '3.5' | ||
| msrest>=0.6.10 | ||
|
|
||
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.
Once we resolve Azure/azure-sdk-tools#610 (comment) we should be able to simply remove the OSName from all the matrix entries.