TestProxy CI variable defaults to true (#20304)
* TestProxy - get rid of it * default: true
This commit is contained in:
Родитель
e65bec9674
Коммит
26a75099e8
|
@ -4,7 +4,7 @@ parameters:
|
|||
default: not-specified
|
||||
- name: TestProxy
|
||||
type: boolean
|
||||
default: false
|
||||
default: true
|
||||
- name: Artifacts
|
||||
type: object
|
||||
default: []
|
||||
|
|
|
@ -7,7 +7,7 @@ parameters:
|
|||
default: false
|
||||
- name: TestProxy
|
||||
type: boolean
|
||||
default: false
|
||||
default: true
|
||||
- name: ServiceDirectory
|
||||
type: string
|
||||
default: not-specified
|
||||
|
|
|
@ -10,7 +10,7 @@ parameters:
|
|||
default: not-specified
|
||||
- name: TestProxy
|
||||
type: boolean
|
||||
default: false
|
||||
default: true
|
||||
- name: IncludeRelease
|
||||
type: boolean
|
||||
default: true
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
parameters:
|
||||
Artifacts: []
|
||||
ServiceDirectory: not-specified
|
||||
TestProxy: false
|
||||
TestProxy: true
|
||||
|
||||
steps:
|
||||
- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml
|
||||
|
|
|
@ -24,7 +24,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: attestation
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-attestation
|
||||
safeName: azureattestation
|
||||
|
|
|
@ -35,7 +35,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: core
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-abort-controller
|
||||
safeName: azureabortcontroller
|
||||
|
|
|
@ -24,7 +24,6 @@ pr:
|
|||
extends:
|
||||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
TestProxy: true
|
||||
ServiceDirectory: deviceupdate
|
||||
IncludeRelease: true
|
||||
Artifacts:
|
||||
|
|
|
@ -24,7 +24,6 @@ pr:
|
|||
extends:
|
||||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
TestProxy: true
|
||||
ServiceDirectory: documenttranslator
|
||||
Artifacts:
|
||||
- name: azure-rest-ai-document-translator
|
||||
|
|
|
@ -24,7 +24,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: eventgrid
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-eventgrid
|
||||
safeName: azureeventgrid
|
||||
|
|
|
@ -25,7 +25,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: formrecognizer
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-ai-form-recognizer
|
||||
safeName: azureaiformrecognizer
|
||||
|
|
|
@ -25,7 +25,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: identity
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-identity
|
||||
safeName: azureidentity
|
||||
|
|
|
@ -27,7 +27,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: remoterendering
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-mixed-reality-remote-rendering
|
||||
safeName: azuremixedrealityremoterendering
|
||||
|
|
|
@ -25,7 +25,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: schemaregistry
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-schema-registry
|
||||
safeName: azureschemaregistry
|
||||
|
|
|
@ -24,7 +24,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: search
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-search-documents
|
||||
safeName: azuresearchdocuments
|
||||
|
|
|
@ -24,7 +24,6 @@ pr:
|
|||
extends:
|
||||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
TestProxy: true
|
||||
ServiceDirectory: synapse
|
||||
Artifacts:
|
||||
- name: azure-synapse-access-control
|
||||
|
|
|
@ -28,7 +28,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: tables
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-data-tables
|
||||
safeName: azuretables
|
||||
|
|
|
@ -25,7 +25,6 @@ extends:
|
|||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
ServiceDirectory: template
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-template
|
||||
safeName: azuretemplate
|
||||
|
|
|
@ -26,7 +26,6 @@ extends:
|
|||
parameters:
|
||||
ServiceDirectory: test-utils
|
||||
IncludeRelease: false
|
||||
TestProxy: true
|
||||
Artifacts:
|
||||
- name: azure-tools-test-recorder
|
||||
safeName: azuretoolstestrecorder
|
||||
|
|
|
@ -302,19 +302,6 @@ Remove the following "devDependencies" from `package.json`
|
|||
"karma-json-to-file-reporter": "^1.0.1",
|
||||
```
|
||||
|
||||
## Changes to `ci.yml`
|
||||
|
||||
You must set the `TestProxy` parameter to `true` to enable the test proxy server in your SDK's `ci.yml` file.
|
||||
|
||||
```yaml
|
||||
# irrelevant sections of ci.yml omitted
|
||||
|
||||
extends:
|
||||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
||||
parameters:
|
||||
TestProxy: true # Add me!
|
||||
```
|
||||
|
||||
## Migrating your recordings
|
||||
|
||||
Once you have made the necessary code changes, it is time to re-record your tests using the Unified Recorder to complete the migration. To do this, first **delete** the directory containing the old recordings (the `recordings` folder). Then, run your tests with the `TEST_MODE` environment variable to `record`.
|
||||
|
|
Загрузка…
Ссылка в новой задаче