aboutsummaryrefslogtreecommitdiffstats
path: root/.pipeline/config.yaml
Commit message (Collapse)AuthorAgeFilesLines
* Trigger update-train-versions job at end of wmf-publish pipelineAhmon Dancy2021-06-291-0/+8
| | | | Change-Id: I998a000d4a5f67f77427a1168d39b79d82284608
* pipeline: Drop "core" suffix from wmf branch image namesDan Duvall2021-02-051-0/+1
| | | | | | | | | Image names are derived from the project patch by default, in this case "mediawiki-core". However, single-version images published from building WMF branches contain core+extensions+skins+vendor. Let's name them simply "mediawiki". Change-Id: I7123a0db4e05b4716c180c3ecf72a541a08f4215
* pipeline: Increase fetch depth to 50Dan Duvall2020-12-181-0/+4
| | | | Change-Id: Ibdf99ffe44006c2f307acfe30afc70f7839b4a37
* pipeline: Fix malformed pipeline configDan Duvall2020-12-181-0/+2
| | | | Change-Id: I9a8fd80627831b06f7db6aca0e057fb8349d7677
* pipeline: Define wmf-publish image build pipelineDan Duvall2020-12-141-0/+12
| | | | | | | | | Defines a new wmf-publish pipeline for building and publishing MediaWiki container images from wmf branches. Depends-On: Ie74b45e9455ee2c33912c5426d6b4556368ab0d0 Bug: T269617 Change-Id: I4afb024953b902c739f052fed6ce1bd45dab80c5
* .pipeline/config.yaml: remove extraneous tab characterBrennen Bearnes2019-10-021-1/+1
| | | | Change-Id: Ibafbf255a78189adbd3137359ff331ddd7f856c9
* pipeline: rename publish stage to dev; add dev tagBrennen Bearnes2019-10-011-2/+3
| | | | | | | | | | | | | | | | Renamed `dev` stage of the `publish` pipeline to `publish` here: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/539589 This turns out to have been unnecessary, and is confusing since the name of the stage winds up as part of the default tag on the published images, so reverting. This patch also adds a "dev" tag to the image, so that we have a fixed name for use by development environments. Bug: T234379 Change-Id: I280ec935d5159f2992a62a5e7e33e71b6cbcd8a2
* .pipeline/config.yaml: rename dev stage to publishBrennen Bearnes2019-09-271-2/+1
| | | | | | | | This should align with the "publish" pipeline defined in integration/config. Bug: T218360 Change-Id: Iba27755416843dd547ac1889d932a3b5ea9d1fd2
* Add .pipeline/ with dev image variantBrennen Bearnes2019-09-241-0/+9
This adds a .pipeline/, containing: - blubber.yaml which, for now, defines a single variant for creating a Docker image to be used by the local-charts[0] environment. This image is built on dev-stretch-php72-fpm-apache2, which is defined in dev-images[1]. - dev_prereq.sh which installs some extensions, runs composer, and creates a stub LocalSettings.php in the dev image as a blubber builder command. - config.yaml for building the dev image. This depends on publication of dev/stretch-php72-fpm-apache2 to docker-registry.wikimedia.org: - https://phabricator.wikimedia.org/T223327 - https://phabricator.wikimedia.org/T223329 It can be tested locally by: 1. Installing Docker, blubber[2], and Minikube 2. Building the images in dev-images with `make` 3. Saving a copy of the dev-stretch-php72-fpm-apache2 image: $ docker save -o dev-stretch-php72-fpm-apache2.tar docker-registry.wikimedia.org/dev/dev-stretch-php72-fpm-apache2 4. Importing that image into Minikube's docker: $ eval $(minikube docker-env) $ docker load --input ./dev-stretch-php72-fpm-apache2.tar 5. Building an image tagged "docker-registry.wikimedia.org/dev/mediawiki" from the root of this repository: $ blubber .pipeline/blubber.yaml dev | docker build --pull=false -t docker-registry.wikimedia.org/dev/mediawiki -f - . That image should now be usable by local-charts. [0]. https://gerrit.wikimedia.org/r/plugins/gitiles/releng/local-charts/ [1]. https://gerrit.wikimedia.org/r/plugins/gitiles/releng/dev-images/ [2]. https://wikitech.wikimedia.org/wiki/Blubber/Download Bug: T218360 Change-Id: I1c8192e67c39e86c4903a9137dba7c02faee3145 Depends-On: I8a5a5f2c24d81fb94b104a3a98627d9fbe6059bf