From 3e16c7b08526b49118c1265de3ce53f16c6b3580 Mon Sep 17 00:00:00 2001 From: Birgit Pauli-Haack Date: Mon, 9 Dec 2024 13:28:13 +0100 Subject: [PATCH 1/3] create dirs, add blueprint.json --- assets/blueprints/blueprint.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 assets/blueprints/blueprint.json diff --git a/assets/blueprints/blueprint.json b/assets/blueprints/blueprint.json new file mode 100644 index 00000000000000..cf95a5ca0b98aa --- /dev/null +++ b/assets/blueprints/blueprint.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://playground.wordpress.net/blueprint-schema.json", + "landingPage": "/wp-admin/site-editor.php", + "plugins": [ "gutenberg" ], + "login": true, + "features": { + "networking": true + }, + "preferredVersions": { + "php": "8.0", + "wp": "latest" + }, + "steps": [ + { + "step": "setSiteOptions", + "options": { + "blogname": "Testing Gutenberg" + } + } + ] +} From 4e22f99d1022f71d789accdb22405cd7cc1147cd Mon Sep 17 00:00:00 2001 From: Birgit Pauli-Haack Date: Wed, 11 Dec 2024 12:17:28 +0100 Subject: [PATCH 2/3] updated landing page and php setting --- assets/blueprints/blueprint.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/blueprints/blueprint.json b/assets/blueprints/blueprint.json index cf95a5ca0b98aa..d847c668737099 100644 --- a/assets/blueprints/blueprint.json +++ b/assets/blueprints/blueprint.json @@ -1,13 +1,13 @@ { "$schema": "https://playground.wordpress.net/blueprint-schema.json", - "landingPage": "/wp-admin/site-editor.php", + "landingPage": "/wp-admin/post.php?post=1&action=edit", "plugins": [ "gutenberg" ], "login": true, "features": { "networking": true }, "preferredVersions": { - "php": "8.0", + "php": "latest", "wp": "latest" }, "steps": [ From 9b2b619084f87804a502b941c6f11fb89d94d411 Mon Sep 17 00:00:00 2001 From: Birgit Pauli-Haack Date: Wed, 11 Dec 2024 12:23:29 +0100 Subject: [PATCH 3/3] add step to set admin_color to modern --- assets/blueprints/blueprint.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/blueprints/blueprint.json b/assets/blueprints/blueprint.json index d847c668737099..d0626ffc15dd90 100644 --- a/assets/blueprints/blueprint.json +++ b/assets/blueprints/blueprint.json @@ -16,6 +16,13 @@ "options": { "blogname": "Testing Gutenberg" } + }, + { + "step": "updateUserMeta", + "meta": { + "admin_color": "modern" + }, + "userId": 1 } ] }