On build a local.env file can be used to override any default settings
SKIP_INSTALL_SELENIUM_TEST_DEPENDENCIES=1
GERRIT_EXTENSION_BRANCH_NAME=REL1_35
GZIP_COMPRESSION_RATE=1
SELENIUM_LOG_LEVEL=trace
See publishing.
The versions
folder contains .env files with the specific versions of the components to be build for that specific release.
For example, the wmde1.env
file contains the following variables to tell the pipeline to use the Wikibase REL1_35 branch and the mediawiki
image.
...
WIKIBASE_BRANCH_NAME=REL1_35
MEDIAWIKI_BRANCH_NAME=REL1_35
...
The build workflow will trigger on pushes to the env file configured as the default version.
env:
env_file: ${{ github.event.inputs.env_file || '.env' }}
If there is a requirement to build a specific version this can be done by changing the default for the whole pipeline or manually running the pipeline.
To manually run the pipeline go to to actions, click the workflow and run the workflow with the desired .env
file from the versions folder.
To build artifacts using docker run the following command which would execute the wikibase pipeline step and produce the artifacts in the artifacts
folder using the wmde1.env
environment file. See the Makefile for more build options.
bash build.sh wikibase versions/wmde1.env