From 32c74289486f9de70402d573b20e87c7fc439330 Mon Sep 17 00:00:00 2001 From: Keith Lawrence Date: Thu, 20 Jul 2023 14:20:58 +0100 Subject: [PATCH] Remove licence-finder as it is now retired --- bin/replicate-mongodb.sh | 4 -- docker-compose.yml | 1 - docs/compatibility.md | 1 - projects/licence-finder/Makefile | 4 -- projects/licence-finder/docker-compose.yml | 65 ---------------------- 5 files changed, 75 deletions(-) delete mode 100644 projects/licence-finder/Makefile delete mode 100644 projects/licence-finder/docker-compose.yml diff --git a/bin/replicate-mongodb.sh b/bin/replicate-mongodb.sh index cea31483..c778749a 100755 --- a/bin/replicate-mongodb.sh +++ b/bin/replicate-mongodb.sh @@ -21,10 +21,6 @@ case "$app" in database="${app//-/_}" wait_for_rs=1 ;; - "licence-finder") - hostname=mongo-normal - database=licence_finder_production - ;; "licensify") hostname=mongo-licensing database=licensify diff --git a/docker-compose.yml b/docker-compose.yml index 903e16ba..a3413ee3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -132,7 +132,6 @@ services: - hmrc-manuals-api.dev.gov.uk - imminence.dev.gov.uk - info-frontend.dev.gov.uk - - licence-finder.dev.gov.uk - link-checker-api.dev.gov.uk - local-links-manager.dev.gov.uk - locations-api.dev.gov.uk diff --git a/docs/compatibility.md b/docs/compatibility.md index d4fbcc5d..4784ce06 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -43,7 +43,6 @@ These are repos that can be started as a some kind of process, such as a web app - ✅ hmrc-manuals-api - ✅ imminence - ✅ info-frontend - - ✅ licence-finder - ❌ licensify * Has a [separate](https://github.com/alphagov/licensify/blob/master/DOCKER.md) Docker project. - ✅ link-checker-api diff --git a/projects/licence-finder/Makefile b/projects/licence-finder/Makefile deleted file mode 100644 index 91aa77fb..00000000 --- a/projects/licence-finder/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -licence-finder: bundle-licence-finder static content-store - $(GOVUK_DOCKER) run $@-lite bin/rake db:setup - $(GOVUK_DOCKER) run $@-lite env RAILS_ENV=test bin/rake db:setup - $(GOVUK_DOCKER) run $@-lite env bin/rake search:index diff --git a/projects/licence-finder/docker-compose.yml b/projects/licence-finder/docker-compose.yml deleted file mode 100644 index 02a3cb76..00000000 --- a/projects/licence-finder/docker-compose.yml +++ /dev/null @@ -1,65 +0,0 @@ -version: '3.7' - -volumes: - licence-finder-tmp: - -x-licence-finder: &licence-finder - build: - context: . - dockerfile: Dockerfile.govuk-base - image: licence-finder - stdin_open: true - tty: true - volumes: - - ${GOVUK_ROOT_DIR:-~/govuk}:/govuk:delegated - - root-home:/root - - licence-finder-tmp:/govuk/licence-finder/tmp - working_dir: /govuk/licence-finder - -services: - licence-finder-lite: &licence-finder-lite - <<: *licence-finder - depends_on: - # In production this uses Mongo 2.6, however there is not a published Mongo 2.6 image compatible with ARM64 - - mongo-3.6 - - elasticsearch-6 - environment: - MONGODB_URI: "mongodb://mongo-3.6/licence-finder_development" - TEST_MONGODB_URI: "mongodb://mongo-3.6/licence-finder_test" - ELASTICSEARCH_URI: http://elasticsearch-6:9200 - - licence-finder-app: &licence-finder-app - <<: *licence-finder - depends_on: - - mongo-3.6 - - static-app - - elasticsearch-6 - - content-store-app - - nginx-proxy - environment: - VIRTUAL_HOST: licence-finder.dev.gov.uk - MONGODB_URI: "mongodb://mongo-3.6/licence-finder_development" - ELASTICSEARCH_URI: http://elasticsearch-6:9200 - GOVUK_PROXY_STATIC_ENABLED: "true" - PLEK_SERVICE_CONTENT_STORE_URI: https://www.gov.uk/api - BINDING: 0.0.0.0 - expose: - - "3000" - command: bin/rails s --restart - - licence-finder-app-live: - <<: *licence-finder-app - depends_on: - - elasticsearch-6 - - mongo-3.6 - - nginx-proxy - environment: - ELASTICSEARCH_URI: http://elasticsearch-6:9200 - MONGODB_URI: "mongodb://mongo-3.6/licence-finder_development" - PLEK_SERVICE_SEARCH_API_URI: https://www.gov.uk/api - GOVUK_WEBSITE_ROOT: https://www.gov.uk - GOVUK_PROXY_STATIC_ENABLED: "true" - PLEK_SERVICE_CONTENT_STORE_URI: https://www.gov.uk/api - PLEK_SERVICE_STATIC_URI: https://assets.publishing.service.gov.uk - VIRTUAL_HOST: licence-finder.dev.gov.uk - BINDING: 0.0.0.0