Skip to content

Commit

Permalink
Start catalog before initializing api
Browse files Browse the repository at this point in the history
  • Loading branch information
stacimc committed Sep 25, 2024
1 parent fafbc13 commit adc26dd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,21 @@ jobs:
with:
install: true

- name: Build catalog dev image
uses: docker/build-push-action@v5
with:
context: catalog
target: cat
push: false
load: true
tags: openverse-catalog
cache-from: type=gha,scope=catalog_dev
cache-to: type=gha,scope=catalog_dev
build-args: |
CATALOG_PY_VERSION=${{ steps.prepare-build-args.outputs.catalog_py_version }}
CATALOG_AIRFLOW_VERSION=${{ steps.prepare-build-args.outputs.catalog_airflow_version }}
REQUIREMENTS_FILE=requirements-dev.txt
- name: Build API dev image
uses: docker/build-push-action@v5
with:
Expand All @@ -486,6 +501,9 @@ jobs:
API_PY_VERSION=${{ steps.prepare-build-args.outputs.api_py_version }}
PDM_INSTALL_ARGS=--dev
- name: Start Catalog
run: just catalog/up

- name: Start API, ingest and index test data
run: just api/init

Expand Down

0 comments on commit adc26dd

Please sign in to comment.