-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(api): Add infrastructure for a br2-external tree for buildroot #3217
Conversation
More information can be found in https://buildroot.org/downloads/manual/manual.html. This change doesn't alter the normal build infrastructure; it's only used when included by buildroot externally. This tooling provides definitions for our api server and a unit file to bring it up using systemd.
Codecov Report
@@ Coverage Diff @@
## edge #3217 +/- ##
==========================================
+ Coverage 53.13% 54.58% +1.44%
==========================================
Files 693 699 +6
Lines 20419 21602 +1183
==========================================
+ Hits 10850 11791 +941
- Misses 9569 9811 +242
Continue to review full report at Codecov.
|
Udev isn’t necessary on the new system.
@@ -0,0 +1,3 @@ | |||
# Makefile inclusions for buildroot integration | |||
include $(BR2_EXTERNAL_OPENTRONS_MONOREPO_PATH)/api/buildroot.mk | |||
# include $(BR2_EXTERNAL_OPENTRONS_MONOREPO_PATH)/update-server/buildroot.mk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment meant to be here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could delete it if you want, it's mostly a memory aid for when we add the update server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope you can keep it in if it's useful for relevant work later on.
This is ready for review. It only works in conjunction with Opentrons/buildroot#11, see that PR for more on testing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM pending testing of Opentrons/buildroot#11
- Adds a BR2_EXTERNAL tree from the monorepo (Opentrons/opentrons#3217) and pulls in the opentrons api server to the build. - Fixes some issues in systemd services and targets. Codebuild rewrites broken (and maybe non-broken) absolute links to fit inside its chroot jail, which was breaking the absolute links that aren’t supposed to be valid until they’re on the robot - Add a VERSIONS file taken from a combination of the buildroot version (from git) and opentrons api server versions (from package.json) and save to /etc/VERSIONS.json - VERSIONS.json is a new artifact and also zipped up with the full images and update images when uploaded to s3 Closes Opentrons/opentrons#2877
- Adds a BR2_EXTERNAL tree from the monorepo (Opentrons/opentrons#3217) and pulls in the opentrons api server to the build. - Fixes some issues in systemd services and targets. Codebuild rewrites broken (and maybe non-broken) absolute links to fit inside its chroot jail, which was breaking the absolute links that aren’t supposed to be valid until they’re on the robot - Add a VERSIONS file taken from a combination of the buildroot version (from git) and opentrons api server versions (from package.json) and save to /etc/VERSIONS.json - VERSIONS.json is a new artifact and also zipped up with the full images and update images when uploaded to s3 Closes Opentrons/opentrons#2877
- Adds a BR2_EXTERNAL tree from the monorepo (Opentrons/opentrons#3217) and pulls in the opentrons api server to the build. - Fixes some issues in systemd services and targets. Codebuild rewrites broken (and maybe non-broken) absolute links to fit inside its chroot jail, which was breaking the absolute links that aren’t supposed to be valid until they’re on the robot - Add a VERSIONS file taken from a combination of the buildroot version (from git) and opentrons api server versions (from package.json) and save to /etc/VERSIONS.json - VERSIONS.json is a new artifact and also zipped up with the full images and update images when uploaded to s3 Closes Opentrons/opentrons#2877
More information can be found in https://buildroot.org/downloads/manual/manual.html. This change doesn't alter the normal build infrastructure; it's only used when included by buildroot externally.
This tooling provides definitions for our api server and a unit file to bring it up using systemd.
Closes #2877