Commit graph

255 commits

Author SHA1 Message Date
Michael Telatynski b858e45eee
Fix invalid JSON 2023-02-27 10:52:25 +00:00
Michael Telatynski 3656125552
Fix Windows deploy path 2023-02-27 10:47:40 +00:00
Michael Telatynski 20f8099253
Update base-url for macos staging builds 2023-02-27 10:17:14 +00:00
Michael Telatyński fc961737f4
Fix build_and_deploy workflow (#553) 2023-02-27 09:52:47 +00:00
Michael Telatyński f79713980a
Update build_macos.yaml 2023-02-27 09:45:54 +00:00
Michael Telatynski a0a9ec830c
Build & EV Sign Windows builds (#517
* Add way to provide apple ID and app password to notarise script

* Add utility to generate electron-builder.json for release & nightly builds

* Run Build & Test on staging too

* First attempt at build & deploy for macOS with signing and notarisation

* Fix quote mismatch

* use correct quotes

* add runs-on

* Fix inputs.mode usage

* remove quotes

* chmod +x

* Fix artifact paths

* Fix deploy condition

* Fix deploy condition

* Fix artifact path

* Iterate

* Fix workflow

* Fix env

* Iterate

* Fix missing env

* Fix version calculation

* Iterate

* Fix config not taking effect

* Update build_and_deploy.yaml

* Fix alignments

* delint

* Fix alignment

* Update build_macos.yaml

* Add ability to EV sign using eSigner CKA

* Initial work to build & sign Windows nightlies in CI

* Format

* Format

* Fix gha

* fix winSign

* Fix install command

* Add signtool to path

* Update build_and_deploy.yaml

* Fix quotes

* Test

* Fix comments

* Fix cmd

* Try again

* arg slashes

* Fix exe path

* Fix matrix strategy

* Use ampersand-call

* fwd slash ftw?

* ls *

* 🌲

* tree dist

* prepend path

* Specify /fd and /td to modern signtool

* /tr not /t for CKA

* Test signing

* missing comma

* 🤦‍♂️

* Fix wrong mv

* Lets sign

* Fix config gen

* Debug

* Fix typo

* Multiple drives why

* Try NVL sandbox creds

* Update

* Attempt to disable logger

* Try again

* Iterate

* Update build_macos.yaml

* Update build_and_deploy.yaml

* Update build_macos.yaml

* Update build_and_deploy.yaml

* Update build_and_deploy.yaml

* Try custom build of eSigner CKA

* Fix typos

* Update build_windows.yaml

* Update build_and_deploy.yaml

* Update build_windows.yaml

* Update build_and_deploy.yaml

* Fix symlinking

* Fix working-directory incantation

* exe

* remove debug

* Prettier

* Vendor check in SSL.com executable

* Download CKA from packages.element.io instead

* Use demo creds

* StrictMode

* Switch back to 0207 (unsigned)

* Fix call syntax

* Revert env inc

* Partial rollback

* Trace

* Trace less

* Fix CN being passed wrong

* DEBUG

* Debug 2

* Fix ConvertFrom-StringData

* 0214

* Test

* Test

* Untested

* Revert to 0207

* stash

* Try with 20230221

* Restore scripts/electron_winSign.js

* Prepare for merge

* Update build_windows.yaml

* Update build_and_deploy.yaml

* Restore .github/workflows/build_and_deploy.yaml

* Restore .github/workflows/build_and_deploy.yaml

* Fix bad restore
2023-02-22 13:51:19 +00:00
Michael Telatynski c9d7e37e09
Update pull_request.yaml 2023-02-21 12:24:58 +00:00
Michael Telatynski cdbb7763bf
Build & Package signed Linux builds (#527) 2023-02-20 12:09:45 +00:00
Michael Telatynski c1dd1dc73c
Fix macos release symlinking (#543) 2023-02-13 10:01:11 +00:00
Michael Telatynski 47165ca73d
Update build_macos.yaml 2023-01-31 16:10:51 +00:00
Michael Telatynski 66d96fea2c
Update build_macos.yaml 2023-01-31 15:49:41 +00:00
Michael Telatynski 3330b8485c
Update build_macos.yaml 2023-01-31 13:55:09 +00:00
Michael Telatynski e5117f9736
Build, Sign & Notarise macOS builds (#486) 2023-01-31 13:22:30 +00:00
Michael Telatynski 629eb3958a
Update environment name (#490) 2022-12-23 14:28:23 +00:00
Andy Balaam c6d44418b5 Format build.yaml 2022-12-15 16:20:32 +00:00
Andy Balaam a99f9a6aee wip 2022-12-15 16:03:02 +00:00
Michael Telatynski 86149805b9
Fix macOS tests (#495) 2022-12-15 15:21:04 +00:00
Andy Balaam 0faac52dae Format all files with prettier 2022-12-15 11:52:12 +00:00
Michael Telatynski 2f48519dce
Improve build time in CI through caching native modules (#482)
* Improve caching of hak native modules

* Avoid double-hashing

* Skip native installs where cache is hit

* Include Electron version in the hash, it affects the ABI

* Add missing step IDs

* Add comments
2022-12-13 14:12:40 +00:00
renovate[bot] 19351d766d
Update actions/checkout action to v3 (#472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 06:55:00 +00:00
Michael Telatynski 34e96ea25e
Update CODEOWNERS (#464) 2022-11-29 23:27:48 +00:00
Michael Telatynski 9c5f703eaf
Update packages_index.yaml 2022-11-29 10:08:17 +00:00
Michael Telatynski 5770549819
Update packages_index.yaml 2022-11-29 10:06:58 +00:00
Michael Telatynski 7f7069b326
Update packages_index.yaml 2022-11-29 10:04:33 +00:00
Michael Telatynski 4e0d1b1497
Create packages.element.io directory index scripts (#456) 2022-11-29 09:59:02 +00:00
Michael Telatynski 791a7e71fd
Build Linux to tar.gz (#453) 2022-11-14 18:02:34 +00:00
Michael Telatynski d45b3aac65
Improve workflow reuse (#452) 2022-11-14 11:09:07 +00:00
Michael Telatynski 1e6a3ceebd
Improve CI stability and tidy it up (#451) 2022-11-11 15:15:21 +00:00
Michael Telatynski 6bd95d072a
Update static_analysis.yaml 2022-09-16 08:07:14 +01:00
Michael Telatynski 60b3408eec
Turn off tsc --strict annotations (#416) 2022-09-16 08:06:25 +01:00
Michael Telatynski 5665f7fe0b
Tweak backport labels (#415) 2022-09-07 14:56:33 +01:00
Michael Telatynski b14a1eb3a8
Switch fetch-package to use Github instead of Buildkite (#412)
* Switch fetch-package to use Github instead of Buildkite

* Tweak build to version match better

* Fix version match fetching

* Remove check for `BUILDKITE_API_KEY` as it is no longer required

* Fix develop fetching
2022-09-05 09:49:39 +00:00
Michael Telatynski f0201cfe31
First attempt at automated Playwright tests (#402)
* First attempt at automated Playwright tests

* Fix deb installation in CI

* Try again with .deb

* Try xvfb

* Fix paths

* Prepare macOS runner for UI tests

* test_artifacts

* Increase test timeout to 30s

* Add timeout

* Split out build & test stages for easier retrying

* Use a single test matrix job

* Fix testing

* Yarn install

* Install deps

* Make prep more generic

* Update build.yaml

* Update build.yaml

* Update build.yaml
2022-08-25 18:04:14 +00:00
Michael Telatynski bc8ab50b58
Add backport automation (#407) 2022-08-25 11:40:55 +01:00
Michael Telatynski 5ab3058826
Tweak tsc-strict config (#410) 2022-08-24 11:51:12 +01:00
Michael Telatynski b06f9645fd
Add static analysis for tsc --strict (#405) 2022-08-24 10:07:21 +01:00
renovate[bot] d2e43e77fd
Configure Renovate (#394)
* Add renovate.json

* Create renovate.json

* Delete renovate.json

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-07-27 16:13:41 +01:00
Travis Ralston 62046fadcb
Add a basic PR checklist for all PRs (#389)
* Add a basic PR checklist for all PRs

It'll be mildly annoying for core developers who have to constantly remove or edit this, but it'll also serve as a good reminder to do these things.

Note that signoff is not required for core developers.

* Update .github/PULL_REQUEST_TEMPLATE.md
2022-07-11 20:32:47 +00:00
Michael Telatynski 275936cf7e
Windows MSI package support (#387)
* Update package.json

* Update package.json

* Run `yarn fetch` so the artifacts are valid

* Run `yarn fetch` so the artifacts are valid v2

* Update build.yaml
2022-07-11 10:33:27 +01:00
Michael Telatynski 3932acbe09
Upload artifacts from CI runs (#380) 2022-06-27 18:12:52 +01:00
Michael Telatynski 0779a3e6ae
Update pull_request.yaml (#374) 2022-06-08 13:08:45 +01:00
Michael Telatynski 3758c96eb4
Add CI to improve experience for community (#373)
* Add CI to improve experience for community

* Fix close-if-fork-develop if-condition

* Extract into reusable workflow
2022-06-08 11:43:57 +01:00
Michael Telatynski aa898fd1ad
Github Actions pull_request synchronize runs on PR open anyway (#370)
* Github Actions pull_request synchronize runs on PR open anyway

* Update pull_request.yaml

* Update pull_request.yaml
2022-05-30 15:40:45 +01:00
Michael Telatynski 8c3c190856
Revert back to using libsqlcipher0 for Debian & Ubuntu packages of Desktop (#367)
* Revert back to using libsqlcipher0 for Debian & Ubuntu packages of Element Desktop

Add option to static link for linux instead of forcing it

* Fix linux variants and add CI job

* Fix workflow syntax and add concurrency

* public all the things
2022-05-27 09:15:47 +01:00
Michael Telatynski f1f659b6a0
Improve hak & build ia32 again by default (#369)
* Improve hak & build ia32 again by default

* Test both x86_64 and i686 in CI

* Improve macOS job name

* Try other things

* Iterating this is no fun

* Attempt again

* pwsh is the default, use cmd

* Update the incantation for 2022

* Avoid warning multiple times

* Consolidate build tool setup

* Move default targets to electron-builder and fix warnings
2022-05-26 23:05:59 +01:00
Michael Telatynski 282109c861
Fix gha concurrency conditions (#366) 2022-05-26 10:21:41 +01:00
Michael Telatynski bce69efd37
Consolidate i18n check into a reusable workflow (#361)
* Fix i18n check bypass for RiotTranslateBot

* Consolidate i18n check into a reusable workflow
2022-05-20 00:01:07 +00:00
Michael Telatynski 168320d0e5
Make pull_request.yaml between the layers consistent and fix enforce labels (#358) 2022-05-13 18:51:20 +01:00
Michael Telatynski fcdc8fa89e
Create dependency upgrade action (#355) 2022-05-04 14:47:55 +01:00
Michael Telatynski a78b3dfd63
Tweak i18n ci rule to ignore RiotTranslateBot (#354) 2022-05-03 16:08:01 +01:00
Michael Telatynski 7fe2f1a648
Iterate CI checks (#351) 2022-05-03 10:39:52 +01:00
Michael Telatynski ef075489b4
Upgrade node-kaytar for modern Visual Studio support & CI native building (#347) 2022-04-25 18:58:34 +01:00
Michael Telatynski b21c720510
Move more stuff from BK to GHA (#342) 2022-04-21 15:16:18 +01:00
David Baker 9133260b61 Add changelog preview action 2021-08-06 23:05:08 +01:00
Germain Souquet b1085f7a8c Add GitHub CODEOWNERS for Element desktop 2021-08-06 17:06:46 +02:00