Commit Graph

60 Commits

Author SHA1 Message Date
David Baker
ec9635eb61 Fix main branch image publishing, try 2
* Swap out the 3rd party upload-asset which just seems to be broken
   for the actual github one which does everything we need here.
 * Update version of metadata action to one that supports is_default_branch
2023-08-08 14:14:12 +01:00
fkwp
e125957cad fix docker builds upload 2023-08-08 13:27:36 +02:00
David Baker
188de8dc85 GHA doesn't support ?? 2023-08-08 11:59:06 +01:00
David Baker
5490917d98 Fix tarball name for head branch builds 2023-08-08 11:51:21 +01:00
fkwp
b038b88f59 add docker builds also for each push to the livekit branch 2023-08-08 11:29:22 +02:00
Daniel Abramov
c9edfd9df4 Fix the CI pipeline command used for linting 2023-07-11 16:02:58 +01:00
David Baker
c73c4d171d Fix netlify deployment
Turns out the create deployment stateb really needs the env,
even though it's empty.
2023-07-05 13:22:57 +01:00
David Baker
fe96c4a455 Update the livekit branch name in more places
Fixes the CI to get the config from the right place.

Also removes reference to an env that's already been deleted.
2023-07-04 20:25:51 +01:00
Michael Kaye
de558fa0d2
Merge pull request #1160 from vector-im/michaelk/add_codecov_to_livekit
Commit codecov.io coverage workflow to livekit branch
2023-06-28 08:40:06 +01:00
Michael Kaye
11733784a6 Fix typo in github action config. 2023-06-27 16:40:19 +01:00
Michael Kaye
cd4e5d3543 Push code coverage percentages to codecov.io. 2023-06-27 16:40:19 +01:00
Michael Kaye
56df302458
Merge pull request #1151 from vector-im/michaelk/update_livekit
Update livekit branch (current default) to run tests on livekit and full-mesh branches
2023-06-27 15:47:03 +01:00
Michael Kaye
6ec2e3cd62 Test on both livekit and full-mesh branches 2023-06-27 09:04:40 +01:00
Michael Kaye
c677d13845 primary branch is now livekit, not main 2023-06-27 09:04:40 +01:00
Michael Kaye
7e345c6a6f Run tests, for codecoverage after push to main
This allows us to generate a regular baseline to compare upcoming push requests against.
2023-06-27 09:04:40 +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
David Baker
aed1548929 Port netlifgy-livekit workflow over to livekit branch
Now livekit is the new default branch
2023-06-26 13:21:08 +01:00
Robin Townsend
ab97f12947 Merge branch 'main' into livekit-experiment 2023-06-09 17:22:34 -04:00
Michael Kaye
9c8692d99e Remove NODE_OPTIONS from GHA commands, as defaulted in package.json now. 2023-05-03 12:57:03 +01:00
David Baker
15e4c01c5d Add max old space fix to publish workflow too 2023-03-28 15:47:59 +01:00
David Baker
d53be695f9 Work around Vite unbounded memory usage
Port fix from otel branch where it appears to be working
2023-03-28 15:33:11 +01:00
Enrico Schwendig
ee4760351c
add end-to-end test workflow (#885)
* e2e: add end-to-end test workflow

- The tests are executed in a Docker container. 
-  The static users are connected via `matrix-js-sdk Client`. 
-  A test user connecting to the conference via EC.
2023-03-06 09:45:42 +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
Davide Girardi
6edcdd3890 Use environment variable for branch name 2022-12-23 10:53:02 +01:00
David Baker
d1091eda17 Add conditional on head_repo on Netlify main GHA job
As per comment
2022-12-22 20:22:54 +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
089234ae09 Use config from the branch we built on PR previews
No harm in doing this - just as easy to override config in the code
itself.
2022-12-21 15:11:24 +00:00
David Baker
6bc5b16b02 These appear to be important? 2022-12-21 13:09:41 +00:00
David Baker
f67eb328bf Add permissions, fix artifact name, filter branches 2022-12-21 12:36:00 +00:00
David Baker
1c824da32b Add config & redirects files 2022-12-21 12:08:08 +00:00
David Baker
1442e57a23 Prettify workflow file 2022-12-21 12:01:06 +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
Robin Townsend
90ef5505bb Apply Prettier to the entire project
This ensures that our tests will be formatted by Prettier, among other things.
2022-12-09 14:34:25 -05:00
David Baker
0cd2ad6242 Add config file for CD version 2022-11-03 19:01:13 +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
Robin Townsend
956388807f Attempt to fix triage automation
The 'PR_' ID format appears to be deprecated.
2022-11-01 22:31:56 -04:00
Robin Townsend
77b139226b Add basic triage automation 2022-10-31 16:48:20 -04:00
Šimon Brandner
e909ff5ad0
Add jest workflow
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-10-26 13:21:12 +02:00
Robin Townsend
fbf7b5d022 Add i18n CI 2022-10-24 10:53:55 -04:00
Kalissaac
93baa19ba1
Add arm64 Docker image
Signed-off-by: Kian Sutarwala <kalissaac@protonmail.com>
2022-05-31 10:14:42 -07:00
David Baker
cb8d837370 Fetch redirects file from github 2022-05-11 13:20:35 +01:00
David Baker
500a19d655
Merge pull request #318 from vector-im/dbkr/netlify_redirect
Add redirects to netlify deployment
2022-05-11 13:11:09 +01:00
David Baker
0d3daf5fa3 move config files into config/ 2022-05-11 12:11:49 +01:00
David Baker
66aede01dc
Merge pull request #316 from vector-im/dbkr/typescript_round_1
Initial round of typescripting
2022-05-11 11:50:07 +01:00
David Baker
5b913205af Add redirects to netlify deployment 2022-05-11 11:39:48 +01:00
David Baker
abdfcd879d Hopefully add sentry to cd builds 2022-05-10 21:24:20 +01:00
David Baker
b2418d5384 Put manual deployment updating back
the netlify action's deployment updating doesn't seem to work
2022-05-10 20:48:30 +01:00