Skip to content

Commit

Permalink
Correct pipeline conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
twometresteve committed Apr 28, 2021
1 parent 383494b commit 1799f90
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ steps:
# Publish/package notifier
#
- label: ':docker: Prepare package.json'
if: build.env("RN_INTEGRATION") != null
if: build.env("RN_INTEGRATION") != "true"
key: 'package-js'
timeout_in_minutes: 3
plugins:
Expand All @@ -50,7 +50,7 @@ steps:
# Trigger individual pipelines
#
- label: 'Trigger Browser pipeline'
if: build.env("RN_INTEGRATION") == null
if: build.env("RN_INTEGRATION") != "true"
depends_on: 'package-js'
trigger: 'bugsnag-js-browser'
build:
Expand All @@ -60,7 +60,7 @@ steps:
async: true

- label: 'Trigger Node pipeline'
if: build.env("RN_INTEGRATION") == null
if: build.env("RN_INTEGRATION") != "true"
depends_on: 'package-js'
trigger: 'bugsnag-js-node'
build:
Expand All @@ -70,7 +70,7 @@ steps:
async: true

- label: 'Trigger Expo pipeline'
if: build.env("RN_INTEGRATION") == null
if: build.env("RN_INTEGRATION") != "true"
depends_on: 'publish-js'
trigger: 'bugsnag-js-expo'
build:
Expand All @@ -91,7 +91,7 @@ steps:
async: true

- label: 'Trigger React Native CLI pipeline'
if: build.env("RN_INTEGRATION") == null
if: build.env("RN_INTEGRATION") != "true"
depends_on:
- 'publish-js'
- 'android-builder-base'
Expand All @@ -103,7 +103,7 @@ steps:
async: true

- label: ':aws-lambda: AWS Lambda tests'
if: build.env("RN_INTEGRATION") == null
if: build.env("RN_INTEGRATION") != "true"
timeout_in_minutes: 35
agents:
queue: 'opensource-mac-aws-sam'
Expand All @@ -119,7 +119,7 @@ steps:
# Core tests and checks
#
- label: ':docker: Build CI image'
if: build.env("RN_INTEGRATION") == null
if: build.env("RN_INTEGRATION") != "true"
key: 'ci-image'
depends_on: 'package-js'
timeout_in_minutes: 20
Expand All @@ -139,7 +139,7 @@ steps:
- ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base

- label: 'Lint'
if: build.env("RN_INTEGRATION") == null
if: build.env("RN_INTEGRATION") != "true"
depends_on: 'ci-image'
timeout_in_minutes: 10
plugins:
Expand All @@ -148,7 +148,7 @@ steps:
command: 'npm run test:lint'

- label: 'Unit tests'
if: build.env("RN_INTEGRATION") == null
if: build.env("RN_INTEGRATION") != "true"
depends_on: 'ci-image'
timeout_in_minutes: 10
plugins:
Expand All @@ -157,7 +157,7 @@ steps:
command: 'npm run test:unit'

- label: 'Type checks/tests'
if: build.env("RN_INTEGRATION") == null
if: build.env("RN_INTEGRATION") != "true"
depends_on: 'ci-image'
timeout_in_minutes: 10
plugins:
Expand Down

0 comments on commit 1799f90

Please sign in to comment.