Skip to content

Commit 32a2ec4

Browse files
committed
feat: upgrade magento version, add varnish command, remove blackfire add spx
1 parent de8aba0 commit 32a2ec4

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-10
lines changed

.env

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WARDEN_REDIS=1
1616
OPENSEARCH_VERSION=2.5
1717
MYSQL_DISTRIBUTION=mariadb
1818
MYSQL_DISTRIBUTION_VERSION=10.6
19-
NODE_VERSION=18
19+
NODE_VERSION=20
2020
COMPOSER_VERSION=2.2
2121
PHP_VERSION=8.1
2222
PHP_XDEBUG_3=1
@@ -29,15 +29,12 @@ WARDEN_SYNC_IGNORE=
2929
WARDEN_ALLURE=0
3030
WARDEN_SELENIUM=0
3131
WARDEN_SELENIUM_DEBUG=0
32-
WARDEN_BLACKFIRE=1
32+
WARDEN_BLACKFIRE=0
33+
WARDEN_PHP_SPX=1
3334
WARDEN_SPLIT_SALES=0
3435
WARDEN_SPLIT_CHECKOUT=0
3536
WARDEN_TEST_DB=0
3637
WARDEN_MAGEPACK=0
3738
NGINX_APM=
3839
TIDEWAYS_APIKEY=
3940

40-
BLACKFIRE_CLIENT_ID=
41-
BLACKFIRE_CLIENT_TOKEN=
42-
BLACKFIRE_SERVER_ID=
43-
BLACKFIRE_SERVER_TOKEN=

.warden/commands/varnishlog.cmd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
[[ ! ${WARDEN_DIR} ]] && >&2 echo -e "\033[31mThis script is not intended to be run directly!\033[0m" && exit 1
3+
4+
WARDEN_ENV_PATH="$(locateEnvPath)" || exit $?
5+
loadEnvConfig "${WARDEN_ENV_PATH}" || exit $?
6+
7+
trap '' ERR
8+
9+
"$WARDEN_BIN" env exec varnish varnishlog -- "$@"

.warden/commands/varnishlog.help

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
[[ ! ${WARDEN_DIR} ]] && >&2 echo -e "\033[31mThis script is not intended to be run directly!\033[0m" && exit 1
3+
4+
WARDEN_USAGE=$(cat <<EOF
5+
\033[33mUsage:\033[0m
6+
varnishlog [args]
7+
8+
\033[33mOptions:\033[0m
9+
-h, --help Display this help menu
10+
EOF
11+
)

composer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
"preferred-install": "dist",
1717
"sort-packages": true
1818
},
19-
"version": "2.4.6-p4",
19+
"version": "2.4.7-p2",
2020
"require": {
21-
"magento/composer-dependency-version-audit-plugin": "~0.1",
22-
"magento/composer-root-update-plugin": "~2.0",
23-
"magento/product-community-edition": "2.4.6-p4"
21+
"magento/product-community-edition": "2.4.7-p2"
2422
},
2523
"autoload": {
2624
"exclude-from-classmap": [

0 commit comments

Comments
 (0)