Skip to content
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

Modernize build pipeline #4132

Merged
merged 7 commits into from Dec 21, 2023
Merged

Modernize build pipeline #4132

merged 7 commits into from Dec 21, 2023

Conversation

dfunckt
Copy link
Member

@dfunckt dfunckt commented Nov 1, 2023

Switch to electron-forge which is now officially adopted by the Electron project. Solves a bunch of issues along the way.

Issues related to experimental v1.18.13:

Closes #4138
Closes #4129
Closes #4119

Build related issues:

Closes #4136
Closes #4125
Closes #4103
Closes #4087
Closes #3767
Closes #3728
Closes #3653
Closes #3400
Closes #3292
Closes #3269
Closes #3263
Closes #2870
Closes #2826

(Admittedly, some of the issues are linked opportunistically -- please reopen them if the issue is not actually solved)

# https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/#improvements-for-public-repository-forks
# https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks#about-workflow-runs-from-public-forks
CSC_FOR_PULL_REQUEST: true

# https://www.electron.build/auto-update.html#staged-rollouts
- name: Configure staged rollout(s)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this actually worked for a while now (or the auto-update mechanism in general). I'll remove everything for now and re-introduce auto-updates properly later on -- Electron Forge has a simple way to do that (but no way for staged rollouts AFAIK)

"webpack-dev-server": "4.11.1"
"url-loader": "4.1.1"
},
"hostDependencies": {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how good this choice will turn out to be, but I wanted to avoid what we declare as app dependencies for deb to get out of sync with what we install on CI, so this will have to do for now.

@dfunckt dfunckt force-pushed the switch-to-electron-forge branch 13 times, most recently from 2e659e0 to cb117d8 Compare November 7, 2023 16:19
@dfunckt dfunckt force-pushed the switch-to-electron-forge branch 14 times, most recently from 6dac465 to 776b72d Compare November 14, 2023 08:12
@dfunckt dfunckt force-pushed the switch-to-electron-forge branch 4 times, most recently from bec1c16 to e90c3fc Compare December 20, 2023 13:38
@dfunckt dfunckt force-pushed the switch-to-electron-forge branch 3 times, most recently from 27cb993 to 169f3c1 Compare December 21, 2023 15:16
@dfunckt dfunckt marked this pull request as ready for review December 21, 2023 15:16
@dfunckt dfunckt merged commit 6e4db83 into master Dec 21, 2023
54 of 55 checks passed
@dfunckt dfunckt deleted the switch-to-electron-forge branch December 21, 2023 16:41
@sid-the-sloth
Copy link

Thank you for shasums!

Gotta love this:

$ sha256sum -c --ignore-missing SHA256SUMS.Linux.x64.txt 
balenaEtcher-1.19.0-x64.AppImage: OK

@lurch
Copy link
Contributor

lurch commented Dec 22, 2023

@dfunckt @aethernet I've not tested this yet, but congratulations on getting this big update over the line 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment