Commit Graph

69 Commits

Author SHA1 Message Date
Piotr Hanusiak
2a73400f7c
remove customize button if no body parts are available (#1952)
* remove customize button if no body parts are available

* remove unused position field from PlayerTexturesCollection interface

* removed unused label field

* fix LocalUser test

* little PlayerTextures class refactor

* Fixing linting

* Fixing missing Openapi packages in prod

* Fixing back build

Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-03-11 14:30:00 +01:00
Lukas
2938aba484
Multi-platform images (#1924)
* base front production image on official nginx

* build multi-platform docker images

* build message types outside docker

* set docker build context to path

* build message types before running e2e tests

* add build for arm/v7

* remove build for arm/v7

* increase yarn network timeout

* set front port to 80

* add git labels to images

https://github.com/docker/build-push-action/blob/master/UPGRADE.md#tags-with-ref-and-git-labels

* add images input

* Adding back commented code in the Dockerfile (the protobuf message building).

This way, when node-grpc supports ARM64, we can uncomment the code again.

Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
Co-authored-by: Lukas Hass @lukashass
2022-03-08 11:21:17 +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
David Négrier
bc45c93932 Fixing Posthog env var 2021-09-16 17:03:49 +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
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
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
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
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
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
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
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
3bd2c2b48a Renaming landing_page directory to website 2020-06-04 14:06:50 +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
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