Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GSoC'23] M1.3.2 - oppia#18255 Initial docker setup for dev server (o…
…ppia#18578) * initial docker setup * configured webpack-compiler and angular webserver * added google-cloud-sdk dockerfile configurations * initian docker configurations for GAE and cloud-datastore * firebase emulator setup in docker compose file * configured redis and elasticsearch as docker-compose service * added some comments * Update requirements.txt * pyarrow uncommented * configured compose-services + modified build.py * configured protobuf files * issues with GAE launch * installed pip3 within the docker container * configured google cloud sdk using zip file * modified python script compile and install protobuf * installed proto files using bash script in dockerfile * server launching - dist folder not generating * server launching - firebase and redis problem * server launching - redis fixed * working on firebase + wait-for-it script * configured wait-for-it bash script to wait for a folder to get generated * configured firebase * server up properly -- elasticsearch service left to be configured * Delete UsersshivkantchauhanDesktopopen-sour.txt * docker setup ready with all services * added initial healthcheck configurations + basic Make commands * added healthchecks for each container * implemented save_datastore flag * implemented disable_host_checking flag * removed disable_host_checking flag * implementing flags - prod_env is having 1 error related to file hashes * modified scripts to work under docker setup + implementing flags * modified scripts to work under docker setup * fixed lints * reverted python scripts changes to work in both docker and python setup * Update docker_setup.yml * modified docker action * modified healthchecks + python scripts * fixed firebase connection error * fixed firebase connection error + modified scripts * fixed firebase export error + added new app_dev_dockerfile * fixed firebase export error + added new app_dev_dockerfile * fixed healthcheck for testing the folder * fixed firebase dockerfile + docker action * uncommented webserver and webpack compiler commands * added docker directory * fixing firebase volumes error * added a log in docker action to see logs in CI * added a log in docker action to see logs in CI * tried optimising if-else in bash commands * fixed firebase within docker compose * fixed firebase within docker compose * added no_auto_restart flag * modified dockerfile * frontend tests working in docker - not tested check_coverage + working on backend tests - getting error now * fixed docker compose * migrated mypy checks in docker * modified docker compose * initial docker setup * fixed backend tests * fixed lints * fixed lints * docker setup in merge actions * try fixing lint checks for imports * try fixing lint checks for imports * modified dockerfile * added separate script for dependencies.json package + multi-stage dockerfile * modified redis and elasticsearch docker compose service * added backend test in shard.json * moved google cloud sdk in the root * vol mapping for redis * modified redis * fixing lints * fixing lints * Update docker_setup.yml * added test for minifying in prod_env * deleted mock app.yaml files * modified auth.service FE test * Update auth.service.spec.ts * modified docker compose to bind with local root dir * modified docker compose to bind with local root dir * fixing FE tests * modified firebase service * modified firebase service * added dockerhub images versions * removed env from firebase service * fixed lints * FE tests * fixed digestIDs of dockerhub images * changed node:16.13.0 digestID in frontend * modified the start-time for each service * bulk run for the docker action * bulk run for docker action * bulk run for docker action * modified bulk run * reverted bulk config for my repo * modified comment in dockerfile * improved docker action * improved docker action * added build stage in services * added services named volumes * removed backend target * removed frontend build target * removed digestIDs of dockerhub images * removed digestID of python image * added todo for firebase dependency * changed dumb.db vol * changed dumb.db vol * changed dumb.db vol * Update docker_setup.yml * fixed redis/elasticsearch env issue * setup * added env variable in docker compose * fixed dockerfile * added stages in compose services * changed env variable for docker * added TODO * optimising docker setup * try fixing docker setup * try fixing docker setup * try fixing docker setup * removing deps of build.py in dev_mode * fixing CI tests * fixing CI tests * fixing CI failures * fixing CI failures * fixing CI failures * fixing docker compose * added build.py in dev mode in dockerfile * fixing docker action * removed angular-build healthchecks * increased start time for angular-build for CI test to pass * modified vol names * modified compose file * removed ports for redis and es * modified install_third_party * modified docker setup * separated dockerfiles * modified setup * fixed scripts dependencies * added multistage dockerfile * separated dockerfiles * increased docker setup reachability time on CI * fixing CI tests * make install_deps scripts independent * added env in app_dev_docker for hosts * fixed redis/es + lints * fixing build_test * fixing CI tests * fixed backend coverage for install_deps script * fixed backend coverage for common.py * fixed backend coverage for common.py * optimised docker setu p * optimised docker setup --------- Co-authored-by: Shivkant Chauhan <[email protected]>
- Loading branch information