Commit Graph

145 Commits

Author SHA1 Message Date
David Négrier 560be9b0d6 Using parallel build in end to end tests
The docker-compose build used in E2E tests was running builds sequentially.
This is an attempt to run the builds in parallel to optimize the E2E startup time.
Before this commit, the "Start WorkAdventure" step takes 7m11 on GitHub
2022-03-07 18:50:17 +01:00
Lukas Hass e8d5335bc0 Merge branch 'develop' into vite 2022-02-19 20:08:50 +01:00
Lukas Hass 6db6dd7e4d fix artifact upload 2022-02-18 15:19:05 +01:00
Lukas Hass b1c7e01008 add playwright and run e2e tests on production like environment 2022-02-18 14:40:20 +01:00
David Négrier ea8f791fae Adding missing ADMIN_SOCKETS_TOKEN environment variable in case we deploy with the connection to the admin 2022-02-17 15:34:00 +01:00
David Négrier e36a1f1ced Continuous Deployment: add connect to admin
We can now connect to a remote admin server in the CD environment by using the new "deploy-connect-to-admin" label in the PR.
2022-02-17 15:04:51 +01:00
Lukas Hass 72c35e2d06 remove unused LIVE_RELOAD variable 2022-02-15 20:28:52 +01:00
Lukas Hass c7fa2fc36b remove unnecessary workflow steps
iframe-api-typings do not depend on proto messages / i18n and are built into the correct dir
2022-02-03 18:44:49 +01:00
Lukas Hass 8155b774d5 build iframe-api in ci 2022-02-03 18:41:38 +01:00
Lukas Hass faf6be889e add typecheck script 2022-02-03 18:41:13 +01:00
Alexis Faizeau fdec12d311 Generate i18n files on ci/cd 2022-01-24 18:59:28 +01:00
David Négrier 7ff5b32557 Improving instance type 2022-01-19 21:47:06 +01:00
David Négrier fb69476b97 Merge pull request #1698 from thecodingmachine/ts-proto
Migrating front protobuf encode/decode to ts-proto lib
2022-01-03 18:07:19 +01:00
David Négrier 7b239e8ebb Disabling running end to end tests for forks
Github Actions does not provide big enough VMs for E2E tests.
So we need to spin our own instances on AWS. But we cannot share the credentials with the forks for obvious security reasons.
We therefore need to completely disable E2E tests for forks :(
2022-01-03 17:57:41 +01:00
David Négrier bf070c33b5 Migrating front protobuf encode/decode to ts-proto lib
The ts-proto lib has the huge advantage of producing code the "Typescript" way and not the "Java" way.
In particular, for "oneof" types in protobuf, it is generating "ADT" that can be used to check if we forgot or not to deal with a type.
2022-01-03 15:52:46 +01:00
David Négrier d4f8cf4210 Updating AMI 2021-12-24 17:00:45 +01:00
David Négrier b58f9ed6f7 Putting back token 2021-12-24 16:50:12 +01:00
David Négrier 03d8562a65 Trying to comment personal access token 2021-12-24 16:45:32 +01:00
David Négrier cf67b95e5b Attempting to set up custom EC2 instances for E2E tests 2021-12-24 16:43:38 +01:00
David Négrier 805368dd3f Fixing CI with new messages 2021-12-16 16:15:12 +01:00
David Négrier a5325e9327 Improving test speed and trying to get error logs whatever happens 2021-12-05 21:24:29 +01:00
David Négrier 97460886f0 Fixing CI 2021-12-05 19:24:54 +01:00
David Négrier 0c7aedb777 Setting LIVE_RELOAD=0 in CI 2021-12-03 18:41:21 +01:00
David Négrier 7326e2a38c Mounting Docker socket in testcafe container 2021-12-01 14:37:36 +01:00
David Négrier a3b20cf065 Installing NPM dependencies in CI for tests 2021-12-01 14:29:51 +01:00
David Négrier 445599416c Commenting waiting as this does not work for some reason 2021-11-24 17:24:11 +01:00
David Négrier d1122d75ec Fixing CI 2021-11-24 16:59:22 +01:00
David Négrier d8c10ce10a CI fix 2021-11-24 16:32:37 +01:00
David Négrier 065404758b Making sure pusher and admin are started in CI 2021-11-24 16:22:26 +01:00
David Négrier d3bd99b5ee Fixing running of prettier check on the front 2021-11-24 15:24:24 +01:00
David Négrier 168156b7ff Display error logs in failure 2021-11-24 11:11:38 +01:00
David Négrier 02ed853399 Switching to actions/upload-artifact 2021-11-24 10:01:35 +01:00
David Négrier c32a523923 CI fix 2021-11-24 09:29:50 +01:00
David Négrier 963486b663 Adding code to post screenshots of failed tests 2021-11-24 09:26:54 +01:00
David Négrier a9ecbeec84 More CI fix 2021-11-24 09:12:24 +01:00
David Négrier 24249a1e74 Fixing CI 2021-11-24 08:57:49 +01:00
David Négrier 609af979ff Trying to speed up process 2021-11-23 19:01:56 +01:00
David Négrier 678fb71a7a More Github action fixes 2021-11-23 19:00:10 +01:00
David Négrier 303251b465 Github Actions fix attempt 2021-11-23 18:54:15 +01:00
David Négrier 0932e1de73 Taking exit code from the container 2021-11-23 18:44:00 +01:00
David Négrier ab337409a1 Trying to fix issue with Github rights 2021-11-23 18:42:25 +01:00
David Négrier 3aec774cf3 Adding end-to-end test run in Github actions 2021-11-23 15:49:44 +01:00
David Négrier bc45c93932 Fixing Posthog env var 2021-09-16 17:03:49 +02:00
kharhamel 7743bda3eb added yarn run pretty to the front ci 2021-09-06 14:27:01 +02:00
kharhamel 9c803a69ff FEATURE: users can now login via an openID client 2021-07-30 15:43:46 +02:00
kharhamel ebdcf8804d added admin link to the warning container 2021-07-30 14:50:11 +02:00
David Négrier bfcdd31ed2 Fixing NPM package generation
The generation was broken due to the refactoring in several classes (some of them where not properly exported).
Also, trying to generate the NPM package on every build now (to detect issues).
2021-06-30 10:15:55 +02:00
David Négrier 8f3d9277ac Merging master into develop 2021-06-29 18:39:43 +02:00
David Négrier 7f79c2dc4a Making the test page URL dynamic depending on the environment 2021-06-28 13:54:49 +02:00
David Négrier 06b7f5ba2f Applying prettier in CI for pusher and back containers 2021-06-23 17:13:16 +02:00