Skip to content

Commit

Permalink
Add nightly build (#28066)
Browse files Browse the repository at this point in the history
Summary:
Note: I'm currently testing this, so do not review just yet.

Adding a nightly CI build in preparation for further work on [React Native: Benchmark Suite](react-native-community/discussions-and-proposals#186.)

Currently it will only run the job `nightly_job` which will simply run `$ echo "Nightly build run"`. The plan is to do nightly checks and performance status on the React Native repo, and create a dashboard where we can see performance changes over time. More on this in the proposal: [React Native: Benchmark Suite](react-native-community/discussions-and-proposals#186.)

## Changelog

[General] [Added] - Add nightly CI build
Pull Request resolved: #28066

Test Plan: Individual jobs will have their own test plan.

Reviewed By: sebmck

Differential Revision: D20008434

Pulled By: hramos

fbshipit-source-id: a5e8aad616c28bfad8f3455b5ebadf7a7d174a55
  • Loading branch information
sweggersen authored and facebook-github-bot committed Feb 27, 2020
1 parent 5be8669 commit 7d2daa0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -617,10 +617,23 @@ jobs:
echo "machine github.com login react-native-bot password $GITHUB_TOKEN" > ~/.netrc
- run: node ./scripts/publish-npm.js

# -------------------------
# JOBS: Nightly
# -------------------------
nightly_job:
machine: true
steps:
- run:
name: Nightly
command: |
echo "Nightly build run"
# -------------------------
# WORK FLOWS
# -------------------------
workflows:
version: 2

tests:
jobs:
- setup:
Expand Down Expand Up @@ -722,3 +735,14 @@ workflows:
- js_coverage:
requires:
- setup

nightly:
triggers:
- schedule:
cron: "0 * * * *"
filters:
branches:
only:
- master
jobs:
- nightly_job

0 comments on commit 7d2daa0

Please sign in to comment.