Skip to content

Commit 5fc9a66

Browse files
committed
Disable github actions
1 parent 4cd964d commit 5fc9a66

File tree

2 files changed

+197
-178
lines changed

2 files changed

+197
-178
lines changed

.github/workflows/build.yaml

Lines changed: 178 additions & 178 deletions
Original file line numberDiff line numberDiff line change
@@ -1,178 +1,178 @@
1-
name: Build
2-
3-
on:
4-
push:
5-
branches-ignore:
6-
- 'dependabot/**'
7-
pull_request: ~
8-
release:
9-
types: [created]
10-
schedule:
11-
-
12-
cron: "0 1 * * 6" # Run at 1am every Saturday
13-
workflow_dispatch: ~
14-
15-
jobs:
16-
tests:
17-
runs-on: ubuntu-latest
18-
19-
name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}"
20-
21-
strategy:
22-
fail-fast: false
23-
matrix:
24-
php: ["8.3"]
25-
symfony: ["^6.4", "^7.3"]
26-
sylius: ["~2.0.0", "~2.1.0"]
27-
node: ["22.x"]
28-
mysql: ["8.4"]
29-
30-
env:
31-
APP_ENV: test
32-
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?serverVersion=${{ matrix.mysql }}"
33-
34-
steps:
35-
-
36-
uses: actions/checkout@v4
37-
38-
-
39-
name: Setup PHP
40-
uses: shivammathur/setup-php@v2
41-
with:
42-
php-version: "${{ matrix.php }}"
43-
extensions: intl
44-
tools: flex, symfony
45-
coverage: none
46-
47-
-
48-
name: Setup Node
49-
uses: actions/setup-node@v4
50-
with:
51-
node-version: "${{ matrix.node }}"
52-
53-
-
54-
name: Shutdown default MySQL
55-
run: sudo service mysql stop
56-
57-
-
58-
name: Setup MySQL
59-
uses: mirromutth/mysql-action@v1.1
60-
with:
61-
mysql version: "${{ matrix.mysql }}"
62-
mysql root password: "root"
63-
64-
-
65-
name: Output PHP version for Symfony CLI
66-
run: php -v | head -n 1 | awk '{ print $2 }' > .php-version
67-
68-
-
69-
name: Install certificates
70-
run: symfony server:ca:install
71-
72-
-
73-
name: Get Composer cache directory
74-
id: composer-cache
75-
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
76-
77-
-
78-
name: Cache Composer
79-
uses: actions/cache@v4
80-
with:
81-
path: ${{ steps.composer-cache.outputs.dir }}
82-
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json **/composer.lock') }}
83-
restore-keys: |
84-
${{ runner.os }}-php-${{ matrix.php }}-composer-
85-
86-
-
87-
name: Restrict Symfony version
88-
if: matrix.symfony != ''
89-
run: |
90-
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^2.4"
91-
composer global config --no-plugins allow-plugins.symfony/flex true
92-
composer config extra.symfony.require "${{ matrix.symfony }}"
93-
94-
-
95-
name: Restrict Sylius version
96-
if: matrix.sylius != ''
97-
run: composer require "sylius/sylius:${{ matrix.sylius }}" --no-update --no-scripts --no-interaction
98-
99-
-
100-
name: Install PHP dependencies
101-
run: composer install --no-interaction
102-
103-
-
104-
name: Run unit tests
105-
run: vendor/bin/phpunit --colors=always --testsuite=unit
106-
107-
-
108-
name: Get Yarn cache directory
109-
id: yarn-cache
110-
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
111-
112-
-
113-
name: Cache Yarn
114-
uses: actions/cache@v4
115-
with:
116-
path: ${{ steps.yarn-cache.outputs.dir }}
117-
key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/package.json **/yarn.lock') }}
118-
restore-keys: |
119-
${{ runner.os }}-node-${{ matrix.node }}-yarn-
120-
121-
-
122-
name: Install JS dependencies
123-
run: (cd vendor/sylius/test-application && yarn install)
124-
125-
-
126-
name: Prepare test application database
127-
run: |
128-
(vendor/bin/console doctrine:database:create -vvv)
129-
(vendor/bin/console doctrine:schema:create -vvv)
130-
131-
-
132-
name: Prepare test application assets
133-
run: |
134-
vendor/bin/console assets:install -vvv
135-
(cd vendor/sylius/test-application && yarn build)
136-
137-
-
138-
name: Prepare test application cache
139-
run: vendor/bin/console cache:warmup -vvv
140-
141-
-
142-
name: Load fixtures in test application
143-
run: vendor/bin/console sylius:fixtures:load -n
144-
145-
-
146-
name: Validate composer.json
147-
run: composer validate --ansi --strict
148-
149-
-
150-
name: Validate container
151-
run: vendor/bin/console lint:container
152-
153-
-
154-
name: Run Non-unit PHPUnit tests
155-
run: vendor/bin/phpunit --colors=always --testsuite=non-unit
156-
157-
-
158-
name: Run Chrome Headless
159-
run: google-chrome-stable --enable-automation --disable-background-networking --no-default-browser-check --no-first-run --disable-popup-blocking --disable-default-apps --allow-insecure-localhost --disable-translate --disable-extensions --no-sandbox --enable-features=Metal --headless --remote-debugging-port=9222 --window-size=2880,1800 --proxy-server='direct://' --proxy-bypass-list='*' http://127.0.0.1 > /dev/null 2>&1 &
160-
161-
-
162-
name: Run webserver
163-
run: symfony server:start --port=8080 --daemon
164-
165-
-
166-
name: Run Behat
167-
run: vendor/bin/behat --colors --strict -vvv --no-interaction -f progress || vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --rerun
168-
169-
-
170-
name: Upload Behat logs
171-
uses: actions/upload-artifact@v4
172-
if: failure()
173-
with:
174-
name: "Behat logs - ${{ matrix.sylius }}-${{ github.run_id }}-${{ github.run_number }}"
175-
path: etc/build/
176-
if-no-files-found: ignore
177-
compression-level: 6
178-
overwrite: true
1+
#name: Build
2+
#
3+
#on:
4+
# push:
5+
# branches-ignore:
6+
# - 'dependabot/**'
7+
# pull_request: ~
8+
# release:
9+
# types: [created]
10+
# schedule:
11+
# -
12+
# cron: "0 1 * * 6" # Run at 1am every Saturday
13+
# workflow_dispatch: ~
14+
#
15+
#jobs:
16+
# tests:
17+
# runs-on: ubuntu-latest
18+
#
19+
# name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}"
20+
#
21+
# strategy:
22+
# fail-fast: false
23+
# matrix:
24+
# php: ["8.3"]
25+
# symfony: ["^6.4", "^7.3"]
26+
# sylius: ["~2.0.0", "~2.1.0"]
27+
# node: ["22.x"]
28+
# mysql: ["8.4"]
29+
#
30+
# env:
31+
# APP_ENV: test
32+
# DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?serverVersion=${{ matrix.mysql }}"
33+
#
34+
# steps:
35+
# -
36+
# uses: actions/checkout@v4
37+
#
38+
# -
39+
# name: Setup PHP
40+
# uses: shivammathur/setup-php@v2
41+
# with:
42+
# php-version: "${{ matrix.php }}"
43+
# extensions: intl
44+
# tools: flex, symfony
45+
# coverage: none
46+
#
47+
# -
48+
# name: Setup Node
49+
# uses: actions/setup-node@v4
50+
# with:
51+
# node-version: "${{ matrix.node }}"
52+
#
53+
# -
54+
# name: Shutdown default MySQL
55+
# run: sudo service mysql stop
56+
#
57+
# -
58+
# name: Setup MySQL
59+
# uses: mirromutth/mysql-action@v1.1
60+
# with:
61+
# mysql version: "${{ matrix.mysql }}"
62+
# mysql root password: "root"
63+
#
64+
# -
65+
# name: Output PHP version for Symfony CLI
66+
# run: php -v | head -n 1 | awk '{ print $2 }' > .php-version
67+
#
68+
# -
69+
# name: Install certificates
70+
# run: symfony server:ca:install
71+
#
72+
# -
73+
# name: Get Composer cache directory
74+
# id: composer-cache
75+
# run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
76+
#
77+
# -
78+
# name: Cache Composer
79+
# uses: actions/cache@v4
80+
# with:
81+
# path: ${{ steps.composer-cache.outputs.dir }}
82+
# key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json **/composer.lock') }}
83+
# restore-keys: |
84+
# ${{ runner.os }}-php-${{ matrix.php }}-composer-
85+
#
86+
# -
87+
# name: Restrict Symfony version
88+
# if: matrix.symfony != ''
89+
# run: |
90+
# composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^2.4"
91+
# composer global config --no-plugins allow-plugins.symfony/flex true
92+
# composer config extra.symfony.require "${{ matrix.symfony }}"
93+
#
94+
# -
95+
# name: Restrict Sylius version
96+
# if: matrix.sylius != ''
97+
# run: composer require "sylius/sylius:${{ matrix.sylius }}" --no-update --no-scripts --no-interaction
98+
#
99+
# -
100+
# name: Install PHP dependencies
101+
# run: composer install --no-interaction
102+
#
103+
# -
104+
# name: Run unit tests
105+
# run: vendor/bin/phpunit --colors=always --testsuite=unit
106+
#
107+
# -
108+
# name: Get Yarn cache directory
109+
# id: yarn-cache
110+
# run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
111+
#
112+
# -
113+
# name: Cache Yarn
114+
# uses: actions/cache@v4
115+
# with:
116+
# path: ${{ steps.yarn-cache.outputs.dir }}
117+
# key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/package.json **/yarn.lock') }}
118+
# restore-keys: |
119+
# ${{ runner.os }}-node-${{ matrix.node }}-yarn-
120+
#
121+
# -
122+
# name: Install JS dependencies
123+
# run: (cd vendor/sylius/test-application && yarn install)
124+
#
125+
# -
126+
# name: Prepare test application database
127+
# run: |
128+
# (vendor/bin/console doctrine:database:create -vvv)
129+
# (vendor/bin/console doctrine:schema:create -vvv)
130+
#
131+
# -
132+
# name: Prepare test application assets
133+
# run: |
134+
# vendor/bin/console assets:install -vvv
135+
# (cd vendor/sylius/test-application && yarn build)
136+
#
137+
# -
138+
# name: Prepare test application cache
139+
# run: vendor/bin/console cache:warmup -vvv
140+
#
141+
# -
142+
# name: Load fixtures in test application
143+
# run: vendor/bin/console sylius:fixtures:load -n
144+
#
145+
# -
146+
# name: Validate composer.json
147+
# run: composer validate --ansi --strict
148+
#
149+
# -
150+
# name: Validate container
151+
# run: vendor/bin/console lint:container
152+
#
153+
# -
154+
# name: Run Non-unit PHPUnit tests
155+
# run: vendor/bin/phpunit --colors=always --testsuite=non-unit
156+
#
157+
# -
158+
# name: Run Chrome Headless
159+
# run: google-chrome-stable --enable-automation --disable-background-networking --no-default-browser-check --no-first-run --disable-popup-blocking --disable-default-apps --allow-insecure-localhost --disable-translate --disable-extensions --no-sandbox --enable-features=Metal --headless --remote-debugging-port=9222 --window-size=2880,1800 --proxy-server='direct://' --proxy-bypass-list='*' http://127.0.0.1 > /dev/null 2>&1 &
160+
#
161+
# -
162+
# name: Run webserver
163+
# run: symfony server:start --port=8080 --daemon
164+
#
165+
# -
166+
# name: Run Behat
167+
# run: vendor/bin/behat --colors --strict -vvv --no-interaction -f progress || vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --rerun
168+
#
169+
# -
170+
# name: Upload Behat logs
171+
# uses: actions/upload-artifact@v4
172+
# if: failure()
173+
# with:
174+
# name: "Behat logs - ${{ matrix.sylius }}-${{ github.run_id }}-${{ github.run_number }}"
175+
# path: etc/build/
176+
# if-no-files-found: ignore
177+
# compression-level: 6
178+
# overwrite: true

UPGRADE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
sylius_ui -> sylius_legacy_bridge
2+
3+
{{ encore_entry_link_tags('shop-entry', null, 'shop') }} -> {{ encore_entry_link_tags('legacy-shop-entry', null, 'legacy.shop') }}
4+
{{ encore_entry_script_tags('shop-entry', null, 'shop') }} -> {{ encore_entry_script_tags('legacy-shop-entry', null, 'legacy.shop') }}
5+
6+
{{ asset('build/shop/images/logo.png', 'shop') }} -> {{ asset('build/legacy/shop/images/logo.png', 'legacy.shop') }}
7+
{{ asset('build/shop/images/sylius-plus-banner.png', 'shop') }} -> {{ asset('build/legacy/shop/images/sylius-plus-banner.png', 'legacy.shop') }}
8+
9+
\{\{\s*asset\(\s*(['"])build\/shop\/([^'"]+)\1\s*,\s*(['"])shop\3\s*\)\s*\}\}
10+
{{ asset($1build/legacy/shop/$2$1, $3legacy.shop$3) }}
11+
12+
13+
14+
do package.json
15+
"jquery": "^3.5.0",
16+
"lightbox2": "^2.9.0",
17+
"semantic-ui-css": "^2.2.0",
18+
"slick-carousel": "^1.8.1"
19+

0 commit comments

Comments
 (0)