-
Notifications
You must be signed in to change notification settings - Fork 161
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
Automated build and merging forks #144
Comments
Great work Jeremy. I agree we should do the same thing for the OpenEVSE
firmware.
…On Tue, Nov 9, 2021, 4:46 PM Jeremy Poulter ***@***.***> wrote:
For the WiFi module project we now have GitHub actions setup to build
<https://github.com/OpenEVSE/ESP32_WiFi_V4.x/actions>
and create the firmware releases
<https://github.com/OpenEVSE/ESP32_WiFi_V4.x/releases/tag/latest>.
Using GitHub actions makes the release process a lot more robust and
repeatable and ensures that the firmware can be built from the source
committed to Git.
I would like to setup something similar for the EVSE firmware where we
merge all the changes in the OpenEVSE and OpenEnergyMonitor forks back into
this repo and then use the PlatformIO envs (via a GitHub Action) to build
all of the different configs required as well as generate a pre-release
with the built binaries. This can then be manually tested (hopefully we can
automate this at some stage) and promoted to a full release when ready.
@lincomatic <https://github.com/lincomatic> / @chris1howell
<https://github.com/chris1howell> / @glynhudson
<https://github.com/glynhudson> what do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#144>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN5QHZWCOYLNLNKGSF4K6LULGJB5ANCNFSM5HWLCYZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Sounds like a great idea, but I don't see how this is possible given the brittle nature of Arduino. I am going to stick w/ the UL approved build environment/compiler/library rev. I actually tried building w/ PlatformIO last year, and as I predicted some strange behavior popped up, due to PlatformIO not having an identical toolchain/Arduino library rev available. |
I will have to check again but I think I got it building with the identical compilers as specified, the main reason to use Platform IO it has a lot more support for building different configs. That being said, Arduino has improved a lot in the CLI front so may be worth revisiting building using that directly. @chris1howell is doing another round of UL certification so does this give us an opportunity to update the toolchain? Fair-enough about the using the OpenEVSE repo for this work, @glynhudson is that ok with you? |
Alternatively, we could use different branches, maybe move the release code to the stable branch, and could rename the current development branch to something else. |
Let me put together a PR and we can work out where to put it later, not a big deal to change repos/branches |
Also @lincomatic / @chris1howell can you clarify the relationship between UL certification and the compiler/build env as this request is ultimately to support that (creates a defined/audited build/release process) |
The first UL certification owned by Wattzilla and used the Arduino IDE with
a certain version of the tool chain.
The current UL effort is a clean slate, we can document and define the
process and tools however we like.
Unless Wattzilla updates their data and documentation they will have to
continue to build as approved by their certification.
…On Thu, Nov 11, 2021, 5:22 PM Jeremy Poulter ***@***.***> wrote:
Also @lincomatic <https://github.com/lincomatic> / @chris1howell
<https://github.com/chris1howell> can you clarify the relationship
between UL certification and the compiler/build env as - this request is
ultimately to support that (creates a defined/audited build/release process)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN5QH6ZNADJNYLFJRNVNXDULQ63HANCNFSM5HWLCYZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@jeremypoulter, @chris1howell's summary above is the exact situation. Actually, the only currently UL-approved configuration is with Wattzilla's hardware, which is not exactly the same as a generic OpenEVSE configuration. |
@jeremypoulter, the PR you submitted for the automated build process has too many commits, many of which aren't related to the build process. I suggest to either move it to the stable branch, or we can create a new branch for it. Also, the documentation contains references to OpenEnergyMonitor, and I don't think those belong in my repo. |
That PR is still work in progress at the moment, I will mark as not draft when ready. The majority of that is merging the EnonEVSE work upstream so we can all build from the same source. I can split into multiple PRs if you would prefer but let me finish the implementation then we can decide where it can all live. |
Ok, I think the update are done. @lincomatic @chris1howell @glynhudson can you take a look at #145 ? An example of the (pre-)release can be found https://github.com/jeremypoulter/open_evse/releases/tag/latest. Thinking about it some more I think maybe the 'official' releases should be from the OpenEVSE fork, but it would make it much easier to maintain if everything was merged here. |
These changes have been made in the OpenEVSE fork and this will be the home of the 'official' releases, possibly at some point we should merge the OpenEVSE/OpenEnergyMonitor changes upstream, but this is quite a lot of work to un-pick in to distinct changes |
For the WiFi module project we now have GitHub actions setup to build
and create the firmware releases.
Using GitHub actions makes the release process a lot more robust and repeatable and ensures that the firmware can be built from the source committed to Git.
I would like to setup something similar for the EVSE firmware where we merge all the changes in the OpenEVSE and OpenEnergyMonitor forks back into this repo and then use the PlatformIO envs (via a GitHub Action) to build all of the different configs required as well as generate a pre-release with the built binaries. This can then be manually tested (hopefully we can automate this at some stage) and promoted to a full release when ready.
@lincomatic / @chris1howell / @glynhudson what do you think?
The text was updated successfully, but these errors were encountered: