Commit Graph

157 Commits

Author SHA1 Message Date
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
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
David Négrier
8af99a4286 Upgrading cypress action version 2020-11-05 16:35:10 +01:00
David Négrier
3fc7886b42 Fixing rlespinasse master branch deleted 2020-11-04 12:15:01 +01:00
Romain Lespinasse
11127db9f3
ci: update to github-slug-action v1.1.1 2020-10-26 20:10:59 +01:00
David Négrier
a7c16654c3 Deploying with new configurable Jitsi conf 2020-10-19 12:07:05 +02:00
David Négrier
ff37e0f9b9 Adding ADMIN_API_TOKEN 2020-10-14 12:25:05 +02:00
David Négrier
64803296d6 Fixing CI 2020-09-24 11:20:10 +02:00
David Négrier
5c63573ef1 Adding protoc to CI 2020-09-18 18:01:36 +02:00
David Négrier
d3116c7400 Building proto messages in CI 2020-09-18 17:51:12 +02:00
David Négrier
398ca1760b Fixing CI builds 2020-09-18 17:47:18 +02:00
David Négrier
7826b2ea8d Fixing Docker build images to add new messages directory 2020-09-18 17:22:45 +02:00
David Négrier
2484e4f1df Moving maps to their own container 2020-07-23 18:43:51 +02:00
David Négrier
d18abaf067 Enabling optional https in development 2020-06-25 10:32:47 +02:00
David Négrier
3bd2c2b48a Renaming landing_page directory to website 2020-06-04 14:06:50 +02:00
kevin
46aa4a51f4 Merge branch 'master' of github.com:thecodingmachine/workadventure into landingpage 2020-06-03 01:28:37 +02:00
David Négrier
d69ce8a6a6 Adding PlayerMovement class to interpolate/extrapolate position along tests (installing Jasmine) 2020-06-02 10:48:04 +02:00
David Négrier
2d20302ab2 Fixing e2e test URL 2020-06-01 16:39:34 +02:00
David Négrier
0574cb7d33 Adding continuous integration for website 2020-06-01 16:12:48 +02:00
David Négrier
9dd5657148 Trying to trigger delete on correct branch 2020-05-27 23:20:12 +02:00
David Négrier
04bd9ce9d5 Fixing Docker again 2020-05-27 22:30:53 +02:00
David Négrier
2b7a11dffc Fixing Docker 2020-05-27 22:27:52 +02:00
David Négrier
81024bbd5d Adding cleanup action on delete 2020-05-27 22:20:08 +02:00
David Négrier
ad70ecca74 Fixing CD 2020-05-13 22:20:34 +02:00
David Négrier
dd5a0c9933 Fixing domain name 2020-05-13 16:17:58 +02:00
David Négrier
cc621c09cb Not adding comment on push (only pull_request) 2020-05-13 15:58:17 +02:00
David Négrier
6a349e3ef7 Switching tests on https too 2020-04-22 23:34:56 +02:00
David Négrier
c4b9c02d75 Removing E2E test from running in CI (it is run in K8S now) 2020-04-16 22:36:54 +02:00
David Négrier
c0f2b890ef Fixing bad file name 2020-04-16 00:13:40 +02:00
David Négrier
75941a5c68 Trying to change Cypress basu URL 2020-04-16 00:06:24 +02:00
David Négrier
84edc1a2c4 Running e2e tests on K8S environment 2020-04-15 23:54:55 +02:00
kharhamel
5fb3968234 added artifact download 2020-04-14 20:42:57 +02:00
kharhamel
56093201fb integrate it into the ci 2020-04-14 20:23:00 +02:00
David Négrier
6bf7a3eb43 Using tagged version for rlespinasse/github-slug-action 2020-04-13 18:44:12 +02:00
David Négrier
3a788b7c15 Fixing version 2020-04-13 18:44:12 +02:00
David Négrier
226fbb1e9e Adding a message with deployment location at the end of deployment 2020-04-13 18:44:12 +02:00
David Négrier
62e28bed10 Fixing slugify issue 2020-04-13 18:44:12 +02:00
David Négrier
efccdcbb06 Fixing action 2020-04-13 18:44:12 +02:00
David Négrier
0ba6941cd2 Fixing ref slug 2020-04-13 18:44:12 +02:00
David Négrier
d519538531 Fixing libsonnet and changing deployment namespace 2020-04-13 18:44:12 +02:00
David Négrier
b0c347b41b Triggering build and deploy on every branch 2020-04-13 18:44:12 +02:00
David Négrier
877a47e2dd Fixing Dockerfile build path 2020-04-13 14:46:45 +02:00
David Négrier
d68e39f2e3 Testing 2020-04-09 14:50:43 +02:00
David Négrier
3038141070 Setting Kube config in deeployer 2020-04-09 14:21:43 +02:00
David Négrier
8eba5276dd Adding namespace to deeployer 2020-04-09 12:14:06 +02:00
David Négrier
1376d5b24c Fixing push action 2020-04-09 11:57:19 +02:00
David Négrier
3b3e615e37 Fixing push action 2020-04-09 11:56:29 +02:00
David Négrier
c6770042b3 Fixing action file 2020-04-09 11:03:24 +02:00