Thcipriani has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/392871 )
Change subject: Add blubber.yaml
......................................................................
Add blubber.yaml
This is the file that will be used to build mathoid containers for
testing and for production.
This is a subset of Icccb0f79785e6112d4086da2d704d26e4144065e without
any configuration for helm. This creates a pipeline directory rather
than putting a .blubber.yaml at the top level to allow for future
pipeline-related configuration.
Bug: T177954
Change-Id: I60b15718ec25dbb80fe2b205e610b632d55bdf35
---
A pipeline/blubber.yaml
1 file changed, 27 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mathoid
refs/changes/71/392871/1
diff --git a/pipeline/blubber.yaml b/pipeline/blubber.yaml
new file mode 100644
index 0000000..6659ef1
--- /dev/null
+++ b/pipeline/blubber.yaml
@@ -0,0 +1,27 @@
+base: docker-registry.wikimedia.org/nodejs-slim
+apt: { packages: [librsvg2-2] }
+runs:
+ in: /srv/service
+ as: runuser
+ uid: 666
+ gid: 666
+ environment: { APP_BASE_PATH: /srv/service }
+
+variants:
+ build:
+ base: docker-registry.wikimedia.org/nodejs-devel
+ apt: { packages: [librsvg2-dev, git] }
+ node: { dependencies: true }
+ development:
+ includes: [build]
+ entrypoint: [node, server.js]
+ test:
+ includes: [build]
+ entrypoint: [npm, test]
+ prep:
+ includes: [build]
+ node: { env: production }
+ production:
+ copies: prep
+ node: { env: production }
+ entrypoint: [node, server.js]
--
To view, visit https://gerrit.wikimedia.org/r/392871
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I60b15718ec25dbb80fe2b205e610b632d55bdf35
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mathoid
Gerrit-Branch: master
Gerrit-Owner: Thcipriani <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits