Commit graph

255 commits

Author SHA1 Message Date
renovate[bot] 10369e7028
Update actions-rs/toolchain digest to 88dc235 (#965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 16:32:45 +00:00
renovate[bot] 24459ca2c2
Update docker/build-push-action digest to 91df6b8 (#966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 16:31:13 +00:00
Michael Telatynski bc41108e2a
Revert "Update tibdex/backport digest to b1bb2aa" (#974) 2023-05-16 17:27:47 +01:00
renovate[bot] 3daab12f4c
Update tibdex/backport digest to b1bb2aa (#968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:44:42 +00:00
Michael Telatynski c7c063f129
Simplify element builder workflow (#898) 2023-05-15 09:40:39 +01:00
Michael Telatynski f178fc129c
Update build_and_deploy.yaml 2023-05-10 08:53:14 +01:00
Michael Telatynski 19f15c5baf
Fix wrong version being passed to prepare job (#950) 2023-05-09 22:23:38 +01:00
Michael Telatynski d8f5cdb40d
Specify hashes for github actions (#634) 2023-05-09 12:01:35 +01:00
Michael Telatynski 3ed6a1591d
Fix nightly summary 2023-05-09 10:35:54 +01:00
Michael Telatynski 19a4778da7
Update build_prepare.yaml 2023-05-09 10:26:24 +01:00
Michael Telatynski 0b01b94316
Print a summary on nightly builds to make versions easier to trace (#947) 2023-05-09 09:22:35 +01:00
renovate[bot] 6f6e1b4ac2
Update docker/metadata-action digest to c4ee3ad (#638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 17:53:36 +12:00
renovate[bot] 56d6cd9aa4
Update tj-actions/changed-files digest to b2d17f5 (#934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 15:02:32 +02:00
renovate[bot] ad3c1dbc20
Update docker/login-action digest to 40891eb (#637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 09:16:30 +12:00
renovate[bot] 02bd6e7690
Update docker/build-push-action digest to eafaea8 (#636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-27 09:38:24 +01:00
Michael Telatynski 9f611a94e1
Start packaging for Debian & Ubuntu aarch64 (#895) 2023-04-26 16:07:20 +01:00
Michael Telatynski 7b0040063b
Improve cache busting to consider the build scripts themselves (#633) 2023-04-26 15:04:17 +01:00
Mathieu Velten cf94a1e49a
Use a fully static seshat build (#631)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-24 12:19:10 +00:00
Michael Telatynski b6815b2731
Exclude some artifacts from PR builds (#891) 2023-04-24 12:24:36 +01:00
renovate[bot] a490427da8
Update tj-actions/changed-files digest to 7ecfc67 (#639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 14:17:36 +00:00
Andy Balaam f9c22e9ce5
Disable blank issues in this repo - they should logged in the element-web repo (#635) 2023-04-18 14:45:42 +01:00
Michael Telatynski 41b69ce6d7
Delete please-don-t-file-issues-here---use-the-element-web-project.md 2023-04-18 14:44:48 +01:00
Michael Telatynski 5761d04856
Create enhancement.yml 2023-04-18 14:44:40 +01:00
Michael Telatynski edb4c3f605
Create bug-desktop.yml 2023-04-18 14:44:22 +01:00
Michael Telatynski 0d0b333f40
Add support for Linux arm64 (#446) 2023-04-18 11:38:26 +01:00
Michael Telatynski 63622a66e7
Drop rebrand_stub (#626) 2023-04-18 09:14:23 +01:00
Andy Balaam 0cb2064d64
Add template pointing to the element-web project 2023-04-17 11:57:57 +01:00
Michael Telatynski 728d82f296
Allow testing dockerbuild changes in pull requests (#625) 2023-04-14 14:00:19 +02:00
Michael Telatynski fac4605e9b
Fix reprepro path 2023-04-14 12:21:19 +01:00
Michael Telatynski 1e5932cea2
Delegate packages.element.io to its own repo (#604
* Move element-io-archive-keyring

* Move debian conf

* Move packages.element.io

* Delegate reprepro to packages.element.io

* Iterate

* Stash

* Iterate

* Iterate

* Iterate
2023-04-14 11:30:14 +01:00
Michael Telatynski f6acfb8778
Update pull_request.yaml 2023-04-06 10:41:49 +01:00
Michael Telatynski 077a58a2e8
Fix wrong sqlcipher build being used due to cache conflict (#606) 2023-04-03 15:31:14 +00:00
Michael Telatynski 06d6f11670
Prefer env for passing github context vars (#590) 2023-04-03 08:50:20 +00:00
Michael Telatynski 50d38e2abd
Use branch specific linux dockerbuild tags (#601) 2023-04-03 09:32:37 +01:00
Michael Telatynski 0663de091f
Enable CodeQL (#603) 2023-03-31 19:13:55 +01:00
Michael Telatynski 5bd1c663e2
Use frozen lockfile instead of pure lockfile on yarn install (#605) 2023-03-31 15:17:43 +00:00
Michael Telatynski c10e666dad
Ship linux tarball with static sqlcipher (#597) 2023-03-31 11:00:30 +01:00
Michael Telatynski 718d5a8037
Run build_linux in docker using an older glibc (#599) 2023-03-30 14:22:58 +01:00
Michael Telatynski a9cffb8ce5
Automate pushing dockerbuild image to ghcr.io (#598) 2023-03-30 13:54:45 +01:00
Michael Telatynski f23892f54d
Fix typo in github actions workflow (#589) 2023-03-23 17:03:39 +00:00
Michael Telatynski f8d331c656
Switch to live R2 bucket for github actions packaging (#588) 2023-03-23 15:17:07 +00:00
Michael Telatynski 1654030c5f
Iterate ARM support in CI (#587) 2023-03-23 13:22:29 +00:00
Michael Telatynski 7a1a0fabdb
Add support for Windows arm64 (#423) 2023-03-22 09:41:51 +00:00
Michael Telatynski 204945299e
Use notarize support built into electron-builder (#558) 2023-03-22 09:40:39 +00:00
Michael Telatynski 74579317db
Switch to production ssl.com cert (#585) 2023-03-20 08:17:34 +00:00
Michael Telatynski 3d578e815a
Fix reprepro test ipv4 vs ipv6 (#581) 2023-03-16 10:13:55 +00:00
Michael Telatynski 2bb999ebb6
Build element-io-archive-keyring package (#565) 2023-03-09 10:26:37 +00:00
Michael Telatynski 22fe702b83
Include changelogs in deb package (#563)
* Initial attempt at custom Debian changelogs

* Iterate

* Quotes...

* Iterate

* facepalm

* Iterate

* Remove reundant line

* Ifs

* Test

* Iterate

* Iterate

* Brackets

* inconsistent?

* Update build_and_test.yaml

* Update build_and_test.yaml
2023-03-07 15:53:53 +00:00
Michael Telatynski 126d2c336b
Assert release & nightly builds are signed, notarised & accessible before deployment (#559) 2023-03-06 08:56:49 +00:00
Michael Telatynski 68d2e34841
Guard reprepro db via concurrency limits (#555) 2023-03-02 16:54:57 +00:00
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