Commit Graph

147 Commits

Author SHA1 Message Date
Robin
2e23176b34
Merge pull request #1504 from vector-im/renovate/matrix-org-pr-details-action-1.x
Update matrix-org/pr-details-action action to v1.3
2023-09-19 12:31:52 -04:00
Robin
14905a4505 Attempt to fix the Netlify CD 2023-09-19 09:47:21 -04:00
Robin
35ee0689f9
Merge pull request #1512 from vector-im/renovate/actions-upload-artifact-3.x
Update actions/upload-artifact action to v3
2023-09-19 07:25:12 -04:00
renovate[bot]
d384865cc3
Update actions/upload-artifact action to v3 2023-09-19 11:14:57 +00:00
renovate[bot]
ede12374f0
Update actions/github-script action to v6 2023-09-19 11:14:51 +00:00
renovate[bot]
365f81a5f7
Update actions/checkout action to v4 2023-09-19 09:24:34 +00:00
renovate[bot]
7b3c257ad3
Update matrix-org/pr-details-action action to v1.3 2023-09-19 06:46:16 +00:00
Robin
02a50e8f2a
Merge pull request #1453 from vector-im/renovate/docker-setup-buildx-action-digest
Update docker/setup-buildx-action digest to dedd61c
2023-09-17 23:25:25 -04:00
Robin
d752d04f4f
Merge pull request #1452 from vector-im/renovate/docker-metadata-action-digest
Update docker/metadata-action digest to 879dcbb
2023-09-17 23:23:57 -04:00
Robin
b3446f0501
Merge pull request #1451 from vector-im/renovate/docker-login-action-digest
Update docker/login-action digest to b4bedf8
2023-09-17 23:23:41 -04:00
Robin
d8fc3e42ca
Merge pull request #1450 from vector-im/renovate/docker-build-push-action-digest
Update docker/build-push-action digest to 4c1b68d
2023-09-17 23:23:21 -04:00
renovate[bot]
35c58a835d
Update docker/setup-buildx-action digest to dedd61c 2023-09-18 03:23:16 +00:00
renovate[bot]
cabb929852
Update docker/metadata-action digest to 879dcbb 2023-09-18 01:55:31 +00:00
renovate[bot]
b652bd01fd
Update docker/login-action digest to b4bedf8 2023-09-18 01:55:27 +00:00
renovate[bot]
32bbfc923f
Update docker/build-push-action digest to 4c1b68d 2023-09-17 22:06:14 +00:00
renovate[bot]
1ea673c993
Update actions/upload-artifact digest to a8a3f3a 2023-09-17 22:05:03 +00:00
Robin Townsend
1bdb0db6d2 Tell the CI that the livekit branch isn't a PR
This prevents it from trying to run the PR preview workflow on every build of the livekit branch.
2023-09-01 15:08:46 -04:00
David Baker
f6a296bc0c
Add git sha as version in build job 2023-09-01 14:59:52 +01:00
renovate[bot]
7549e24479
Update actions/github-script action to v3.2.0 2023-08-31 16:06:48 +00:00
renovate[bot]
5d24b55d30
Update nwtgck/actions-netlify action to v1.2.4 2023-08-31 13:21:35 +00:00
David Baker
35a69a9c51
Merge pull request #1370 from vector-im/renovate/docker-setup-buildx-action-digest
Update docker/setup-buildx-action digest to 885d146
2023-08-31 10:38:00 +01:00
David Baker
e389798baf
Merge pull request #1365 from vector-im/renovate/docker-build-push-action-digest
Update docker/build-push-action digest to 9311bf5
2023-08-31 10:35:57 +01:00
David Baker
e9fab62e21
Merge pull request #1367 from vector-im/renovate/docker-login-action-digest
Update docker/login-action digest to cf8514a
2023-08-31 10:35:27 +01:00
David Baker
8a02c5fbb9
Merge pull request #1368 from vector-im/renovate/docker-metadata-action-digest
Update docker/metadata-action digest to 0f8c876
2023-08-31 10:34:50 +01:00
renovate[bot]
6f4c549961
Update docker/setup-buildx-action digest to 885d146 2023-08-30 22:21:23 +00:00
renovate[bot]
ea3c346d39
Update docker/metadata-action digest to 0f8c876 2023-08-30 18:48:45 +00:00
renovate[bot]
6004e2d303
Update docker/login-action digest to cf8514a 2023-08-30 18:48:41 +00:00
renovate[bot]
6c999e652b
Update docker/build-push-action digest to 9311bf5 2023-08-30 16:17:46 +00:00
renovate[bot]
3062e015c9
Update actions/upload-artifact digest to 65d8626 2023-08-30 16:17:42 +00:00
David Baker
96f264db87 Put the 'v' back on the docker tag for release versions 2023-08-11 09:24:11 +01:00
David Baker
ba1ebad31e Set version to commit sha for dev builds 2023-08-11 09:04:38 +01:00
fkwp
bd25e68e38 fix typo 2023-08-09 17:18:34 +02:00
fkwp
620fd98091 fix typo 2023-08-09 16:56:58 +02:00
fkwp
c385bc6804 Addressing Deprecating save-state and set-output commands 2023-08-09 16:45:56 +02:00
fkwp
6e3991ec9d Add a build step to create a unix timestamp. Use that timestamp to create a latest_ci tag which can be used by the rennovate bot 2023-08-09 16:32:17 +02:00
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
Robin Townsend
6d90586aee Add some issue templates 2022-06-29 11:10:52 -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
c7da1177ab Add CODEOWNERS file 2022-05-17 18:44:22 +01: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
David Baker
f2232a0740 Enable production deploys
and also remove the manual deployment updating as it looks like the netlify action supports it anyway
2022-05-10 19:55:05 +01:00
David Baker
04c6d990bd Make dir name match 2022-05-10 19:39:27 +01:00
David Baker
455bb09108 Try bumping token permissions 2022-05-10 19:35:40 +01:00
David Baker
d8fe617535 Try this path 2022-05-10 19:20:15 +01:00
David Baker
970568fd17 yaml indenting 2022-05-10 19:19:22 +01:00
David Baker
f6677889e0 Hopefully deploy main branch to netlify 2022-05-10 19:11:45 +01:00
David Baker
adc7892d8c Enable type checking & disable lint warning 2022-05-06 22:55:47 +01:00
David Baker
61309bacd9 Add ESLint support too 2022-05-03 15:32:16 +01:00
David Baker
b3e88d33a7 Add prettier support
+ CI to check formatting, and fix the couple of instances that
were not in prettier format (case in HTML clour codes).
2022-05-03 14:24:04 +01:00
David Baker
f66158a4da Add CI 2021-12-20 16:59:39 +00:00