Skip to content

Commit

Permalink
create more variables and bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kelset committed Jan 24, 2022
1 parent 35c9630 commit cf5e998
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .ado/android-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- job: AndroidRNPR
displayName: Android React Native PR
pool:
vmImage: ubuntu-18.04
vmImage: $(VmImageUbuntu)
timeoutInMinutes: 90 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
steps:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

# In RN64 "clean" task tries to run the build again. It is reproing in 0.64-stable branch but fixed in 0.65-stable.
# I can't zero on the exact cause .. but turns out the issue is with rntester clean task.
#
#
# mganandraj@RNDroid:~/github/rnm-64$ ./gradlew :packages:rn-tester:android:app:clean --dry-run
# :packages:react-native-codegen:android:buildCodegenCLI SKIPPED
# :packages:rn-tester:android:app:generateCodegenSchemaFromJavaScript SKIPPED
Expand All @@ -97,4 +97,4 @@ jobs:
displayName: 'Publish final artifacts'
inputs:
PathtoPublish: '$(Build.StagingDirectory)/final'
ArtifactName: 'ReactNative-Final'
ArtifactName: 'ReactNative-Final'
4 changes: 2 additions & 2 deletions .ado/apple-integration.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Integrate $(Date:yyyyMMdd).$(Rev:.r)
variables:
- template: variables/mac.yml
- template: variables/vars.yml
trigger:
branches:
include:
Expand All @@ -23,7 +23,7 @@ jobs:
- job: react_native_test_app
displayName: react-native-test-app
pool:
vmImage: $(VmImage)
vmImage: $(VmImageApple)
demands: ['npm', 'sh', 'xcode']
workspace:
clean: all
Expand Down
8 changes: 4 additions & 4 deletions .ado/apple-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: $(Date:yyyyMMdd).$(Rev:.r)

variables:
- template: variables/mac.yml
- template: variables/vars.yml

trigger: none # will disable CI builds entirely

Expand All @@ -25,7 +25,7 @@ jobs:
public:
apply_office_patches: 'false'
pool:
vmImage: $(VmImage)
vmImage: $(VmImageApple)
demands: ['xcode', 'sh', 'npm']
steps:
- template: templates/apple-job-javascript.yml
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
xcode_actions_release: 'build'
apply_office_patches: 'true'
pool:
vmImage: $(VmImage)
vmImage: $(VmImageApple)
demands: ['xcode', 'sh', 'npm']
timeoutInMinutes: 60 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
Expand All @@ -96,7 +96,7 @@ jobs:
MacDebug:
configuration: Debug
pool:
vmImage: $(VmImage)
vmImage: $(VmImageApple)
demands: ['xcode', 'sh', 'npm']
steps:
- template: templates/react-native-macos-init.yml
Expand Down
12 changes: 6 additions & 6 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This file defines the build steps to publish a release
name: $(Date:yyyyMMdd).$(Rev:.r)

trigger:
trigger:
batch: true
branches:
include:
Expand All @@ -17,13 +17,13 @@ trigger:
pr: none

variables:
- template: variables/mac.yml
- template: variables/vars.yml

jobs:
- job: RNGithubNpmJSPublish
displayName: React-Native GitHub Publish to npmjs.org
pool:
vmImage: $(VmImage)
vmImage: $(VmImageApple)
timeoutInMinutes: 90 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
steps:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- job: RNMacOSInitNpmJSPublish
displayName: react-native-macos-init Publish to npmjs.org
pool:
vmImage: vs2017-win2016
vmImage: $(VmImageWindows)
timeoutInMinutes: 90 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
condition: eq(variables['Build.SourceBranchName'], 'main')
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
- job: RNGithubOfficePublish
displayName: React-Native GitHub Publish to Office
pool:
vmImage: ubuntu-18.04
vmImage: $(VmImageUbuntu)
timeoutInMinutes: 90 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
steps:
Expand Down Expand Up @@ -203,4 +203,4 @@ jobs:
displayName: 'Publish final artifacts'
inputs:
PathtoPublish: '$(Build.StagingDirectory)/final'
ArtifactName: 'ReactNative-Final'
ArtifactName: 'ReactNative-Final'
4 changes: 0 additions & 4 deletions .ado/variables/mac.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .ado/variables/vars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
variables:
VmImageApple: macOS-11
VmImageWindows: windows-2019
VmImageUbuntu: ubuntu-20.04
slice_name: 'Xcode_13_1'
xcode_version: '/Applications/Xcode_13.1.app'

0 comments on commit cf5e998

Please sign in to comment.