Skip to content

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

Remove ES matrix from CI (#2882)

Olga Bulatf593f8afa265
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index ea45cbfbd..c3575df56 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -304,19 +304,6 @@ jobs:
needs:
- get-changes
- build-images
- strategy:
- fail-fast: false
- matrix:
- name:
- - default
- - es_7
- include:
- - name: default
- version:
- - name: es_7
- version: 7.12.0
- env:
- OPENVERSE_ES_VER: ${{ matrix.version }}
steps:
- name: Checkout repository
@@ -350,26 +337,6 @@ jobs:
name: ing_logs
path: ingestion_server/test/ingestion_logs.txt
- # This job runs when `test-ing` doesn't and always passes, thus allowing
- # PRs to meet the required checks criteria and be merged.
- bypass-test-ing:
- name: Run tests for ingestion-server
- if: |
- !cancelled() &&
- needs.test-ing.result == 'skipped'
- runs-on: ubuntu-latest
- needs:
- - test-ing
- strategy:
- matrix:
- name:
- - es_current
- - es_7
-
- steps:
- - name: Pass
- run: echo 'Ingestion server tests are skipped because ingestion server is unchanged.'
-
#######
# API #
#######
@@ -385,19 +352,6 @@ jobs:
needs:
- get-changes
- build-images
- strategy:
- fail-fast: false
- matrix:
- name:
- - es_current
- - es_7
- include:
- - name: es_current
- version:
- - name: es_7
- version: 7.12.0
- env:
- OPENVERSE_ES_VER: ${{ matrix.version }}
steps:
- name: Checkout repository
@@ -436,26 +390,6 @@ jobs:
name: api_logs
path: api_logs
- # This job runs when `test-api` doesn't and always passes, thus allowing
- # PRs to meet the required checks criteria and be merged.
- bypass-test-api:
- name: Run tests for the API
- if: |
- !cancelled() &&
- needs.test-api.result == 'skipped'
- runs-on: ubuntu-latest
- needs:
- - test-api
- strategy:
- matrix:
- name:
- - es_current
- - es_7
-
- steps:
- - name: Pass
- run: echo 'API tests are skipped because API is unchanged.'
-
django-checks:
name: Run Django checks
if: |
diff --git a/api/api/apps.py b/api/api/apps.py
index 462ef47f8..700d28efe 100644
--- a/api/api/apps.py
+++ b/api/api/apps.py
@@ -4,6 +4,3 @@ from django.apps import AppConfig
class ApiConfig(AppConfig):
name = "api"
default_auto_field = "django.db.models.AutoField"
-
-
-# Comment to force CI
diff --git a/docker-compose.yml b/docker-compose.yml
index a3110f844..3669a928e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -192,7 +192,7 @@ services:
profiles:
- ingestion_server
- api
- image: docker.elastic.co/elasticsearch/elasticsearch:${OPENVERSE_ES_VER:-8.8.2}
+ image: docker.elastic.co/elasticsearch/elasticsearch:8.8.2
ports:
- "50292:9200"
env_file:
diff --git a/ingestion_server/gunicorn.conf.py b/ingestion_server/gunicorn.conf.py
index 6c8aa5b96..842c29b2b 100644
--- a/ingestion_server/gunicorn.conf.py
+++ b/ingestion_server/gunicorn.conf.py
@@ -42,5 +42,3 @@ logconfig_dict = {
},
}
loglevel = "debug"
-
-# Comment to force CI