Commit Graph

133 Commits

Author SHA1 Message Date
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
David Négrier
a5f0cadccd
Create codeql-analysis.yml 2021-06-23 15:29:02 +02:00
David Négrier
085a4d41fd Adding svelte-check to the build process
Type checking in Svelte was not enabled (because we were not running svelte-check).
This PR adds:

- run svelte-check in watch mode in development
- run svelte-check in CI
2021-06-15 18:08:16 +02:00
David Négrier
2159e70399 Deleting old certificate if one already exists 2021-06-11 15:31:27 +02:00
David Négrier
fdf4b901b8 Fixing URL in message 2021-06-11 15:02:54 +02:00
David Négrier
2260f772a7 Create the K8S namespace if required 2021-06-11 14:52:59 +02:00
David Négrier
a6effe0a29 Fixing scp 2021-06-11 14:44:23 +02:00
David Négrier
9b985a2a0c Providing Base 64 config file 2021-06-11 14:37:43 +02:00
David Négrier
83089f1197 Fixing key access rights 2021-06-11 14:25:02 +02:00
David Négrier
c07d54f4c3 Fixing key access rights 2021-06-11 14:13:23 +02:00
David Négrier
8b5055c7ef Disabling host check (not a big deal since we are only downloading files from the host) 2021-06-11 14:06:08 +02:00
David Négrier
9330a3ec89 Installing Wildcard certificate in CD environments
Because we are limited to 50 domain names per week with Let's encrypt, the continuous delivery environment is pretty fast failing to get new certificates.
We need to download a Wilcard certificate instead for the CD environments.
2021-06-11 11:57:27 +02:00
David Négrier
2f98bbaa0e Adding auto deploy to develop branch 2021-06-03 18:35:18 +02:00