mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-13 13:14:53 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3c51e99538 | |||
| 32a5fd2bad | |||
| 91bd008e62 | |||
| 36953b919c | |||
| 83f9433da0 | |||
| a7d48f567e | |||
| 76eb9064ff | |||
| 147245e120 |
@@ -47,7 +47,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
resolved: ${{ steps.resolve.outputs.resolved }}
|
resolved: ${{ steps.resolve.outputs.resolved }}
|
||||||
steps:
|
steps:
|
||||||
- uses: graycoreio/github-actions-magento2/resolve-check-config@v8.3.0
|
- uses: graycoreio/github-actions-magento2/resolve-check-config@v8.5.0
|
||||||
id: resolve
|
id: resolve
|
||||||
with:
|
with:
|
||||||
kind: extension
|
kind: extension
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -134,7 +134,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -163,7 +163,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -176,7 +176,7 @@ jobs:
|
|||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
COMPOSER_MIRROR_PATH_REPOS: 1
|
COMPOSER_MIRROR_PATH_REPOS: 1
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-di-compile@v8.3.0
|
- uses: graycoreio/github-actions-magento2/setup-di-compile@v8.5.0
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.setup-magento.outputs.path }}
|
path: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
|
||||||
@@ -185,7 +185,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.supported-version.outputs.matrix }}
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.3.0
|
- uses: graycoreio/github-actions-magento2/supported-version@v8.5.0
|
||||||
id: supported-version
|
id: supported-version
|
||||||
with:
|
with:
|
||||||
kind: latest
|
kind: latest
|
||||||
@@ -205,11 +205,11 @@ jobs:
|
|||||||
tools: composer:v${{ matrix.composer }}
|
tools: composer:v${{ matrix.composer }}
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/coding-standard@v8.3.0
|
- uses: graycoreio/github-actions-magento2/coding-standard@v8.5.0
|
||||||
with:
|
with:
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
@@ -225,7 +225,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -254,7 +254,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -267,7 +267,7 @@ jobs:
|
|||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
COMPOSER_MIRROR_PATH_REPOS: 1
|
COMPOSER_MIRROR_PATH_REPOS: 1
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.3.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.5.0
|
||||||
id: magento-version
|
id: magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -301,7 +301,7 @@ jobs:
|
|||||||
run: ../../../vendor/bin/phpunit -c phpunit.xml.dist --testsuite Extension_Integration_Tests
|
run: ../../../vendor/bin/phpunit -c phpunit.xml.dist --testsuite Extension_Integration_Tests
|
||||||
|
|
||||||
- name: Upload test sandbox dir
|
- name: Upload test sandbox dir
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v7
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: sandbox-data-${{ steps.magento-version.outputs.version }}
|
name: sandbox-data-${{ steps.magento-version.outputs.version }}
|
||||||
|
|||||||
@@ -46,19 +46,19 @@ jobs:
|
|||||||
name: ${{ inputs.store_artifact_name }}
|
name: ${{ inputs.store_artifact_name }}
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.3.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.5.0
|
||||||
id: get-magento-version
|
id: get-magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ inputs.path }}
|
working-directory: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.3.0
|
- uses: graycoreio/github-actions-magento2/supported-version@v8.5.0
|
||||||
id: supported-version
|
id: supported-version
|
||||||
with:
|
with:
|
||||||
project: ${{ steps.get-magento-version.outputs.supported_version_project }}
|
project: ${{ steps.get-magento-version.outputs.supported_version_project }}
|
||||||
kind: custom
|
kind: custom
|
||||||
custom_versions: ${{ steps.get-magento-version.outputs.project }}:${{ fromJSON(steps.get-magento-version.outputs.version) }}
|
custom_versions: ${{ steps.get-magento-version.outputs.project }}:${{ fromJSON(steps.get-magento-version.outputs.version) }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/resolve-check-config@v8.3.0
|
- uses: graycoreio/github-actions-magento2/resolve-check-config@v8.5.0
|
||||||
id: resolve
|
id: resolve
|
||||||
with:
|
with:
|
||||||
kind: store
|
kind: store
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
name: ${{ inputs.store_artifact_name }}
|
name: ${{ inputs.store_artifact_name }}
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -90,7 +90,7 @@ jobs:
|
|||||||
working-directory: ${{ inputs.path }}
|
working-directory: ${{ inputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -144,7 +144,7 @@ jobs:
|
|||||||
name: ${{ inputs.store_artifact_name }}
|
name: ${{ inputs.store_artifact_name }}
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -153,7 +153,7 @@ jobs:
|
|||||||
working-directory: ${{ inputs.path }}
|
working-directory: ${{ inputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -178,7 +178,7 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/coding-standard@v8.3.0
|
- uses: graycoreio/github-actions-magento2/coding-standard@v8.5.0
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.setup-magento.outputs.path }}
|
path: ${{ steps.setup-magento.outputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
@@ -201,7 +201,7 @@ jobs:
|
|||||||
name: ${{ inputs.store_artifact_name }}
|
name: ${{ inputs.store_artifact_name }}
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -210,7 +210,7 @@ jobs:
|
|||||||
working-directory: ${{ inputs.path }}
|
working-directory: ${{ inputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -222,7 +222,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-install@v8.3.0
|
- uses: graycoreio/github-actions-magento2/setup-install@v8.5.0
|
||||||
id: setup-install
|
id: setup-install
|
||||||
with:
|
with:
|
||||||
services: ${{ toJSON(matrix.services) }}
|
services: ${{ toJSON(matrix.services) }}
|
||||||
@@ -230,15 +230,15 @@ jobs:
|
|||||||
container_id: ${{ job.services['php-fpm'].id }}
|
container_id: ${{ job.services['php-fpm'].id }}
|
||||||
extra_args: --magento-init-params=MAGE_MODE=developer
|
extra_args: --magento-init-params=MAGE_MODE=developer
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/configure-service-nginx@v8.3.0
|
- uses: graycoreio/github-actions-magento2/configure-service-nginx@v8.5.0
|
||||||
with:
|
with:
|
||||||
container_id: ${{ job.services.nginx.id }}
|
container_id: ${{ job.services.nginx.id }}
|
||||||
magento_path: ${{ inputs.path }}
|
magento_path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/smoke-test@v8.3.0
|
- uses: graycoreio/github-actions-magento2/smoke-test@v8.5.0
|
||||||
with:
|
with:
|
||||||
kind: page
|
kind: page
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/smoke-test@v8.3.0
|
- uses: graycoreio/github-actions-magento2/smoke-test@v8.5.0
|
||||||
with:
|
with:
|
||||||
kind: graphql
|
kind: graphql
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
name: Create Magento ${{ matrix.magento }} Project
|
name: Create Magento ${{ matrix.magento }} Project
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.3.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.5.0
|
||||||
id: magento-version
|
id: magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ inputs.magento_directory }}
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
@@ -182,7 +182,7 @@ jobs:
|
|||||||
name: Run Integration Tests
|
name: Run Integration Tests
|
||||||
|
|
||||||
- name: Upload test sandbox dir
|
- name: Upload test sandbox dir
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v7
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: sandbox-data-${{ steps.magento-version.outputs.version }}
|
name: sandbox-data-${{ steps.magento-version.outputs.version }}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
releases_created: ${{ steps.release.outputs.releases_created }}
|
releases_created: ${{ steps.release.outputs.releases_created }}
|
||||||
steps:
|
steps:
|
||||||
- id: release
|
- id: release
|
||||||
uses: googleapis/release-please-action@v4
|
uses: googleapis/release-please-action@v5
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GRAYCORE_GITHUB_TOKEN }}
|
token: ${{ secrets.GRAYCORE_GITHUB_TOKEN }}
|
||||||
config-file: ${{ inputs.release-mode == 'rc' && 'release-please-config.rc.json' || (inputs.release-mode == 'graduate' && 'release-please-config.graduate.json' || 'release-please-config.json') }}
|
config-file: ${{ inputs.release-mode == 'rc' && 'release-please-config.rc.json' || (inputs.release-mode == 'graduate' && 'release-please-config.graduate.json' || 'release-please-config.json') }}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{".":"8.3.0"}
|
{".":"8.5.0"}
|
||||||
|
|||||||
@@ -2,6 +2,20 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||||
|
|
||||||
|
## [8.5.0](https://github.com/graycoreio/github-actions-magento2/compare/v8.4.0...v8.5.0) (2026-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **setup-install:** run with --no-interaction ([32a5fd2](https://github.com/graycoreio/github-actions-magento2/commit/32a5fd2badfe558e7dced9606765d0d44632c6f0))
|
||||||
|
|
||||||
|
## [8.4.0](https://github.com/graycoreio/github-actions-magento2/compare/v8.3.0...v8.4.0) (2026-05-25)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* remove rabbitmq from supported-version for mage-os/minimal ([83f9433](https://github.com/graycoreio/github-actions-magento2/commit/83f9433da0d7f20efbf090fd8ed75a0a39000797))
|
||||||
|
|
||||||
## [8.3.0](https://github.com/graycoreio/github-actions-magento2/compare/v8.2.0...v8.3.0) (2026-05-25)
|
## [8.3.0](https://github.com/graycoreio/github-actions-magento2/compare/v8.2.0...v8.3.0) (2026-05-25)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ The `composer.lock` hash is derived from `working-directory/composer.lock` using
|
|||||||
### Extension (download cache only)
|
### Extension (download cache only)
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
```
|
```
|
||||||
@@ -41,13 +41,13 @@ The `composer.lock` hash is derived from `working-directory/composer.lock` using
|
|||||||
### Extension or store (download + vendor stamp cache)
|
### Extension or store (download + vendor stamp cache)
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0 # x-release-please-version
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
mode: extension # or store
|
mode: extension # or store
|
||||||
# ...
|
# ...
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -69,7 +69,7 @@ As such, use `stamp: true` when `composer.lock` is stable across most runs — a
|
|||||||
> **Dependabot / Renovate:** Each time a Dependabot or Renovate PR is merged, the remaining open PRs rebase and each produces a new `composer.lock`. This cascades into a large number of unique cache entries, inflating storage costs without delivering proportional compute savings — because automated PRs are not waiting on fast feedback. The fix is to disable stamp caching for automated dependency PRs entirely:
|
> **Dependabot / Renovate:** Each time a Dependabot or Renovate PR is merged, the remaining open PRs rebase and each produces a new `composer.lock`. This cascades into a large number of unique cache entries, inflating storage costs without delivering proportional compute savings — because automated PRs are not waiting on fast feedback. The fix is to disable stamp caching for automated dependency PRs entirely:
|
||||||
>
|
>
|
||||||
> ```yml
|
> ```yml
|
||||||
> - uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0 # x-release-please-version
|
> - uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0 # x-release-please-version
|
||||||
> with:
|
> with:
|
||||||
> stamp: ${{ github.actor != 'dependabot[bot]' }}
|
> stamp: ${{ github.actor != 'dependabot[bot]' }}
|
||||||
> ```
|
> ```
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ runs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.3.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.5.0
|
||||||
id: cache-magento-get-magento-version
|
id: cache-magento-get-magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
tools: composer:v2
|
tools: composer:v2
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/coding-standard@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/coding-standard@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
path: app/code # Optional, defaults to .
|
path: app/code # Optional, defaults to .
|
||||||
version: 25 # Optional, will use the latest if omitted.
|
version: 25 # Optional, will use the latest if omitted.
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ runs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Get Composer Version
|
- name: Get Composer Version
|
||||||
uses: graycoreio/github-actions-magento2/get-composer-version@v8.3.0
|
uses: graycoreio/github-actions-magento2/get-composer-version@v8.5.0
|
||||||
id: get-composer-version
|
id: get-composer-version
|
||||||
if: steps.check-installed.outputs.installed != 'true'
|
if: steps.check-installed.outputs.installed != 'true'
|
||||||
|
|
||||||
- name: Check if allow-plugins option is available for this version of composer
|
- name: Check if allow-plugins option is available for this version of composer
|
||||||
uses: graycoreio/github-actions-magento2/semver-compare@v8.3.0
|
uses: graycoreio/github-actions-magento2/semver-compare@v8.5.0
|
||||||
id: is-allow-plugins-available
|
id: is-allow-plugins-available
|
||||||
if: steps.check-installed.outputs.installed != 'true'
|
if: steps.check-installed.outputs.installed != 'true'
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -55,12 +55,12 @@ jobs:
|
|||||||
matrix: ${{ steps.supported-version.outputs.matrix }}
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/supported-version@v8.5.0 # x-release-please-version
|
||||||
id: supported-version
|
id: supported-version
|
||||||
- run: echo ${{ steps.supported-version.outputs.matrix }}
|
- run: echo ${{ steps.supported-version.outputs.matrix }}
|
||||||
check-extension:
|
check-extension:
|
||||||
needs: compute_matrix
|
needs: compute_matrix
|
||||||
uses: graycoreio/github-actions-magento2/.github/workflows/check-extension.yaml@v8.3.0 # x-release-please-version
|
uses: graycoreio/github-actions-magento2/.github/workflows/check-extension.yaml@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
matrix: ${{ needs.compute_matrix.outputs.matrix }}
|
matrix: ${{ needs.compute_matrix.outputs.matrix }}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-store:
|
check-store:
|
||||||
uses: graycoreio/github-actions-magento2/.github/workflows/check-store.yaml@v8.3.0 # x-release-please-version
|
uses: graycoreio/github-actions-magento2/.github/workflows/check-store.yaml@v8.5.0 # x-release-please-version
|
||||||
secrets:
|
secrets:
|
||||||
composer_auth: ${{ secrets.COMPOSER_AUTH }}
|
composer_auth: ${{ secrets.COMPOSER_AUTH }}
|
||||||
```
|
```
|
||||||
@@ -70,7 +70,7 @@ If your pipeline builds or prepares the store in a prior job and uploads it as a
|
|||||||
```yml
|
```yml
|
||||||
jobs:
|
jobs:
|
||||||
check-store:
|
check-store:
|
||||||
uses: graycoreio/github-actions-magento2/.github/workflows/check-store.yaml@v8.3.0 # x-release-please-version
|
uses: graycoreio/github-actions-magento2/.github/workflows/check-store.yaml@v8.5.0 # x-release-please-version
|
||||||
secrets:
|
secrets:
|
||||||
composer_auth: ${{ secrets.COMPOSER_AUTH }}
|
composer_auth: ${{ secrets.COMPOSER_AUTH }}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -50,13 +50,13 @@ jobs:
|
|||||||
matrix: ${{ steps.supported-version.outputs.matrix }}
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/supported-version@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
include_services: true
|
include_services: true
|
||||||
id: supported-version
|
id: supported-version
|
||||||
integration-workflow:
|
integration-workflow:
|
||||||
needs: compute_matrix
|
needs: compute_matrix
|
||||||
uses: graycoreio/github-actions-magento2/.github/workflows/integration.yaml@v8.3.0 # x-release-please-version
|
uses: graycoreio/github-actions-magento2/.github/workflows/integration.yaml@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
package_name: my-vendor/package
|
package_name: my-vendor/package
|
||||||
matrix: ${{ needs.compute_matrix.outputs.matrix }}
|
matrix: ${{ needs.compute_matrix.outputs.matrix }}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: graycoreio/github-actions-magento2/fix-magento-install@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/fix-magento-install@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
magento_directory: path/to/magento
|
magento_directory: path/to/magento
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.3.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.5.0
|
||||||
id: init-magento-get-magento-version
|
id: init-magento-get-magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ inputs.magento_directory }}
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
name: A job to compute an installed Composer version.
|
name: A job to compute an installed Composer version.
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: graycoreio/github-actions-magento2/get-composer-version@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/get-composer-version@v8.5.0 # x-release-please-version
|
||||||
id: get-composer-version
|
id: get-composer-version
|
||||||
- run: echo version ${{ steps.get-composer-version.outputs.version }}
|
- run: echo version ${{ steps.get-composer-version.outputs.version }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
name: A job to compute an installed Magento version.
|
name: A job to compute an installed Magento version.
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.5.0 # x-release-please-version
|
||||||
id: get-magento-version
|
id: get-magento-version
|
||||||
- run: echo version ${{ steps.get-magento-version.outputs.version }}
|
- run: echo version ${{ steps.get-magento-version.outputs.version }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@graycoreio/github-actions-magento2",
|
"name": "@graycoreio/github-actions-magento2",
|
||||||
"version": "8.3.0",
|
"version": "8.5.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@graycoreio/github-actions-magento2",
|
"name": "@graycoreio/github-actions-magento2",
|
||||||
"version": "8.3.0",
|
"version": "8.5.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.11.1",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@graycoreio/github-actions-magento2",
|
"name": "@graycoreio/github-actions-magento2",
|
||||||
"version": "8.3.0",
|
"version": "8.5.0",
|
||||||
"description": "Github Actions for Magento 2",
|
"description": "Github Actions for Magento 2",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "cd supported-version && npm run test && cd - && cd setup-install && npm run test && cd -",
|
"test": "cd supported-version && npm run test && cd - && cd setup-install && npm run test && cd -",
|
||||||
|
|||||||
@@ -21,12 +21,12 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
resolved: ${{ steps.resolve.outputs.resolved }}
|
resolved: ${{ steps.resolve.outputs.resolved }}
|
||||||
steps:
|
steps:
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/supported-version@v8.5.0 # x-release-please-version
|
||||||
id: supported-version
|
id: supported-version
|
||||||
with:
|
with:
|
||||||
kind: currently-supported
|
kind: currently-supported
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/resolve-check-config@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/resolve-check-config@v8.5.0 # x-release-please-version
|
||||||
id: resolve
|
id: resolve
|
||||||
with:
|
with:
|
||||||
kind: store
|
kind: store
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/sansec-ecomscan@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/sansec-ecomscan@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
license: ${{ secrets.SANSEC_LICENSE_KEY }}
|
license: ${{ secrets.SANSEC_LICENSE_KEY }}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
name: A job to semantically compare two versions
|
name: A job to semantically compare two versions
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: graycoreio/github-actions-magento2/semver-compare@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/semver-compare@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
version: 2.1.0
|
version: 2.1.0
|
||||||
compare_against: 2.2.3
|
compare_against: 2.2.3
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
matrix: ${{ steps.supported-version.outputs.matrix }}
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/supported-version@v8.5.0 # x-release-please-version
|
||||||
id: supported-version
|
id: supported-version
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
@@ -40,19 +40,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0 # x-release-please-version
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
tools: composer:v${{ matrix.composer }}
|
tools: composer:v${{ matrix.composer }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/cache-magento@v8.5.0 # x-release-please-version
|
||||||
|
|
||||||
- run: composer install
|
- run: composer install
|
||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
|
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-di-compile@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/setup-di-compile@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.setup-magento.outputs.path }}
|
path: ${{ steps.setup-magento.outputs.path }}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
matrix: ${{ steps.supported-version.outputs.matrix }}
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/supported-version@v8.5.0 # x-release-please-version
|
||||||
id: supported-version
|
id: supported-version
|
||||||
with:
|
with:
|
||||||
include_services: "true"
|
include_services: "true"
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0 # x-release-please-version
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -64,7 +64,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
|
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-install@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/setup-install@v8.5.0 # x-release-please-version
|
||||||
with:
|
with:
|
||||||
services: ${{ toJSON(matrix.services) }}
|
services: ${{ toJSON(matrix.services) }}
|
||||||
path: ${{ steps.setup-magento.outputs.path }}
|
path: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -8,6 +8,7 @@ const BASE_ARGS = [
|
|||||||
'--admin-firstname=Admin',
|
'--admin-firstname=Admin',
|
||||||
'--admin-lastname=User',
|
'--admin-lastname=User',
|
||||||
'--backend-frontname=admin',
|
'--backend-frontname=admin',
|
||||||
|
'--no-interaction',
|
||||||
];
|
];
|
||||||
|
|
||||||
const MYSQL_SERVICE = {
|
const MYSQL_SERVICE = {
|
||||||
@@ -60,6 +61,10 @@ describe('buildInstallArgs', () => {
|
|||||||
it('returns only base args when services is empty', () => {
|
it('returns only base args when services is empty', () => {
|
||||||
expect(buildInstallArgs({})).toEqual(BASE_ARGS);
|
expect(buildInstallArgs({})).toEqual(BASE_ARGS);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('runs non-interactively', () => {
|
||||||
|
expect(buildInstallArgs(null)).toContain('--no-interaction');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('mysql', () => {
|
describe('mysql', () => {
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ const BASE_ARGS = [
|
|||||||
'--admin-firstname=Admin',
|
'--admin-firstname=Admin',
|
||||||
'--admin-lastname=User',
|
'--admin-lastname=User',
|
||||||
'--backend-frontname=admin',
|
'--backend-frontname=admin',
|
||||||
|
'--no-interaction',
|
||||||
];
|
];
|
||||||
|
|
||||||
const parsePort = (svc: ServiceConfig | undefined, index: 0 | 1, fallback: string): string => {
|
const parsePort = (svc: ServiceConfig | undefined, index: 0 | 1, fallback: string): string => {
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0 # x-release-please-version
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: "8.3"
|
php-version: "8.3"
|
||||||
@@ -89,7 +89,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/setup-magento@v8.5.0 # x-release-please-version
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: "8.3"
|
php-version: "8.3"
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
printf '%s\n' "$line" >> .gitattributes
|
printf '%s\n' "$line" >> .gitattributes
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/fix-magento-install@v8.3.0
|
- uses: graycoreio/github-actions-magento2/fix-magento-install@v8.5.0
|
||||||
name: Fix Magento Out of Box Install Issues
|
name: Fix Magento Out of Box Install Issues
|
||||||
with:
|
with:
|
||||||
magento_directory: ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }}
|
magento_directory: ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }}
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ with:
|
|||||||
### Example
|
### Example
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/supported-version@v8.5.0 # x-release-please-version
|
||||||
id: supported-version
|
id: supported-version
|
||||||
with:
|
with:
|
||||||
kind: currently-supported
|
kind: currently-supported
|
||||||
@@ -94,7 +94,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.supported-version.outputs.matrix }}
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.3.0 # x-release-please-version
|
- uses: graycoreio/github-actions-magento2/supported-version@v8.5.0 # x-release-please-version
|
||||||
id: supported-version
|
id: supported-version
|
||||||
- run: echo ${{ steps.supported-version.outputs.matrix }}
|
- run: echo ${{ steps.supported-version.outputs.matrix }}
|
||||||
```
|
```
|
||||||
|
|||||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
@@ -1,5 +1,7 @@
|
|||||||
import { buildServicesForEntry } from './build-services';
|
import { buildServicesForEntry } from './build-services';
|
||||||
import { PackageMatrixVersion } from '../matrix/matrix-type';
|
import { PackageMatrixVersion } from '../matrix/matrix-type';
|
||||||
|
import mageOsMinimalIndividual from '../versions/mage-os-minimal/individual.json';
|
||||||
|
import mageOsMinimalComposite from '../versions/mage-os-minimal/composite.json';
|
||||||
|
|
||||||
const createTestEntry = (overrides: Partial<PackageMatrixVersion> = {}): PackageMatrixVersion => ({
|
const createTestEntry = (overrides: Partial<PackageMatrixVersion> = {}): PackageMatrixVersion => ({
|
||||||
magento: 'magento/project-community-edition:2.4.7',
|
magento: 'magento/project-community-edition:2.4.7',
|
||||||
@@ -362,4 +364,17 @@ describe('buildServicesForEntry', () => {
|
|||||||
expect(withPref).toEqual(withoutPref);
|
expect(withPref).toEqual(withoutPref);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('mage-os-minimal', () => {
|
||||||
|
const minimalEntries: [string, PackageMatrixVersion][] = [
|
||||||
|
...Object.entries(mageOsMinimalIndividual as unknown as Record<string, PackageMatrixVersion>),
|
||||||
|
...Object.entries(mageOsMinimalComposite as unknown as Record<string, PackageMatrixVersion>)
|
||||||
|
];
|
||||||
|
|
||||||
|
it.each(minimalEntries)('omits rabbitmq from services for %s', (_key, entry) => {
|
||||||
|
const services = buildServicesForEntry(entry);
|
||||||
|
|
||||||
|
expect(services.rabbitmq).toBeUndefined();
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
"composer": "2.9.8",
|
"composer": "2.9.8",
|
||||||
"mysql": "mysql:8.4",
|
"mysql": "mysql:8.4",
|
||||||
"opensearch": "opensearchproject/opensearch:3",
|
"opensearch": "opensearchproject/opensearch:3",
|
||||||
"rabbitmq": "rabbitmq:4.2-management",
|
|
||||||
"valkey": "valkey/valkey:9",
|
"valkey": "valkey/valkey:9",
|
||||||
"varnish": "varnish:8",
|
"varnish": "varnish:8",
|
||||||
"nginx": "nginx:1.28",
|
"nginx": "nginx:1.28",
|
||||||
@@ -19,7 +18,6 @@
|
|||||||
"composer": "2.9.8",
|
"composer": "2.9.8",
|
||||||
"mysql": "mysql:8.4",
|
"mysql": "mysql:8.4",
|
||||||
"opensearch": "opensearchproject/opensearch:3",
|
"opensearch": "opensearchproject/opensearch:3",
|
||||||
"rabbitmq": "rabbitmq:4.2-management",
|
|
||||||
"valkey": "valkey/valkey:9",
|
"valkey": "valkey/valkey:9",
|
||||||
"varnish": "varnish:8",
|
"varnish": "varnish:8",
|
||||||
"nginx": "nginx:1.28",
|
"nginx": "nginx:1.28",
|
||||||
@@ -33,7 +31,6 @@
|
|||||||
"composer": "2.9.8",
|
"composer": "2.9.8",
|
||||||
"mysql": "mysql:8.4",
|
"mysql": "mysql:8.4",
|
||||||
"opensearch": "opensearchproject/opensearch:3",
|
"opensearch": "opensearchproject/opensearch:3",
|
||||||
"rabbitmq": "rabbitmq:4.2-management",
|
|
||||||
"valkey": "valkey/valkey:9",
|
"valkey": "valkey/valkey:9",
|
||||||
"varnish": "varnish:8",
|
"varnish": "varnish:8",
|
||||||
"nginx": "nginx:1.28",
|
"nginx": "nginx:1.28",
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
"composer": "2.9.8",
|
"composer": "2.9.8",
|
||||||
"mysql": "mysql:8.4",
|
"mysql": "mysql:8.4",
|
||||||
"opensearch": "opensearchproject/opensearch:3",
|
"opensearch": "opensearchproject/opensearch:3",
|
||||||
"rabbitmq": "rabbitmq:4.2-management",
|
|
||||||
"valkey": "valkey/valkey:9",
|
"valkey": "valkey/valkey:9",
|
||||||
"varnish": "varnish:8",
|
"varnish": "varnish:8",
|
||||||
"nginx": "nginx:1.28",
|
"nginx": "nginx:1.28",
|
||||||
|
|||||||
Reference in New Issue
Block a user