Commit graph

103 commits

Author SHA1 Message Date
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
David Négrier f57c01dee8 Refactoring Webpack files to remove prod file. The prod file is now inferred from the NODE_ENV variable. 2021-05-12 11:28:21 +02:00
kharhamel de1768b7bb added back automatic deploy of staging 2 2021-05-10 12:20:46 +02:00
kharhamel 9a8b10bbf5 added back automatic deploy of staging 2021-05-10 11:56:08 +02:00
kharhamel 0af3657acb FIX: now used a slugified tag for prod deployment 2021-04-29 18:44:46 +02:00
kharhamel 7bd524ba55 FIX: fixed the deploy workflow to also build images on new releases 2021-04-29 18:11:24 +02:00
kharhamel 79701fe227 FIX: fixed cleanup for real this time 2021-04-27 18:18:20 +02:00
kharhamel 3ce5c2ec45 FIX: fixed cleanup workflow 2021-04-27 17:17:54 +02:00
kharhamel 7a8765826e FIX: fixed cleanup workflow 2021-04-27 16:51:57 +02:00
kharhamel ea009d912e edited CD domain in deeployer config 2021-04-27 16:30:35 +02:00
kharhamel 30cf078df5 FIX: the deploy action now only start when the label 'deploy' is applied to the PR 2021-04-26 18:33:03 +02:00
David Négrier 728fd4779c Dynamically fetching correct version and generating declarations only for npm lib 2021-04-11 11:32:56 +02:00
David Négrier 0f7ac7ba8b Added empty .npmignore to override .gitignore 2021-04-10 19:14:36 +02:00
David Négrier 6acf0ff047 Creating a dedicated package for iframe API typings
If users are willing to use Typescript to develop scripts for maps, they will need typings for the `WA` object.
This commit creates a new package (@workadventure/iframe-api-typings) that contains only the `iframe_api.d.ts` file.

The file is generated from the build of the front and isolated in this package.
This is necessary because the iframe_api.js file is supposed to always be loaded from WorkAdventure directly (and there is no @workadventure/iframe-api package and there will never be one)
2021-04-10 18:50:46 +02:00
David Négrier 7fb923f823 Fixing deploy with new TURN_STATIC_AUTH_SECRET secret 2021-02-16 11:34:12 +01:00
David Négrier f5610261c0 Fixing deploy URL in Github message 2021-02-16 10:28:00 +01:00
kharhamel ca231eee4a remove cypress from the project :( 2021-01-28 14:56:24 +01:00
David Négrier 84f85effe5
Merge pull request #628 from thecodingmachine/template-analytics
Template google analytics data (2)
2021-01-20 18:03:28 +01:00
David Négrier f87f3889df Running templater in CI phase 2021-01-20 18:00:11 +01:00
David Négrier 1f9d975505 Fixing CI 2021-01-18 19:52:44 +01:00
David Négrier 675c043cb5 Removing website container entirely from project (as it is specific to the WorkAdventure company and not to the WorkAdventure self-installed project) 2021-01-18 19:39:22 +01:00
David Négrier e0fcb38c4f Fixing CI pipeline 2021-01-18 15:34:22 +01:00
David Négrier 217b04dafa Adding pusher CI 2021-01-18 15:31:07 +01:00
David Négrier a5b5007908 Switching to deeployer-action to speed up CD 2020-12-18 17:04:31 +01:00
David Négrier 6f2c319785 Merge branch 'master' of github.com:thecodingmachine/workadventure into scaling
# Conflicts:
#	back/src/Services/SocketManager.ts
#	deeployer.libsonnet
#	docker-compose.yaml
#	front/src/Connexion/RoomConnection.ts
#	front/src/Enum/EnvironmentVariable.ts
#	front/src/Phaser/Game/GameScene.ts
#	front/webpack.config.js
#	pusher/src/Controller/IoSocketController.ts
2020-12-11 13:00:11 +01:00
David Négrier 10e1400fc0 Fixing Uploader build 2020-12-11 12:37:11 +01:00
David Négrier bf797085e6 Extracting FileController into a Uploader container 2020-12-09 21:29:29 +01:00
David Négrier a59e40fc8e Fixing deployment 2020-12-09 15:19:22 +01:00
David Négrier 1bb0ff4b23 Fixing deploy 2020-12-09 13:50:18 +01:00
David Négrier ea6a8ff406 Adding pusher to K8S deploy 2020-12-04 15:13:35 +01:00
David Négrier 25f6fa7d2a Migrating to rlespinasse/github-slug-action@3.1.0 2020-11-17 18:27:33 +01:00