Skip to content

Commit

Permalink
feat: Pull MongoDB and Redis from shared-services repo (#10266)
Browse files Browse the repository at this point in the history
* Move MongoDB index creation to run from Perl

Signed-off-by: John Gomersall <[email protected]>

* Remove Redis and MongoDB from regular docker compose files

Signed-off-by: John Gomersall <[email protected]>

* Try using run.yml for running locally

Signed-off-by: John Gomersall <[email protected]>

* Tidy up index and fix more instances where run.yml needed

Signed-off-by: John Gomersall <[email protected]>

* Fix indentation

Signed-off-by: John Gomersall <[email protected]>

* Add deps dir

Signed-off-by: John Gomersall <[email protected]>

* Clone shared services docker yml for tests

Signed-off-by: John Gomersall <[email protected]>

* Move import_prod_data to shared-services

Signed-off-by: John Gomersall <[email protected]>

* Updated to reflect what is currently in production

Signed-off-by: John Gomersall <[email protected]>

* Drop indexes that aren't needed anymore

Signed-off-by: John Gomersall <[email protected]>

* Removing MongoDB and Redis deployment

Signed-off-by: John Gomersall <[email protected]>

* Ensure devcontainers starts shared-services first

Signed-off-by: John Gomersall <[email protected]>

* Remove daily.yml - moved to off-shared

Signed-off-by: John Gomersall <[email protected]>

* Remove test.yml

Signed-off-by: John Gomersall <[email protected]>

---------

Signed-off-by: John Gomersall <[email protected]>
  • Loading branch information
john-gom authored Jun 21, 2024
1 parent 5dcb329 commit e706114
Show file tree
Hide file tree
Showing 12 changed files with 217 additions and 430 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"name": "Perl",
"initializeCommand": "make run_deps",
"dockerComposeFile": [
"../docker-compose.yml",
"../docker/dev.yml",
"../docker/run.yml",
"../docker/devcontainer.yml"
],
"containerUser": "root",
Expand All @@ -16,12 +18,10 @@
"runServices": [
"memcached",
"postgres",
"mongodb",
"dynamicfront",
"frontend",
"incron",
"minion",
"redis"
"minion"
],
"workspaceFolder": "/opt/product-opener",
"customizations": {
Expand Down
68 changes: 0 additions & 68 deletions .github/workflows/daily.yml

This file was deleted.

208 changes: 0 additions & 208 deletions .github/workflows/mongo-deploy.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,6 @@ taxonomies/*.all.txt
/build-cache/taxonomies/*.json
/build-cache/taxonomies/*.sto
/build-cache/taxonomies/*.result.txt

# Shared services and other dependencies
/deps
Loading

0 comments on commit e706114

Please sign in to comment.