Skip to content

Commit

Permalink
cherry-pick updated Circle config
Browse files Browse the repository at this point in the history
  • Loading branch information
nsakaimbo committed Nov 30, 2020
1 parent 3e2a6dc commit edb155d
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ jobs:
# Build all artifacts only when project config changes.
# Otherwise only build application executable required for end-to-end testing.
! git diff --name-only origin/master...HEAD | grep -E -q 'desktop/package.json|desktop/yarn.lock' && ELECTRON_BUILDER_ARGS='-c.mac.target=dir'
! git diff --name-only origin/trunk...HEAD | grep -E -q 'desktop/package.json|desktop/yarn.lock' && ELECTRON_BUILDER_ARGS='-c.mac.target=dir'
ELECTRON_BUILDER_ARGS=$ELECTRON_BUILDER_ARGS yarn run build-desktop:app
- run:
Expand Down Expand Up @@ -835,7 +835,7 @@ jobs:
# Build all artifacts only when project config changes.
# Otherwise only build application executable required for end-to-end testing.
! git diff --name-only origin/master...HEAD | grep -E -q 'desktop/package.json|desktop/yarn.lock' && ELECTRON_BUILDER_ARGS='-c.linux.target=dir'
! git diff --name-only origin/trunk...HEAD | grep -E -q 'desktop/package.json|desktop/yarn.lock' && ELECTRON_BUILDER_ARGS='-c.linux.target=dir'
ELECTRON_BUILDER_ARGS=$ELECTRON_BUILDER_ARGS yarn run build-desktop:app
- run:
Expand Down Expand Up @@ -918,7 +918,7 @@ jobs:
# Build all artifacts only when project config changes.
# Otherwise only build application executable required for end-to-end testing.
If ( -Not $(git diff --name-only origin/master...HEAD | Select-String -Pattern desktop/package.json,desktop/yarn.lock) ) { $env:ARG2='-c.win.target=dir' }
If ( -Not $(git diff --name-only origin/trunk...HEAD | Select-String -Pattern desktop/package.json,desktop/yarn.lock) ) { $env:ARG2='-c.win.target=dir' }
make -f desktop/Makefile package ELECTRON_BUILDER_ARGS=$($env:ARG1,$env:ARG2 -join " ")
Expand Down Expand Up @@ -989,7 +989,7 @@ workflows:
- prime-calypso-live:
filters:
branches:
ignore: master
ignore: trunk
- build-notifications:
requires:
- setup
Expand Down Expand Up @@ -1063,8 +1063,8 @@ workflows:
filters:
branches:
ignore:
# Do not spin up calypso.live for `master`
- master
# Do not spin up calypso.live for `trunk`
- trunk
# Do not spin up calypso.live for fork pull requests. Calypso.live will not build them.
- /pull\/[0-9]+/
# - test-e2e-canary:
Expand Down Expand Up @@ -1156,7 +1156,7 @@ workflows:
filters:
branches:
only:
- master
- trunk

e2e-full-suite-scheduled:
jobs:
Expand All @@ -1169,7 +1169,7 @@ workflows:
cron: '0 3,15 * * *'
filters:
branches:
only: master
only: trunk

e2e-canary-scheduled:
jobs:
Expand All @@ -1193,23 +1193,23 @@ workflows:
cron: '0 12 * * *'
filters:
branches:
only: master
only: trunk

e2e-full-suite-edge-scheduled:
jobs:
- setup
- test-e2e-canary:
name: test-e2e-full-suite-edge
requires:
- setup
test-flags: '-g'
env-vars: 'SKIP_DOMAIN_TESTS=true GUTENBERG_EDGE=true'
- setup
- test-e2e-canary:
name: test-e2e-full-suite-edge
requires:
- setup
test-flags: '-g'
env-vars: 'SKIP_DOMAIN_TESTS=true GUTENBERG_EDGE=true'
triggers:
- schedule:
cron: '30 8 * * *'
filters:
branches:
only: master
- schedule:
cron: '30 8 * * *'
filters:
branches:
only: trunk

e2e-jetpack-be-scheduled:
jobs:
Expand All @@ -1227,7 +1227,7 @@ workflows:
cron: '0 7 * * *'
filters:
branches:
only: master
only: trunk

# Temporarily disabling these scheduled test runs
# e2e-jetpack-scheduled:
Expand All @@ -1246,7 +1246,7 @@ workflows:
# cron: "0 1,13 * * *"
# filters:
# branches:
# only: master
# only: trunk

e2e-canary-i18n-monthly:
jobs:
Expand All @@ -1259,13 +1259,13 @@ workflows:
test-flags: '-i'
filters:
branches:
only: master
only: trunk
triggers:
- schedule:
cron: '40 15 19 * *'
filters:
branches:
only: master
only: trunk

e2e-canary-i18n-nightly:
jobs:
Expand All @@ -1278,11 +1278,11 @@ workflows:
test-flags: '-I'
filters:
branches:
only: master
only: trunk
triggers:
- schedule:
cron: '46 4 * * *'
filters:
branches:
only: master
only: trunk
# vi: sts=2 ts=2 sw=2 et

0 comments on commit edb155d

Please sign in to comment.