Commit Graph

39 Commits

Author SHA1 Message Date
fkwp
d47e579994 add build_mode also to build_embedded_element_call 2025-06-06 00:20:11 +02:00
fkwp
775e110ca3 Add build_mode to inputs of build_full_element_call. derive build_mode from PR label 'development build' 2025-06-05 23:58:24 +02:00
Hugh Nimmo-Smith
1be0733011 Always run build CI workflow (#3139)
As identified in https://github.com/element-hq/element-call/pull/3116#issuecomment-2759148857 depending on the contents of a PR it may not be possible to merge due to required workflows not actually being run.

This change will mean that the build CI workflow is run irrespective of the contents.
2025-03-28 15:06:00 +01:00
Hugh Nimmo-Smith
7aac56aac0 Vite embedded build of Element Call (#3077)
* Embedded package build of Element Call

Part of https://github.com/element-hq/element-call/issues/2994

This creates a new "embedded" build (vs "full" build) at the vite level. It will be used by a later PR that actually provides platform specific packages.

Embedded build:

- Uses relative URLs
- Uses relative config.json path and other resource loading
- Has a config.json built in
- Doesn't include the public folder (e.g. favicon)

Out of scope:

- this doesn't attempt to exclude SPA functionality, so technically the build could be used in SPA
- the above means that the crypto-wasm binary is included in the build

* CI artifact name based on type of build

* Update src/config/Config.ts
2025-03-12 17:00:44 +00:00
renovate[bot]
8aa95d1ddd Update GitHub Actions 2025-03-03 15:54:20 +00:00
Hugh Nimmo-Smith
6e3fd10268 Explicitly build and publish docker for develop/livekit branch (#2996)
We don't need the tarball artifact and we have already done a build
2025-02-07 16:31:44 +00:00
Hugh Nimmo-Smith
e23d8828ad GitHub Action workflows cannot be in a sub folder 2025-02-06 12:55:28 +00:00
Hugh Nimmo-Smith
6dcfdf8d39 Cleanup GitHub Actions (#2983)
This is mostly just about naming. Plus removing an unused end-to-end testing workflow.
2025-02-06 13:13:08 +01:00
Hugh Nimmo-Smith
31e59c1da1 Do run build action in CI when GHA workflows change (#2976) 2025-01-28 12:13:30 +01:00
Hugh Nimmo-Smith
7d444fc261 Automatically deploy livekit branch to call.element.dev via workflow dispatch (#2974) 2025-01-28 10:15:44 +00:00
Quentin Gliech
8f4b932c3c Enable Codecov bundle analysis plugin (#2774) 2024-11-14 10:07:21 +00:00
fkwp
1381640cdb inputs -> with 2024-04-15 14:47:07 +00:00
fkwp
1d43bd26ed misssing inputs section 2024-04-15 14:44:49 +00:00
fkwp
1baed1184a move vite_app_version to inputs 2024-04-15 08:26:06 +00:00
fkwp
c67040afe7 lint2 2024-04-15 07:21:07 +00:00
fkwp
444297f3d9 lint 2024-04-15 07:19:46 +00:00
fkwp
c578bcaf91 cleanup 2024-04-12 20:10:45 +00:00
fkwp
908ca2325a clenaup naming 2024-04-12 19:54:18 +00:00
fkwp
76bb72d3ea add debug info 2024-04-12 17:42:46 +00:00
fkwp
fd8ee1542b revert pull_request_target to pull_request 2024-04-12 14:06:01 +00:00
fkwp
ef395efaf8 test if pull_request_target will trigger on_workflow 2024-04-12 13:39:04 +00:00
fkwp
9cce4bc0ad also trigger in case of labeled 2024-04-11 19:38:29 +00:00
fkwp
be44aa0157 apply Keeping your GitHub Actions and workflows secure practises 2024-04-11 19:32:59 +00:00
renovate[bot]
4e30758e6c Update actions/upload-artifact action to v4 2023-12-14 17:44:38 +00:00
renovate[bot]
456ed6656a Update actions/setup-node action to v4 2023-10-23 16:19:30 +00:00
renovate[bot]
d384865cc3 Update actions/upload-artifact action to v3 2023-09-19 11:14:57 +00:00
renovate[bot]
365f81a5f7 Update actions/checkout action to v4 2023-09-19 09:24:34 +00:00
David Baker
f6a296bc0c Add git sha as version in build job 2023-09-01 14:59:52 +01:00
Robin Townsend
27668980d7 Run the build workflow on the full mesh branch, too
Otherwise CD on the full mesh branch never happens
2023-06-26 14:20:35 -04:00
David Baker
d57bb5bb76 Fix branch names in CI 2023-06-26 13:37:31 +01:00
Enrico Schwendig
9a546b7ea0 Typescript update to 4.9.0 (#912)
* typescript: increase typescript version

- Use node types `@types/nodes`
- Pin mermaid to pre release "^9.4.0-rc.2"
- Increase linter version
- Increase TS version to `4.9.5`

* build: increase max heap size for Node
2023-02-14 13:29:47 +01:00
David Baker
fef503c65d Upload source maps to sentry (#810)
* Pretend to upload source maps to sentry

* Build release not in docker so we can upload source maps sensibly

and also upload the release as a plain tarball while we're at it

* fix yaml

* Try specifying version this way

* test rebuild

* pass secrets through

* Too many sentries

* It's almost 2023 and we're still having BSD vs GNU tar issues

* Maybe get sensible tag name & release identifier

* Wrong plugin, and also try the 'release' option which might the right thing

* Try a different github action

see if github likes that any better

* add contents write permission

and switch to the asset upload plugin that had the helpful doc

* actually put release name in tarball path

* copy docker config to right path

* Prettify vite config

* Only activate sentry plugin if we have secrets

* Use env var for tag name

* Also spelling env correctly would likely help

* Fix variable syntax

* Put env var in correct place

One day maybe I will not find yaml syntax confusing
2023-01-03 10:48:48 +00:00
David Baker
51be754ad8 Merge pull request #798 from vector-im/dbkr/move_to_config_file
Move default homeserver to config file
2022-12-21 17:57:16 +00:00
David Baker
39e92b9e2e Add deploy previews
Using workflow from element-web
2022-12-21 11:57:15 +00:00
David Baker
d6b8ecdfd1 Remove default HS env var from build 2022-12-20 17:42:20 +00:00
Timo
78a313c373 Async config file (#682)
* initial

* only donwload config once

* formatting

* update sample config

* sentry

* refactor load state

* fix build yaml

* Upper case enums

* change how defaults work. review fixes

* abstract initialization

* copyright

* gitignore styleing

* refactor initialization

* use dafualt as fallback

* internalInstance rename

* review

* remove acidentally added posthog file

* DSN rename

* update Copyright

* remove olm from the initializer

Co-authored-by: Timo K <timok@element.io>
2022-11-03 19:43:41 +01:00
David Baker
abdfcd879d Hopefully add sentry to cd builds 2022-05-10 21:24:20 +01:00
David Baker
d8fe617535 Try this path 2022-05-10 19:20:15 +01:00
David Baker
f6677889e0 Hopefully deploy main branch to netlify 2022-05-10 19:11:45 +01:00