Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Add `catalog/recreate` just command and remove a file (#1856)

Krystle Salazar74eca0ee7e98
diff --git a/.github/sync.yml b/.github/sync.yml
index 3c11bb99e..af1ebdde6 100644
--- a/.github/sync.yml
+++ b/.github/sync.yml
@@ -25,12 +25,7 @@ group:
dest: .github/workflows/subscribe_to_label.yml
- source: .github/subscribe-to-label.json
dest: .github/subscribe-to-label.json
- # Downstream workflows
- - source: .github/workflows_downstream/draft_release.yml
- dest: .github/workflows/draft_release.yml
# Templates
- - source: .github/release_drafter.yml
- dest: .github/release_drafter.yml
- source: .github/ISSUE_TEMPLATE/bug_report.md
dest: .github/ISSUE_TEMPLATE/bug_report.md
- source: .github/ISSUE_TEMPLATE/config.yml
diff --git a/catalog/justfile b/catalog/justfile
index 4cbf630bd..85cdadedb 100644
--- a/catalog/justfile
+++ b/catalog/justfile
@@ -49,7 +49,7 @@ check-py-version:
# Install dependencies
install *args: check-py-version
- python -m pip install -r requirements_tooling.txt -r requirements_dev.txt
+ python -m pip install -r requirements_dev.txt
######
# Up #
@@ -63,6 +63,11 @@ up *flags:
up-deps *flags:
env COMPOSE_PROFILES="catalog_dependencies" just ../up {{ flags }}
+# Tear down all the services and recreate the ones of the catalog profile
+recreate:
+ just ../down -v
+ just up --force-recreate --build
+
##################
# Administration #
##################
diff --git a/catalog/requirements_tooling.txt b/catalog/requirements_tooling.txt
deleted file mode 100644
index 472a1f21b..000000000
--- a/catalog/requirements_tooling.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-# For local dev tooling only, this is separate from requirements_dev.txt because these
-# libraries are not needed within the built docker container in any environment.
-
-# Note: Unpinned packages have their versions determined by the Airflow constraints file
-
-pre-commit==3.2.2