Skip to content

Commit

Permalink
wmde.5 (wmde#303)
Browse files Browse the repository at this point in the history
* wmde.5 elastic update

* Add more missing ELASTICSEARCH_PLUGIN_VERSION

* Build the wmde.5 version

* Add ELASTICSEARCH_PLUGIN_VERSION to es build args

* Undo my ELASTICSEARCH_PLUGIN_VERSION mess (not needed)

* Revert "Undo my ELASTICSEARCH_PLUGIN_VERSION mess (not needed)"

This reverts commit fb84e99.

* ELASTICSEARCH_PLUGIN_EXTRA_VERSION

The versions are not consistent, we need wmf1 for one
and not for the other

* Up timeouts for built_and_test

* wdqs-ui to 3be93201ca2efad44f36430b8cf3a2c94cb22ebf
  • Loading branch information
addshore authored Feb 10, 2022
1 parent 46d8cc6 commit 0dbbd53
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 7 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/built_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ on:
push:

env:
env_file: ${{ github.event.inputs.env_file || 'versions/wmde4.env' }}
env_file: ${{ github.event.inputs.env_file || 'versions/wmde5.env' }}

jobs:

build_wikibase:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -91,6 +92,7 @@ jobs:

build_wikibase_bundle:
runs-on: ubuntu-latest
timeout-minutes: 20
needs:
- build_wikibase
steps:
Expand Down Expand Up @@ -167,6 +169,7 @@ jobs:

build_quickstatements:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -220,6 +223,7 @@ jobs:

build_wdqs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -274,6 +278,7 @@ jobs:

build_wdqs_proxy:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -319,6 +324,7 @@ jobs:

build_wdqs_frontend:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -386,6 +392,7 @@ jobs:

build_elasticsearch:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -456,7 +463,7 @@ jobs:
- build_wdqs_proxy
- build_quickstatements
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
- name: Get Wikibase docker image artifact
Expand Down Expand Up @@ -485,7 +492,7 @@ jobs:
path: test/log

test_upgrade_base:
timeout-minutes: 10
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -521,7 +528,7 @@ jobs:
path: test/log

test_upgrade_bundle:
timeout-minutes: 10
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -555,7 +562,7 @@ jobs:

test_example:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- uses: actions/checkout@v2

Expand All @@ -576,6 +583,7 @@ jobs:
needs:
- test_wikibase
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
- uses: c-py/action-dotenv-to-setenv@v3
Expand Down
4 changes: 2 additions & 2 deletions Docker/build/Elasticsearch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG ELASTICSEARCH_VERSION
FROM elasticsearch:${ELASTICSEARCH_VERSION}

ARG ELASTICSEARCH_VERSION
RUN ./bin/elasticsearch-plugin install org.wikimedia.search:extra:${ELASTICSEARCH_VERSION}
ARG ELASTICSEARCH_PLUGIN_EXTRA_VERSION
RUN ./bin/elasticsearch-plugin install org.wikimedia.search:extra:${ELASTICSEARCH_PLUGIN_EXTRA_VERSION}

ARG ELASTICSEARCH_VERSION
RUN ./bin/elasticsearch-plugin install org.wikimedia.search.highlighter:experimental-highlighter-elasticsearch-plugin:${ELASTICSEARCH_VERSION}
Expand Down
1 change: 1 addition & 0 deletions build/build_elasticsearch_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
echo "Building elasticseach $ELASTICSEARCH_VERSION"
docker build \
--build-arg=ELASTICSEARCH_VERSION="$ELASTICSEARCH_VERSION" \
--build-arg=ELASTICSEARCH_PLUGIN_EXTRA_VERSION="$ELASTICSEARCH_PLUGIN_EXTRA_VERSION" \
Docker/build/Elasticsearch/ -t "$1"

docker save "$1" | gzip -"$GZIP_COMPRESSION_RATE"f > "$(pwd)"/artifacts/elasticsearch.docker.tar.gz
1 change: 1 addition & 0 deletions publish/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ services:
- RELEASE_VERSION
- WMDE_RELEASE_VERSION
- ELASTICSEARCH_VERSION
- ELASTICSEARCH_PLUGIN_EXTRA_VERSION

- DOCKER_HUB_REPOSITORY_NAME
- DOCKER_HUB_ACCESS_TOKEN
Expand Down
1 change: 1 addition & 0 deletions versions/wmde0.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RELEASE_MAJOR_VERSION=1.35
RELEASE_VERSION=1.35.0

ELASTICSEARCH_VERSION=6.5.4
ELASTICSEARCH_PLUGIN_EXTRA_VERSION=6.5.4

PHP_VERSION=7.3
COMPOSER_IMAGE_NAME=docker-registry.wikimedia.org/releng/composer-php73
Expand Down
1 change: 1 addition & 0 deletions versions/wmde1.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RELEASE_MAJOR_VERSION=1.35
RELEASE_VERSION=1.35.2

ELASTICSEARCH_VERSION=6.5.4
ELASTICSEARCH_PLUGIN_EXTRA_VERSION=6.5.4

PHP_VERSION=7.3
COMPOSER_IMAGE_NAME=docker-registry.wikimedia.org/releng/composer-php73
Expand Down
1 change: 1 addition & 0 deletions versions/wmde2.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RELEASE_MAJOR_VERSION=1.35
RELEASE_VERSION=1.35.4

ELASTICSEARCH_VERSION=6.5.4
ELASTICSEARCH_PLUGIN_EXTRA_VERSION=6.5.4

PHP_VERSION=7.4
COMPOSER_IMAGE_NAME=docker-registry.wikimedia.org/releng/composer-php73
Expand Down
1 change: 1 addition & 0 deletions versions/wmde3.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RELEASE_MAJOR_VERSION=1.35
RELEASE_VERSION=1.35.5

ELASTICSEARCH_VERSION=6.5.4
ELASTICSEARCH_PLUGIN_EXTRA_VERSION=6.5.4

PHP_VERSION=7.4
COMPOSER_IMAGE_NAME=docker-registry.wikimedia.org/releng/composer-php73
Expand Down
1 change: 1 addition & 0 deletions versions/wmde4.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RELEASE_MAJOR_VERSION=1.36
RELEASE_VERSION=1.36.3

ELASTICSEARCH_VERSION=6.5.4
ELASTICSEARCH_PLUGIN_EXTRA_VERSION=6.5.4

PHP_VERSION=7.4
COMPOSER_IMAGE_NAME=docker-registry.wikimedia.org/releng/composer-php74
Expand Down
26 changes: 26 additions & 0 deletions versions/wmde5.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
WMDE_RELEASE_VERSION=wmde.5
WIKIBASE_BRANCH_NAME=REL1_36
MEDIAWIKI_BRANCH_NAME=REL1_36

WDQS_VERSION=0.3.97
WDQS_FRONTEND_COMMIT_HASH=3be93201ca2efad44f36430b8cf3a2c94cb22ebf
QUICKSTATEMENTS_COMMIT_HASH=757d238cf6d306f9daf8276f620415cf09f4afe6
MAGNUSTOOLS_COMMIT_HASH=7db2f401390df471d9650010ce059e4308d0cc9e
WIKIBASELOCALMEDIA_COMMIT_HASH=813418de797ac63778770c0bc20994b62fc8d610
WIKIBASEEDTF_COMMIT_HASH=38b94853d1ece0e2dd742aa5aa925d51916a0a28

BUNDLE_EXT_EXTENSIONS=WikibaseLocalMedia,WikibaseEdtf
BUNDLE_WMF_EXTENSIONS=Babel,cldr,CirrusSearch,ConfirmEdit,Elastica,EntitySchema,Nuke,OAuth,Scribunto,SyntaxHighlight_GeSHi,UniversalLanguageSelector,VisualEditor,WikibaseCirrusSearch,WikibaseManifest

MEDIAWIKI_MAJOR_VERSION=1.36
MEDIAWIKI_VERSION=1.36.3

RELEASE_MAJOR_VERSION=1.36
RELEASE_VERSION=1.36.3

ELASTICSEARCH_VERSION=6.8.23
ELASTICSEARCH_PLUGIN_EXTRA_VERSION=6.8.23-wmf1

PHP_VERSION=7.4
COMPOSER_IMAGE_NAME=docker-registry.wikimedia.org/releng/composer-php74
COMPOSER_IMAGE_VERSION=latest

0 comments on commit 0dbbd53

Please sign in to comment.