aboutsummaryrefslogtreecommitdiffstats
path: root/.pipeline
Commit message (Collapse)AuthorAgeFilesLines
* .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-243-0/+39
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