Skip to content

Commit

Permalink
[CI] Just requests translations in the cron job. (#11420)
Browse files Browse the repository at this point in the history
Execute the loc step + the creation of a PR only in the cron job and
skipt it in anyother build.
  • Loading branch information
mandel-macaque authored May 3, 2021
1 parent 19482a7 commit b720b44
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions tools/devops/automation/templates/build/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,21 +127,22 @@ steps:
continueOnError: true
workingDirectory: $(Build.SourcesDirectory)\tools\devops

- task: OneLocBuild@2
condition: and(succeeded(), eq(variables.isMain, 'True'))
continueOnError: true
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
locProj: '$(Build.SourcesDirectory)\Localize\LocProject.json'
outDir: '$(Build.ArtifactStagingDirectory)'
isCreatePrSelected: false
isAutoCompletePrSelected: false
prSourceBranchPrefix: 'locfiles'
repoType: gitHub
gitHubPatVariable: '$(GitHub.Token)'
packageSourceAuth: patAuth
patVariable: '$(OneLocBuild--PAT)'
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
- task: OneLocBuild@2
condition: and(succeeded(), eq(variables.isMain, 'True'))
continueOnError: true
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
locProj: '$(Build.SourcesDirectory)\Localize\LocProject.json'
outDir: '$(Build.ArtifactStagingDirectory)'
isCreatePrSelected: true
isAutoCompletePrSelected: false
prSourceBranchPrefix: 'locfiles'
repoType: gitHub
gitHubPatVariable: '$(GitHub.Token)'
packageSourceAuth: patAuth
patVariable: '$(OneLocBuild--PAT)'

- task: PublishBuildArtifacts@1
condition: and(succeeded(), eq(variables.isMain, 'True'))
Expand Down

7 comments on commit b720b44

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ [CI Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

API Diff (from PR only) (no change)
Generator Diff (no change)

Packages generated

View packages

Test results

1 tests failed, 192 tests passed.

Failed tests

  • introspection/watchOS 32-bits - simulator/Debug (watchOS 5.0): Failed

Pipeline on Agent XAMBOT-1024'
[CI] Just requests translations in the cron job. (#11420)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests iOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[CI] Just requests translations in the cron job. (#11420)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests tvOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[CI] Just requests translations in the cron job. (#11420)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Tests failed on macOS Mac Catalina (10.15) ❌

Tests failed on Mac Catalina (10.15).

Failed tests are:

  • apitest
  • introspection

Pipeline on Agent
[CI] Just requests translations in the cron job. (#11420)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Tests failed on macOS Mac Mojave (10.14) ❌

Tests failed on Mac Mojave (10.14).

Failed tests are:

  • apitest
  • introspection
  • xammac_tests

Pipeline on Agent
[CI] Just requests translations in the cron job. (#11420)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Tests failed on macOS Mac High Sierra (10.13) ❌

Tests failed on Mac High Sierra (10.13).

Failed tests are:

  • apitest
  • introspection
  • xammac_tests

Pipeline on Agent
[CI] Just requests translations in the cron job. (#11420)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests iOS32b). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[CI] Just requests translations in the cron job. (#11420)

Please sign in to comment.