Skip to content

Commit

Permalink
Build TinyPilot Debian package and install bundle outside the main br…
Browse files Browse the repository at this point in the history
…anch (#1214)

This change adjusts filtering in CircleCI so that we build the TinyPilot
Debian package and install bundle even in non-main repo branches.

Uploading a bundle changes state on our update server, so we should only
do that in our main branch. But all the other steps are fine to run in
branches because it doesn't affect state outside of CI. It's often
useful to build packages or bundles in the branches if we want to test
something end-to-end.
  • Loading branch information
mtlynch authored Nov 30, 2022
1 parent 49a888f commit 15a6514
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,28 +209,21 @@ workflows:
- check_style
- build_python
- build_javascript
- build_debian_package:
filters:
branches:
only: master
- build_debian_package
- lint_debian_package:
requires:
- build_debian_package
- build_bundle:
requires:
- build_debian_package
filters:
branches:
only: master
- verify_bundle:
requires:
- build_bundle
filters:
branches:
only: master
- upload_bundle:
requires:
- verify_bundle
# Uploading a new bundle affects Gatekeeper's view of the latest
# bundle available, so we should only do this on master.
filters:
branches:
only: master

0 comments on commit 15a6514

Please sign in to comment.