diff --git a/.gitlab/ci/base.yml b/.gitlab/ci/base.yml index 87f150962..2491d4d59 100644 --- a/.gitlab/ci/base.yml +++ b/.gitlab/ci/base.yml @@ -12,6 +12,7 @@ variables: ES_INDEX_RAND: "true" ES_URL: "http://elasticsearch:9200" + ELASTICSEARCH_TAG: '7.16' .variables_redis_memcached: &variables_redis_memcached variables: @@ -168,8 +169,6 @@ - <<: *docker_imap .services_mysql_postgresql_elasticsearch: &services_mysql_postgresql_elasticsearch - variables: - ELASTICSEARCH_TAG: 'stable' services: - <<: *docker_mysql - <<: *docker_postgresql @@ -178,8 +177,6 @@ .services_mysql_postgresql_elasticsearch_selenium_chrome_imap: &services_mysql_postgresql_elasticsearch_selenium_chrome_imap extends: - .variables_selenium_chrome - variables: - ELASTICSEARCH_TAG: 'stable' services: - <<: *docker_mysql - <<: *docker_postgresql @@ -190,8 +187,6 @@ .services_mysql_postgresql_elasticsearch_selenium_firefox_imap: &services_mysql_postgresql_elasticsearch_selenium_firefox_imap extends: - .variables_selenium_firefox - variables: - ELASTICSEARCH_TAG: 'stable' services: - <<: *docker_mysql - <<: *docker_postgresql @@ -203,8 +198,6 @@ extends: - .variables_selenium_chrome - .variables_redis_memcached - variables: - ELASTICSEARCH_TAG: 'stable' services: - <<: *docker_mysql - <<: *docker_postgresql @@ -218,8 +211,6 @@ extends: - .variables_selenium_firefox - .variables_redis_memcached - variables: - ELASTICSEARCH_TAG: 'stable' services: - <<: *docker_mysql - <<: *docker_postgresql diff --git a/.gitlab/ci/integration/es.yml b/.gitlab/ci/integration/es.yml index dd0f72132..c328c7669 100644 --- a/.gitlab/ci/integration/es.yml +++ b/.gitlab/ci/integration/es.yml @@ -14,14 +14,16 @@ - bundle exec rails test test/integration/elasticsearch_test.rb - bundle exec rspec --tag searchindex --tag ~type:system --profile 10 -"rspec:es:7": - <<: *template_integration_es - variables: - ELASTICSEARCH_TAG: '7' - RAILS_ENV: "test" - +# Lowest supported version "rspec:es:7.8": <<: *template_integration_es variables: ELASTICSEARCH_TAG: '7.8.1' RAILS_ENV: "test" + +# Highest supported version (except for newer releases that are not yet in CI) +"rspec:es:7.16": + <<: *template_integration_es + variables: + ELASTICSEARCH_TAG: '7.16' + RAILS_ENV: "test"