mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-15 05:51:20 +00:00
Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6776e7f306 | |||
| c136c111d9 | |||
| d3b1ab6b34 | |||
| 1d9ad11e92 | |||
| 0f31e401b7 | |||
| e3f4c10c7b | |||
| dbc889f7ce | |||
| c0390c8abd | |||
| d43068a144 | |||
| 805b23b1fa | |||
| b0e1a0a943 | |||
| 725ba09bf5 | |||
| 9d6355d5e6 | |||
| 7b74ff7386 | |||
| f5d43a5184 | |||
| 856d2df481 | |||
| d8936216c0 | |||
| 84c16c2ad9 | |||
| fd858c3063 |
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
||||||
|
parser: '@typescript-eslint/parser',
|
||||||
|
plugins: ['@typescript-eslint'],
|
||||||
|
root: true,
|
||||||
|
};
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
name: Get Magento Version
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- ".github/workflows/_internal-get-magento-version.yaml"
|
||||||
|
- "get-magento-version/**"
|
||||||
|
- "!(**/*.md)"
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- ".github/workflows/_internal-get-magento-version.yaml"
|
||||||
|
- "get-magento-version/**"
|
||||||
|
- "!(**/*.md)"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
get-magento-version:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set PHP Version
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
|
with:
|
||||||
|
php-version: 8.1
|
||||||
|
tools: composer:v2.4.2
|
||||||
|
|
||||||
|
- run: composer create-project --repository-url="https://mirror.mage-os.org" "magento/project-community-edition:2.4.5-p1" ../magento2 --no-install
|
||||||
|
shell: bash
|
||||||
|
name: Create Magento ${{ matrix.magento }} Project
|
||||||
|
|
||||||
|
- uses: ./get-magento-version
|
||||||
|
id: magento-version
|
||||||
|
with:
|
||||||
|
working-directory: ../magento2
|
||||||
|
|
||||||
|
- name: Fail if key does not match
|
||||||
|
if: steps.magento-version.outputs.version != '"2.4.5-p1"'
|
||||||
|
shell: bash
|
||||||
|
run: echo "${{ steps.magento-version.outputs.version }}" && exit 1
|
||||||
|
|
||||||
@@ -0,0 +1,127 @@
|
|||||||
|
name: Setup Magento Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch: {}
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "setup-magento/**"
|
||||||
|
- ".github/workflows/_internal-setup-magento.yaml"
|
||||||
|
- "supported-version/**"
|
||||||
|
- "!(**/*.md)"
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "setup-magento/**"
|
||||||
|
- ".github/workflows/_internal-setup-magento.yaml"
|
||||||
|
- "supported-version/**"
|
||||||
|
- "!(**/*.md)"
|
||||||
|
|
||||||
|
env:
|
||||||
|
PSEUDO_REPO_FOLDER: ../magento_repo
|
||||||
|
magento_folder: ../magento2
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
compute_matrix:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: ./supported-version
|
||||||
|
with:
|
||||||
|
kind: currently-supported
|
||||||
|
id: supported-version
|
||||||
|
- run: echo ${{ steps.supported-version.outputs.matrix }}
|
||||||
|
|
||||||
|
setup-magento-store:
|
||||||
|
needs: compute_matrix
|
||||||
|
strategy:
|
||||||
|
matrix: ${{ fromJSON(needs.compute_matrix.outputs.matrix) }}
|
||||||
|
fail-fast: false
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
PSEUDO_STORE_FULL_PATH=$(realpath "${{ env.PSEUDO_REPO_FOLDER }}")
|
||||||
|
echo "PSEUDO_STORE_FULL_PATH=$PSEUDO_STORE_FULL_PATH" >> $GITHUB_ENV
|
||||||
|
name: Generate Full Pseudo Store Path
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Set PHP Version
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
|
with:
|
||||||
|
php-version: ${{ matrix.php }}
|
||||||
|
tools: composer:v${{ matrix.composer }}
|
||||||
|
|
||||||
|
- uses: actions/cache@v3
|
||||||
|
id: setup-magento-store-cache
|
||||||
|
with:
|
||||||
|
key: setup-magento-ci | ${{ runner.os }} | ${{ matrix.magento }}
|
||||||
|
path: ${{ env.PSEUDO_STORE_FULL_PATH }}
|
||||||
|
|
||||||
|
- run: composer create-project --repository-url="https://mirror.mage-os.org" "${{ matrix.magento }}" "${{ env.PSEUDO_REPO_FOLDER }}" --no-install
|
||||||
|
name: Create Store to simulate a real Magento store in a real repo.
|
||||||
|
if: steps.setup-magento-store-cache.outputs.cache-hit != 'true'
|
||||||
|
|
||||||
|
- uses: ./fix-magento-install
|
||||||
|
name: Fix Magento Out of Box Install Issues
|
||||||
|
with:
|
||||||
|
magento_directory: ${{ env.PSEUDO_REPO_FOLDER }}
|
||||||
|
if: steps.setup-magento-store-cache.outputs.cache-hit != 'true'
|
||||||
|
|
||||||
|
- run: composer install
|
||||||
|
shell: bash
|
||||||
|
working-directory: "${{ env.PSEUDO_REPO_FOLDER }}"
|
||||||
|
if: steps.setup-magento-store-cache.outputs.cache-hit != 'true'
|
||||||
|
|
||||||
|
- run: git init && git config user.email "you@example.com" && git config user.name "Your Name" && git add . && git commit -m "init" && git clean -fdx
|
||||||
|
working-directory: "${{ env.PSEUDO_REPO_FOLDER }}"
|
||||||
|
if: steps.setup-magento-store-cache.outputs.cache-hit != 'true'
|
||||||
|
|
||||||
|
- run: cp -R ${{ env.PSEUDO_REPO_FOLDER }} ${{ env.magento_folder }}
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- uses: ./setup-magento
|
||||||
|
id: setup-magento
|
||||||
|
with:
|
||||||
|
php-version: ${{ matrix.php }}
|
||||||
|
tools: composer:v${{ matrix.composer }}
|
||||||
|
mode: store
|
||||||
|
working-directory: ${{ env.magento_folder }}
|
||||||
|
|
||||||
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
|
with:
|
||||||
|
mode: 'store'
|
||||||
|
composer_cache_key: '${{ matrix.magento }}'
|
||||||
|
|
||||||
|
- run: composer install
|
||||||
|
name: Composer install
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
|
||||||
|
setup-magento-extension:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: ./setup-magento
|
||||||
|
id: setup-magento
|
||||||
|
with:
|
||||||
|
php-version: 8.1
|
||||||
|
tools: composer:v2
|
||||||
|
mode: extension
|
||||||
|
magento_version: magento/project-community-edition:2.4.5-p1
|
||||||
|
|
||||||
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
|
with:
|
||||||
|
mode: 'extension'
|
||||||
|
composer_cache_key: 'magento/project-community-edition:2.4.5-p1'
|
||||||
|
|
||||||
|
- run: composer install
|
||||||
|
name: Composer install
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -20,7 +20,7 @@ See the [integration.yaml](./integration.yaml)
|
|||||||
## Secrets
|
## Secrets
|
||||||
| Input | Description | Required | Default |
|
| Input | Description | Required | Default |
|
||||||
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
|
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
|
||||||
| composer_auth | JSON string of [composer credentials]([#./matrix-format](https://devdocs.magento.com/guides/v2.4/install-gde/prereq/connect-auth.html)) | false | NULL |
|
| composer_auth | JSON string of [composer credentials](https://devdocs.magento.com/guides/v2.4/install-gde/prereq/connect-auth.html) | false | NULL |
|
||||||
|
|
||||||
### Matrix Format
|
### Matrix Format
|
||||||
|
|
||||||
|
|||||||
@@ -108,22 +108,18 @@ jobs:
|
|||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
name: Create Magento ${{ matrix.magento }} Project
|
name: Create Magento ${{ matrix.magento }} Project
|
||||||
|
|
||||||
- run: |
|
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||||
echo "::set-output name=version::$(cat composer.json | jq '.require
|
|
||||||
| with_entries( select(.key == "magento/product-community-edition" or .key == "magento/product-enterprise-edition") )
|
|
||||||
| to_entries
|
|
||||||
| .[0].value')"
|
|
||||||
shell: bash
|
|
||||||
working-directory: ${{ inputs.magento_directory }}
|
|
||||||
name: Compute Installable Magento version
|
|
||||||
id: magento-version
|
id: magento-version
|
||||||
|
with:
|
||||||
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
|
|
||||||
- name: Get Composer Cache Directory
|
- name: Get Composer Cache Directory
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{ inputs.magento_directory }}
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
id: composer-cache
|
id: composer-cache
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=dir::$(composer config cache-files-dir)"
|
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|
||||||
- name: "Cache Composer Packages"
|
- name: "Cache Composer Packages"
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|||||||
Vendored
+5
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"dbaeumer.vscode-eslint"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -2,6 +2,25 @@
|
|||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
## [1.3.0](https://github.com/graycoreio/github-actions-magento2/compare/v1.2.0...v1.3.0) (2023-03-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add `cache-magento` action ([#87](https://github.com/graycoreio/github-actions-magento2/issues/87)) ([f5d43a5](https://github.com/graycoreio/github-actions-magento2/commit/f5d43a5184d20dc60b5e45d47b9d14300eb14754))
|
||||||
|
* add `fix-magento` action ([#86](https://github.com/graycoreio/github-actions-magento2/issues/86)) ([856d2df](https://github.com/graycoreio/github-actions-magento2/commit/856d2df4819a5d0cdff6087a005ca966c7d409c0))
|
||||||
|
* add rabbitmq images with management plugin ([#125](https://github.com/graycoreio/github-actions-magento2/issues/125)) ([0f31e40](https://github.com/graycoreio/github-actions-magento2/commit/0f31e401b775c085720176a4ac7626c45d2b07d0))
|
||||||
|
* **get-magento-version:** add get-magento-version action ([#72](https://github.com/graycoreio/github-actions-magento2/issues/72)) ([fd858c3](https://github.com/graycoreio/github-actions-magento2/commit/fd858c30633e97bdc93cc8c2fe7adaef99a6bf7c))
|
||||||
|
* **setup-magento:** add a new action to setup Magento ([#76](https://github.com/graycoreio/github-actions-magento2/issues/76)) ([7b74ff7](https://github.com/graycoreio/github-actions-magento2/commit/7b74ff738699d86aafed7690464302b1f07e59d0))
|
||||||
|
* **supported-version:** dynamically compute ([#120](https://github.com/graycoreio/github-actions-magento2/issues/120)) ([dbc889f](https://github.com/graycoreio/github-actions-magento2/commit/dbc889f7cea548d319a5cd206269b007319d53ec))
|
||||||
|
* **supported-version:** Magento v2.4.6 ([d3b1ab6](https://github.com/graycoreio/github-actions-magento2/commit/d3b1ab6b344b6a1ff705d2e57ad400ab506456be))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **installation-test:** handle non-range composer versions ([c136c11](https://github.com/graycoreio/github-actions-magento2/commit/c136c111d923fa3c9d4f3fbeb38cd81d593168da))
|
||||||
|
* **supported-versions:** GA Ubuntu-22.04 release ([#110](https://github.com/graycoreio/github-actions-magento2/issues/110)) ([b0e1a0a](https://github.com/graycoreio/github-actions-magento2/commit/b0e1a0a9439be892062a6f05161d83e7ae2c7cbf))
|
||||||
|
|
||||||
## [1.2.0](https://github.com/graycoreio/github-actions-magento2/compare/v1.1.0...v1.2.0) (2022-10-11)
|
## [1.2.0](https://github.com/graycoreio/github-actions-magento2/compare/v1.1.0...v1.2.0) (2022-10-11)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,13 +18,17 @@ Opinionated Github Actions and Workflows to make building, testing, and maintain
|
|||||||
## Workflows
|
## Workflows
|
||||||
|
|
||||||
| Workflow Name | Description |
|
| Workflow Name | Description |
|
||||||
| -------------------------------------------------------- | ---------------------------------------------------------------------- |
|
| ------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
||||||
| [Integration Test](./.github/workflows/integration-README.md) | A Github Workflow that runs the Integration Tests of a Magento Package |
|
| [Integration Test](./.github/workflows/integration-README.md) | A Github Workflow that runs the Integration Tests of a Magento Package |
|
||||||
|
|
||||||
## Actions
|
## Actions
|
||||||
|
|
||||||
| Action Name | Description |
|
| Action Name | Description |
|
||||||
| ------------------------------------------------ | ------------------------------------------------------------------ |
|
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------- |
|
||||||
| [Unit Test](./unit-test/README.md) | A Github Action that runs the Unit Tests a Magento Package |
|
| [Unit Test](./unit-test/README.md) | A Github Action that runs the Unit Tests a Magento Package |
|
||||||
| [Installation Test](installation-test/README.md) | A Github Action that tests the installability of a Magento Package |
|
| [Fix Magento Install](./fix-magento-install/README.md) | A Github Action that fixes Magento before `composer install` |
|
||||||
| [Supported Version](supported-version/README.md) | A Github Action that computes the currently supported Github Actions Matrix for Magento 2 |
|
| [Cache Magento](./cache-magento/README.md) | A Github Action that creates a composer cache for a Magento extension or store. |
|
||||||
|
| [Setup Magento](./setup-magento/README.md) | A Github Action that sets up Magento before `composer install` for an extension or store. |
|
||||||
|
| [Get Magento Version](./get-magento-version/README.md) | A Github Action that computes the installed Magento version. |
|
||||||
|
| [Installation Test](./installation-test/README.md) | A Github Action that tests the installability of a Magento Package |
|
||||||
|
| [Supported Version](./supported-version/README.md) | A Github Action that computes the currently supported Github Actions Matrix for Magento 2 |
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
# Cache Magento Action
|
||||||
|
|
||||||
|
A Github Action that creates a composer cache for a Magento extension or store.
|
||||||
|
|
||||||
|
## Inputs
|
||||||
|
|
||||||
|
|
||||||
|
See the [action.yml](./action.yml)
|
||||||
|
|
||||||
|
| Input | Description | Required | Default |
|
||||||
|
| ------------------ | -------------------------------------------------------------------------------------- | -------- | ------------ |
|
||||||
|
| composer_cache_key | A key to version the composer cache. Can be incremented if you need to bust the cache. | false | '__graycore' |
|
||||||
|
| mode | "The mode for setup, one of: `extension` or `store`." | true | N/A |
|
||||||
|
| magento_directory | The Magento directory for the action to run against. | true | N/A |
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
```yml
|
||||||
|
name: Magento Cache
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
showcase_cache:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
|
with:
|
||||||
|
magento_directory: $GITHUB_WORKSPACE
|
||||||
|
mode: 'store'
|
||||||
|
id: cache-magento
|
||||||
|
|
||||||
|
- run: composer install
|
||||||
|
shell: bash
|
||||||
|
name: Composer install
|
||||||
|
```
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
name: "Cache Magento 2 for Pipeline"
|
||||||
|
author: "Graycore"
|
||||||
|
description: "A Github Action that creates a composer cache for a Magento extension or store."
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
composer_cache_key:
|
||||||
|
required: false
|
||||||
|
default: "__graycore"
|
||||||
|
description: A key to version the composer cache. Can be incremented if you need to bust the cache.
|
||||||
|
|
||||||
|
mode:
|
||||||
|
required: true
|
||||||
|
description: "The mode for setup, one of: `extension` or `store`."
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
cache-hit:
|
||||||
|
description: "A boolean value to indicate an exact match was found for the key"
|
||||||
|
value: ${{ steps.cache-magento-cache.outputs.cache-hit }}
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Get Composer Cache Directory
|
||||||
|
shell: bash
|
||||||
|
id: cache-magento-composer-cache
|
||||||
|
run: |
|
||||||
|
echo "dir=$(composer config cache-files-dir --global)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- run: echo "::set-output name=version::$(php -v | awk 'NR==1{print $2}')"
|
||||||
|
shell: bash
|
||||||
|
id: cache-magento-get-php-version
|
||||||
|
|
||||||
|
- run: echo "::set-output name=version::$(composer --version | awk '{print $3}')"
|
||||||
|
shell: bash
|
||||||
|
name: Compute Composer Version
|
||||||
|
id: cache-magento-get-composer-version
|
||||||
|
|
||||||
|
- name: "Cache Composer Packages"
|
||||||
|
uses: actions/cache@v3
|
||||||
|
id: cache-magento-cache
|
||||||
|
with:
|
||||||
|
key: "composer | v5.8 | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}"
|
||||||
|
path: ${{ steps.cache-magento-composer-cache.outputs.dir }}
|
||||||
|
|
||||||
|
branding:
|
||||||
|
icon: "code"
|
||||||
|
color: "green"
|
||||||
@@ -56,7 +56,7 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
working-directory: project
|
working-directory: project
|
||||||
id: changed-files
|
id: changed-files
|
||||||
run: echo "::set-output name=files::$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | xargs)"
|
run: echo "files=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
|
|
||||||
- name: Coding Standard Check
|
- name: Coding Standard Check
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# Fix Magento
|
||||||
|
|
||||||
|
A Github Action that fixes Magento before `composer install`.
|
||||||
|
|
||||||
|
> You probably only need this action if you're working on a Magento extension. However, if you're working on a Magento store and your CI pipeline breaks, this is probably a good first place to look for corrective measures to take.
|
||||||
|
|
||||||
|
## Inputs
|
||||||
|
|
||||||
|
See the [action.yml](./action.yml)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```yml
|
||||||
|
name: Fix Magento Install
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
fix:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: graycoreio/github-actions-magento2/fix-magento-install@main
|
||||||
|
with:
|
||||||
|
magento_directory: path/to/magento
|
||||||
|
```
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
name: "Fix Magento Install"
|
||||||
|
author: "Graycore"
|
||||||
|
description: "A Github Action that fixes Magento before `composer install`"
|
||||||
|
inputs:
|
||||||
|
magento_directory:
|
||||||
|
required: true
|
||||||
|
description: "The folder where Magento is installed"
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||||
|
id: init-magento-get-magento-version
|
||||||
|
with:
|
||||||
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
|
|
||||||
|
- run: echo "::set-output name=version::$(composer --version | awk '{print $3}')"
|
||||||
|
shell: bash
|
||||||
|
name: Compute Composer Version
|
||||||
|
id: init-magento-get-composer-version
|
||||||
|
|
||||||
|
- run: composer require monolog/monolog:"<2.7.0" --no-update
|
||||||
|
shell: bash
|
||||||
|
name: Fixup Monolog (https://github.com/magento/magento2/pull/35596)
|
||||||
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
|
if: |
|
||||||
|
steps.init-magento-get-magento-version.outputs.version == '"2.4.4"'
|
||||||
|
|
||||||
|
- run: composer require "dotmailer/dotmailer-magento2-extension-package:4.6.0-p2 as 4.6.0" --no-update
|
||||||
|
shell: bash
|
||||||
|
name: Fixup Dotmailer (https://devdocs.magento.com/guides/v2.4/release-notes/release-notes-2-4-0-commerce.html#dotdigital-1)
|
||||||
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
|
if: |
|
||||||
|
steps.init-magento-get-magento-version.outputs.version == '"2.4.0"'
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
composer config --no-interaction allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
|
||||||
|
composer config --no-interaction allow-plugins.laminas/laminas-dependency-plugin true
|
||||||
|
composer config --no-interaction allow-plugins.magento/* true
|
||||||
|
name: Fixup Composer Plugins
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
|
if: |
|
||||||
|
!startsWith(steps.init-magento-get-composer-version.outputs.version, 1)
|
||||||
|
|
||||||
|
branding:
|
||||||
|
icon: "code"
|
||||||
|
color: "green"
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# "Get Magento Version" Action
|
||||||
|
|
||||||
|
A Github Action that computes an installed Magento version.
|
||||||
|
|
||||||
|
## Inputs
|
||||||
|
|
||||||
|
See the [action.yml](./action.yml)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```yml
|
||||||
|
name: Get Magento Version
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
version:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: A job to compute an installed Magento version.
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||||
|
id: get-magento-version
|
||||||
|
- run: echo version ${{ steps.get-magento-version.outputs.version }}
|
||||||
|
shell: bash
|
||||||
|
```
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
name: "Get Magento Version"
|
||||||
|
author: "Graycore"
|
||||||
|
description: " A Github Action that determines the currently installed version of Magento"
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
working-directory:
|
||||||
|
default: $GITHUB_WORKSPACE
|
||||||
|
description: "The current working directory of the action"
|
||||||
|
required: false
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
version: # id of output
|
||||||
|
description: 'The determined version of Magento'
|
||||||
|
value: ${{ steps.get-magento-version.outputs.version }}
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
echo "version=$(cat composer.json | jq '.require
|
||||||
|
| with_entries( select(.key == "magento/product-community-edition" or .key == "magento/product-enterprise-edition") )
|
||||||
|
| to_entries
|
||||||
|
| .[0].value')" >> $GITHUB_OUTPUT
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
name: Compute Installed Magento version
|
||||||
|
id: get-magento-version
|
||||||
|
|
||||||
|
branding:
|
||||||
|
icon: "code"
|
||||||
|
color: "green"
|
||||||
@@ -64,8 +64,14 @@ runs:
|
|||||||
with:
|
with:
|
||||||
php-version: ${{ inputs.php_version }}
|
php-version: ${{ inputs.php_version }}
|
||||||
|
|
||||||
- run: composer self-update --${{ inputs.composer_version }}
|
- run: composer self-update ${{ inputs.composer_version }}
|
||||||
name: Pin to Composer Version ${{ inputs.composer_version }}
|
name: Pin to Composer Version ${{ inputs.composer_version }}
|
||||||
|
if: contains(inputs.composer_version, '.') == true
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- run: composer self-update --${{ inputs.composer_version }}
|
||||||
|
name: Pin to Composer Version ${{ inputs.composer_version }} (Range)
|
||||||
|
if: contains(inputs.composer_version, '.') == false
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- run: composer create-project --repository-url="${{ inputs.magento_repository }}" "${{ inputs.magento_version }}" ${{ inputs.magento_directory }} --no-install
|
- run: composer create-project --repository-url="${{ inputs.magento_repository }}" "${{ inputs.magento_version }}" ${{ inputs.magento_directory }} --no-install
|
||||||
@@ -79,7 +85,8 @@ runs:
|
|||||||
working-directory: ${{ inputs.magento_directory }}
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
id: composer-cache
|
id: composer-cache
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=dir::$(composer config cache-files-dir)"
|
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|
||||||
- name: "Cache Composer Packages"
|
- name: "Cache Composer Packages"
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|||||||
Generated
+3342
-1033
File diff suppressed because it is too large
Load Diff
+6
-3
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@graycore/github-actions-magento",
|
"name": "@graycore/github-actions-magento",
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"description": "Github Actions for Magento 2",
|
"description": "Github Actions for Magento 2",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "cd supported-version && npm run test && cd -",
|
"test": "cd supported-version && npm run test && cd -",
|
||||||
@@ -23,10 +23,13 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^28.1.7",
|
"@types/jest": "^28.1.7",
|
||||||
"@types/node": "^18.8.3",
|
"@types/node": "^18.8.3",
|
||||||
"esbuild": "^0.15.10",
|
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
||||||
|
"@typescript-eslint/parser": "^5.48.1",
|
||||||
|
"esbuild": "^0.16.16",
|
||||||
|
"eslint": "^8.31.0",
|
||||||
"jest": "^28.1.3",
|
"jest": "^28.1.3",
|
||||||
"standard-version": "^9.5.0",
|
"standard-version": "^9.5.0",
|
||||||
"ts-jest": "^28.0.8",
|
"ts-jest": "^28.0.8",
|
||||||
"typescript": "^4.8.4"
|
"typescript": "^4.9.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,79 @@
|
|||||||
|
# Magento 2 Package Installation Test Action
|
||||||
|
|
||||||
|
A Github Action that sets Magento up to the point of composer install.
|
||||||
|
|
||||||
|
## Inputs
|
||||||
|
|
||||||
|
See the [action.yml](./action.yml)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### Stores
|
||||||
|
|
||||||
|
```yml
|
||||||
|
name: Setup Magento Store
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
setup-magento-store:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: ./setup-magento
|
||||||
|
with:
|
||||||
|
php-version: 8.1
|
||||||
|
tools: composer:v2
|
||||||
|
mode: store
|
||||||
|
working-directory: $GITHUB_WORKSPACE
|
||||||
|
|
||||||
|
- run: composer install
|
||||||
|
name: Composer install
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Extensions
|
||||||
|
|
||||||
|
```yml
|
||||||
|
name: Setup Magento Store
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
setup-magento-extension:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: ./setup-magento
|
||||||
|
with:
|
||||||
|
php-version: 8.1
|
||||||
|
tools: composer:v2
|
||||||
|
mode: extension
|
||||||
|
magento_version: 2.4.5-p1
|
||||||
|
|
||||||
|
- run: composer config repositories.local path $GITHUB_WORKSPACE
|
||||||
|
name: Add Github Repo for Testing
|
||||||
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- run: composer require my/package "@dev"
|
||||||
|
name: Attempt install
|
||||||
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
```
|
||||||
@@ -0,0 +1,100 @@
|
|||||||
|
name: "Setup Magento"
|
||||||
|
author: "Graycore"
|
||||||
|
description: "This action sets up a Magento instance for further actions like running tests, etc."
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
php-version:
|
||||||
|
description: "Setup PHP version."
|
||||||
|
default: "8.1"
|
||||||
|
required: true
|
||||||
|
|
||||||
|
tools:
|
||||||
|
description: "Setup popular tools globally."
|
||||||
|
required: false
|
||||||
|
|
||||||
|
extensions:
|
||||||
|
description: "Setup PHP extensions."
|
||||||
|
required: false
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
description: "Setup code coverage driver."
|
||||||
|
required: false
|
||||||
|
|
||||||
|
magento_repository:
|
||||||
|
required: false
|
||||||
|
default: "https://mirror.mage-os.org/"
|
||||||
|
description: "Where to install Magento from"
|
||||||
|
|
||||||
|
magento_version:
|
||||||
|
required: false
|
||||||
|
default: '~2.4.5'
|
||||||
|
description: "The version of Magento to use. This is only relevant if you are testing an extension."
|
||||||
|
|
||||||
|
apply_fixes:
|
||||||
|
required: false
|
||||||
|
default: 'false'
|
||||||
|
description: "Whether or not to apply fixes during setup."
|
||||||
|
|
||||||
|
mode:
|
||||||
|
required: true
|
||||||
|
default: 'extension'
|
||||||
|
description: "The mode for setup, one of: `extension` or `store`."
|
||||||
|
|
||||||
|
working-directory:
|
||||||
|
required: false
|
||||||
|
default: "."
|
||||||
|
description: "The working directory to run the action in."
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
path:
|
||||||
|
description: "The absolute path to where Magento was set up."
|
||||||
|
value: ${{ steps.setup-magento-get-magento-path.outputs.path }}
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Set PHP Version
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
|
with:
|
||||||
|
php-version: ${{ inputs.php-version }}
|
||||||
|
tools: ${{ inputs.tools }}
|
||||||
|
coverage: ${{ inputs.coverage }}
|
||||||
|
extensions: ${{ inputs.coverage }}
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
MAGENTO_DIRECTORY=""
|
||||||
|
if [ "${{ inputs.mode }}" = 'extension' ]; then
|
||||||
|
MAGENTO_DIRECTORY="../magento2"
|
||||||
|
else
|
||||||
|
MAGENTO_DIRECTORY="${{ inputs.working-directory }}"
|
||||||
|
fi
|
||||||
|
echo "MAGENTO_DIRECTORY=$MAGENTO_DIRECTORY" >> $GITHUB_OUTPUT
|
||||||
|
id: setup-magento-compute-directory
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
mkdir -p ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }}
|
||||||
|
name: Make a directory that may not exist.
|
||||||
|
shell: bash
|
||||||
|
if: inputs.mode == 'extension'
|
||||||
|
|
||||||
|
- run: composer create-project --repository-url="${{ inputs.magento_repository }}" "${{ inputs.magento_version }}" ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }} --no-install
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
shell: bash
|
||||||
|
name: Create Magento ${{ inputs.magento_version }} Project
|
||||||
|
if: inputs.mode == 'extension'
|
||||||
|
|
||||||
|
- uses: graycoreio/github-actions-magento2/fix-magento-install@main
|
||||||
|
name: Fix Magento Out of Box Install Issues
|
||||||
|
with:
|
||||||
|
magento_directory: ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }}
|
||||||
|
if: inputs.mode == 'extension' || inputs.apply_fixes == 'true'
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
echo "path=$(realpath ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }})" >> $GITHUB_OUTPUT
|
||||||
|
shell: bash
|
||||||
|
id: setup-magento-get-magento-path
|
||||||
|
|
||||||
|
branding:
|
||||||
|
icon: "code"
|
||||||
|
color: "green"
|
||||||
Vendored
+5
-5
File diff suppressed because one or more lines are too long
@@ -1,10 +0,0 @@
|
|||||||
[
|
|
||||||
"magento/project-community-edition:>=2.3 <2.4",
|
|
||||||
"magento/project-community-edition:>=2.4.0 <2.4.1",
|
|
||||||
"magento/project-community-edition:>=2.4.1 <2.4.2",
|
|
||||||
"magento/project-community-edition:>=2.4.2 <2.4.3",
|
|
||||||
"magento/project-community-edition:>=2.4.3 <2.4.4",
|
|
||||||
"magento/project-community-edition:>=2.4.4 <2.4.5",
|
|
||||||
"magento/project-community-edition:>=2.4.5 <2.4.6",
|
|
||||||
"magento/project-community-edition"
|
|
||||||
]
|
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
import { getCurrentlySupportedVersions } from "./get-currently-supported";
|
||||||
|
|
||||||
|
describe('getCurrentlySupportedVersions', () => {
|
||||||
|
it('should say that v2.4.0 is not supported in 2025', () => {
|
||||||
|
const date: Date = new Date('2025-01-01T00:00:00Z');
|
||||||
|
expect(getCurrentlySupportedVersions(date)).not.toContain('magento/project-community-edition:2.4.0');
|
||||||
|
});
|
||||||
|
|
||||||
|
test.each([
|
||||||
|
//TODO: add a release-date so that past dates do not incur non-contemporaneous
|
||||||
|
// versions.
|
||||||
|
['2023-01-01T00:00:00Z', 'First day of 2023', [
|
||||||
|
'magento/project-community-edition:2.4.4-p2',
|
||||||
|
'magento/project-community-edition:2.4.4-p3',
|
||||||
|
'magento/project-community-edition:2.4.5-p1',
|
||||||
|
'magento/project-community-edition:2.4.5-p2',
|
||||||
|
'magento/project-community-edition:2.4.6',
|
||||||
|
]],
|
||||||
|
['2024-01-01T00:00:00Z', 'First day of 2024', [
|
||||||
|
'magento/project-community-edition:2.4.4-p3',
|
||||||
|
'magento/project-community-edition:2.4.5-p2',
|
||||||
|
'magento/project-community-edition:2.4.6',
|
||||||
|
]],
|
||||||
|
['2024-12-31T00:00:00Z', 'End of 2024', [
|
||||||
|
'magento/project-community-edition:2.4.4-p3',
|
||||||
|
'magento/project-community-edition:2.4.5-p2',
|
||||||
|
'magento/project-community-edition:2.4.6',
|
||||||
|
]],
|
||||||
|
['2025-08-08T00:00:00Z', 'Day Before v2.4.5 EoL', [
|
||||||
|
'magento/project-community-edition:2.4.5-p2',
|
||||||
|
'magento/project-community-edition:2.4.6',
|
||||||
|
]],
|
||||||
|
['2025-08-09T00:00:00Z', 'Day of v2.4.5 EoL', [
|
||||||
|
'magento/project-community-edition:2.4.5-p2',
|
||||||
|
'magento/project-community-edition:2.4.6',
|
||||||
|
]],
|
||||||
|
['2025-08-10T00:00:00Z', 'Day after v2.4.5 EoL', [
|
||||||
|
'magento/project-community-edition:2.4.6',
|
||||||
|
]],
|
||||||
|
])(
|
||||||
|
'supportedVersions for %s',
|
||||||
|
(date, description ,result) => {
|
||||||
|
expect(
|
||||||
|
getCurrentlySupportedVersions(new Date(date))
|
||||||
|
).toEqual(result);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
})
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
import { MagentoMatrixVersion } from '../matrix/matrix-type';
|
||||||
|
import allVersions from '../versions/individual.json';
|
||||||
|
|
||||||
|
export const getCurrentlySupportedVersions = (date: Date): string[] =>
|
||||||
|
Object.entries(<Record<string,MagentoMatrixVersion>>allVersions)
|
||||||
|
.filter(([key, value]) => new Date(value.eol) >= date)
|
||||||
|
.map(([key, value]) => key);
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
import { getMatrixForVersions } from "./get-matrix-for-versions";
|
import { getMatrixForVersions } from "./get-matrix-for-versions";
|
||||||
|
|
||||||
import latestJson from '../kind/latest.json';
|
import latestJson from '../kind/latest.json';
|
||||||
import currentlySupportedJson from '../kind/currently-supported.json';
|
|
||||||
import allVersions from '../versions/individual.json';
|
import allVersions from '../versions/individual.json';
|
||||||
import nightly from '../kind/nightly.json';
|
import nightly from '../kind/nightly.json';
|
||||||
import { amendMatrixForNext } from "../nightly/get-next-version";
|
import { amendMatrixForNext } from "../nightly/get-next-version";
|
||||||
import { getDayBefore } from '../nightly/get-day-before';
|
import { getDayBefore } from '../nightly/get-day-before';
|
||||||
|
import { getCurrentlySupportedVersions } from "../kind/get-currently-supported";
|
||||||
|
|
||||||
export const getMatrixForKind = (kind: string, versions: string = "") => {
|
export const getMatrixForKind = (kind: string, versions = "") => {
|
||||||
switch(kind){
|
switch(kind){
|
||||||
case 'latest':
|
case 'latest':
|
||||||
return getMatrixForVersions(latestJson);
|
return getMatrixForVersions(latestJson);
|
||||||
case 'currently-supported':
|
case 'currently-supported':
|
||||||
return getMatrixForVersions(currentlySupportedJson);
|
return getMatrixForVersions(getCurrentlySupportedVersions(new Date()));
|
||||||
case 'nightly':
|
case 'nightly':
|
||||||
return amendMatrixForNext(getMatrixForVersions(nightly), 'https://upstream-mirror.mage-os.org', getDayBefore());
|
return amendMatrixForNext(getMatrixForVersions(nightly), 'https://upstream-mirror.mage-os.org', getDayBefore());
|
||||||
case 'all':
|
case 'all':
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ export interface MagentoMatrixVersion {
|
|||||||
redis: string,
|
redis: string,
|
||||||
varnish: string,
|
varnish: string,
|
||||||
nginx: string,
|
nginx: string,
|
||||||
os: string
|
os: string,
|
||||||
|
eol: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GithubActionsMatrix {
|
export interface GithubActionsMatrix {
|
||||||
|
|||||||
@@ -5,11 +5,12 @@
|
|||||||
"composer": 1,
|
"composer": 1,
|
||||||
"mysql": "mysql:5.7.30",
|
"mysql": "mysql:5.7.30",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-18.04"
|
"os": "ubuntu-18.04",
|
||||||
|
"eol": "2022-09-30T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:>=2.4.0 <2.4.1": {
|
"magento/project-community-edition:>=2.4.0 <2.4.1": {
|
||||||
"magento": "magento/project-community-edition:>=2.4.0 <2.4.1",
|
"magento": "magento/project-community-edition:>=2.4.0 <2.4.1",
|
||||||
@@ -17,11 +18,12 @@
|
|||||||
"composer": 1,
|
"composer": 1,
|
||||||
"mysql": "mysql:5.7.30",
|
"mysql": "mysql:5.7.30",
|
||||||
"elasticsearch": "elasticsearch:7.6.2",
|
"elasticsearch": "elasticsearch:7.6.2",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:5.0",
|
"redis": "redis:5.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-11-28T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:>=2.4.1 <2.4.2": {
|
"magento/project-community-edition:>=2.4.1 <2.4.2": {
|
||||||
"magento": "magento/project-community-edition:>=2.4.1 <2.4.2",
|
"magento": "magento/project-community-edition:>=2.4.1 <2.4.2",
|
||||||
@@ -29,11 +31,12 @@
|
|||||||
"composer": 1,
|
"composer": 1,
|
||||||
"mysql": "mysql:8.0.20",
|
"mysql": "mysql:8.0.20",
|
||||||
"elasticsearch": "elasticsearch:7.7.1",
|
"elasticsearch": "elasticsearch:7.7.1",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:5.0",
|
"redis": "redis:5.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-11-28T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:>=2.4.2 <2.4.3": {
|
"magento/project-community-edition:>=2.4.2 <2.4.3": {
|
||||||
"magento": "magento/project-community-edition:>=2.4.2 <2.4.3",
|
"magento": "magento/project-community-edition:>=2.4.2 <2.4.3",
|
||||||
@@ -41,11 +44,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.9.3",
|
"elasticsearch": "elasticsearch:7.9.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-11-28T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:>=2.4.3 <2.4.4": {
|
"magento/project-community-edition:>=2.4.3 <2.4.4": {
|
||||||
"magento": "magento/project-community-edition:>=2.4.3 <2.4.4",
|
"magento": "magento/project-community-edition:>=2.4.3 <2.4.4",
|
||||||
@@ -53,11 +57,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-11-28T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:>=2.4.4 <2.4.5": {
|
"magento/project-community-edition:>=2.4.4 <2.4.5": {
|
||||||
"magento": "magento/project-community-edition:>=2.4.4 <2.4.5",
|
"magento": "magento/project-community-edition:>=2.4.4 <2.4.5",
|
||||||
@@ -65,11 +70,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.9",
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
"redis": "redis:6.2",
|
"redis": "redis:6.2",
|
||||||
"varnish": "varnish:7.0",
|
"varnish": "varnish:7.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2025-04-24T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:>=2.4.5 <2.4.6": {
|
"magento/project-community-edition:>=2.4.5 <2.4.6": {
|
||||||
"magento": "magento/project-community-edition:>=2.4.5 <2.4.6",
|
"magento": "magento/project-community-edition:>=2.4.5 <2.4.6",
|
||||||
@@ -77,23 +83,38 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.17.5",
|
"elasticsearch": "elasticsearch:7.17.5",
|
||||||
"rabbitmq": "rabbitmq:3.9",
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
"redis": "redis:6.2",
|
"redis": "redis:6.2",
|
||||||
"varnish": "varnish:7.0",
|
"varnish": "varnish:7.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2025-08-09T00:00:00+0000"
|
||||||
|
},
|
||||||
|
"magento/project-community-edition:>=2.4.6 <2.4.7": {
|
||||||
|
"magento": "magento/project-community-edition:>=2.4.6 <2.4.7",
|
||||||
|
"php": 8.1,
|
||||||
|
"composer": "2.4.4",
|
||||||
|
"mysql": "mysql:8.0",
|
||||||
|
"elasticsearch": "elasticsearch:7.17.5",
|
||||||
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
|
"redis": "redis:7.0",
|
||||||
|
"varnish": "varnish:7.1",
|
||||||
|
"nginx": "nginx:1.18",
|
||||||
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2026-03-14T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition": {
|
"magento/project-community-edition": {
|
||||||
"magento": "magento/project-community-edition",
|
"magento": "magento/project-community-edition",
|
||||||
"php": 8.1,
|
"php": 8.1,
|
||||||
"composer": 2,
|
"composer": "2.4.4",
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.17.5",
|
"elasticsearch": "elasticsearch:7.17.5",
|
||||||
"rabbitmq": "rabbitmq:3.9",
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
"redis": "redis:6.2",
|
"redis": "redis:7.0",
|
||||||
"varnish": "varnish:7.0",
|
"varnish": "varnish:7.1",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2026-03-14T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:next": {
|
"magento/project-community-edition:next": {
|
||||||
"magento": "magento/project-community-edition:next",
|
"magento": "magento/project-community-edition:next",
|
||||||
@@ -101,10 +122,11 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.17.5",
|
"elasticsearch": "elasticsearch:7.17.5",
|
||||||
"rabbitmq": "rabbitmq:3.9",
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
"redis": "redis:6.2",
|
"redis": "redis:7.0",
|
||||||
"varnish": "varnish:7.0",
|
"varnish": "varnish:7.1",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2026-03-14T00:00:00+0000"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5,11 +5,12 @@
|
|||||||
"composer": 1,
|
"composer": 1,
|
||||||
"mysql": "mysql:5.7.30",
|
"mysql": "mysql:5.7.30",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-18.04"
|
"os": "ubuntu-18.04",
|
||||||
|
"eol": "2022-08-09T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.3.7-p4": {
|
"magento/project-community-edition:2.3.7-p4": {
|
||||||
"magento": "magento/project-community-edition:2.3.7-p4",
|
"magento": "magento/project-community-edition:2.3.7-p4",
|
||||||
@@ -17,11 +18,12 @@
|
|||||||
"composer": 1,
|
"composer": 1,
|
||||||
"mysql": "mysql:5.7.30",
|
"mysql": "mysql:5.7.30",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-18.04"
|
"os": "ubuntu-18.04",
|
||||||
|
"eol": "2022-09-30T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.0": {
|
"magento/project-community-edition:2.4.0": {
|
||||||
"magento": "magento/project-community-edition:2.4.0",
|
"magento": "magento/project-community-edition:2.4.0",
|
||||||
@@ -29,11 +31,12 @@
|
|||||||
"composer": 1,
|
"composer": 1,
|
||||||
"mysql": "mysql:5.7.30",
|
"mysql": "mysql:5.7.30",
|
||||||
"elasticsearch": "elasticsearch:7.6.2",
|
"elasticsearch": "elasticsearch:7.6.2",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:5.0",
|
"redis": "redis:5.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2020-10-15T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.0-p1": {
|
"magento/project-community-edition:2.4.0-p1": {
|
||||||
"magento": "magento/project-community-edition:2.4.0-p1",
|
"magento": "magento/project-community-edition:2.4.0-p1",
|
||||||
@@ -41,11 +44,12 @@
|
|||||||
"composer": 1,
|
"composer": 1,
|
||||||
"mysql": "mysql:5.7.30",
|
"mysql": "mysql:5.7.30",
|
||||||
"elasticsearch": "elasticsearch:7.6.2",
|
"elasticsearch": "elasticsearch:7.6.2",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:5.0",
|
"redis": "redis:5.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-11-28T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.1": {
|
"magento/project-community-edition:2.4.1": {
|
||||||
"magento": "magento/project-community-edition:2.4.1",
|
"magento": "magento/project-community-edition:2.4.1",
|
||||||
@@ -53,11 +57,12 @@
|
|||||||
"composer": 1,
|
"composer": 1,
|
||||||
"mysql": "mysql:8.0.20",
|
"mysql": "mysql:8.0.20",
|
||||||
"elasticsearch": "elasticsearch:7.7.1",
|
"elasticsearch": "elasticsearch:7.7.1",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:5.0",
|
"redis": "redis:5.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2021-02-09T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.1-p1": {
|
"magento/project-community-edition:2.4.1-p1": {
|
||||||
"magento": "magento/project-community-edition:2.4.1-p1",
|
"magento": "magento/project-community-edition:2.4.1-p1",
|
||||||
@@ -65,11 +70,12 @@
|
|||||||
"composer": 1,
|
"composer": 1,
|
||||||
"mysql": "mysql:8.0.20",
|
"mysql": "mysql:8.0.20",
|
||||||
"elasticsearch": "elasticsearch:7.7.1",
|
"elasticsearch": "elasticsearch:7.7.1",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:5.0",
|
"redis": "redis:5.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-11-28T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.2": {
|
"magento/project-community-edition:2.4.2": {
|
||||||
"magento": "magento/project-community-edition:2.4.2",
|
"magento": "magento/project-community-edition:2.4.2",
|
||||||
@@ -77,11 +83,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.9.3",
|
"elasticsearch": "elasticsearch:7.9.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2021-05-11T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.2-p1": {
|
"magento/project-community-edition:2.4.2-p1": {
|
||||||
"magento": "magento/project-community-edition:2.4.2-p1",
|
"magento": "magento/project-community-edition:2.4.2-p1",
|
||||||
@@ -89,11 +96,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.9.3",
|
"elasticsearch": "elasticsearch:7.9.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2021-08-10T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.2-p2": {
|
"magento/project-community-edition:2.4.2-p2": {
|
||||||
"magento": "magento/project-community-edition:2.4.2-p2",
|
"magento": "magento/project-community-edition:2.4.2-p2",
|
||||||
@@ -101,11 +109,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.9.3",
|
"elasticsearch": "elasticsearch:7.9.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-11-28T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.3": {
|
"magento/project-community-edition:2.4.3": {
|
||||||
"magento": "magento/project-community-edition:2.4.3",
|
"magento": "magento/project-community-edition:2.4.3",
|
||||||
@@ -113,11 +122,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2021-10-12T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.3-p1": {
|
"magento/project-community-edition:2.4.3-p1": {
|
||||||
"magento": "magento/project-community-edition:2.4.3-p1",
|
"magento": "magento/project-community-edition:2.4.3-p1",
|
||||||
@@ -125,11 +135,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-04-12T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.3-p2": {
|
"magento/project-community-edition:2.4.3-p2": {
|
||||||
"magento": "magento/project-community-edition:2.4.3-p2",
|
"magento": "magento/project-community-edition:2.4.3-p2",
|
||||||
@@ -137,11 +148,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-08-09T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.3-p3": {
|
"magento/project-community-edition:2.4.3-p3": {
|
||||||
"magento": "magento/project-community-edition:2.4.3-p3",
|
"magento": "magento/project-community-edition:2.4.3-p3",
|
||||||
@@ -149,11 +161,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.8",
|
"rabbitmq": "rabbitmq:3.8-management",
|
||||||
"redis": "redis:6.0",
|
"redis": "redis:6.0",
|
||||||
"varnish": "varnish:6.0",
|
"varnish": "varnish:6.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-20.04",
|
||||||
|
"eol": "2022-11-28T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.4": {
|
"magento/project-community-edition:2.4.4": {
|
||||||
"magento": "magento/project-community-edition:2.4.4",
|
"magento": "magento/project-community-edition:2.4.4",
|
||||||
@@ -161,11 +174,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.9",
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
"redis": "redis:6.2",
|
"redis": "redis:6.2",
|
||||||
"varnish": "varnish:7.0",
|
"varnish": "varnish:7.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2022-08-09T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.4-p1": {
|
"magento/project-community-edition:2.4.4-p1": {
|
||||||
"magento": "magento/project-community-edition:2.4.4-p1",
|
"magento": "magento/project-community-edition:2.4.4-p1",
|
||||||
@@ -173,11 +187,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.9",
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
"redis": "redis:6.2",
|
"redis": "redis:6.2",
|
||||||
"varnish": "varnish:7.0",
|
"varnish": "varnish:7.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2022-10-11T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.4-p2": {
|
"magento/project-community-edition:2.4.4-p2": {
|
||||||
"magento": "magento/project-community-edition:2.4.4-p2",
|
"magento": "magento/project-community-edition:2.4.4-p2",
|
||||||
@@ -185,11 +200,25 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.16.3",
|
"elasticsearch": "elasticsearch:7.16.3",
|
||||||
"rabbitmq": "rabbitmq:3.9",
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
"redis": "redis:6.2",
|
"redis": "redis:6.2",
|
||||||
"varnish": "varnish:7.0",
|
"varnish": "varnish:7.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2023-03-14T00:00:00+0000"
|
||||||
|
},
|
||||||
|
"magento/project-community-edition:2.4.4-p3": {
|
||||||
|
"magento": "magento/project-community-edition:2.4.4-p3",
|
||||||
|
"php": 8.1,
|
||||||
|
"composer": "2.2.21",
|
||||||
|
"mysql": "mysql:8.0",
|
||||||
|
"elasticsearch": "elasticsearch:7.17.5",
|
||||||
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
|
"redis": "redis:6.2",
|
||||||
|
"varnish": "varnish:7.1",
|
||||||
|
"nginx": "nginx:1.18",
|
||||||
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2025-04-24T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.5": {
|
"magento/project-community-edition:2.4.5": {
|
||||||
"magento": "magento/project-community-edition:2.4.5",
|
"magento": "magento/project-community-edition:2.4.5",
|
||||||
@@ -197,11 +226,12 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.17.5",
|
"elasticsearch": "elasticsearch:7.17.5",
|
||||||
"rabbitmq": "rabbitmq:3.9",
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
"redis": "redis:6.2",
|
"redis": "redis:6.2",
|
||||||
"varnish": "varnish:7.0",
|
"varnish": "varnish:7.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2022-08-09T00:00:00+0000"
|
||||||
},
|
},
|
||||||
"magento/project-community-edition:2.4.5-p1": {
|
"magento/project-community-edition:2.4.5-p1": {
|
||||||
"magento": "magento/project-community-edition:2.4.5-p1",
|
"magento": "magento/project-community-edition:2.4.5-p1",
|
||||||
@@ -209,10 +239,37 @@
|
|||||||
"composer": 2,
|
"composer": 2,
|
||||||
"mysql": "mysql:8.0",
|
"mysql": "mysql:8.0",
|
||||||
"elasticsearch": "elasticsearch:7.17.5",
|
"elasticsearch": "elasticsearch:7.17.5",
|
||||||
"rabbitmq": "rabbitmq:3.9",
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
"redis": "redis:6.2",
|
"redis": "redis:6.2",
|
||||||
"varnish": "varnish:7.0",
|
"varnish": "varnish:7.0",
|
||||||
"nginx": "nginx:1.18",
|
"nginx": "nginx:1.18",
|
||||||
"os": "ubuntu-latest"
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2023-03-14T00:00:00+0000"
|
||||||
|
},
|
||||||
|
"magento/project-community-edition:2.4.5-p2": {
|
||||||
|
"magento": "magento/project-community-edition:2.4.5-p2",
|
||||||
|
"php": 8.1,
|
||||||
|
"composer": "2.2.21",
|
||||||
|
"mysql": "mysql:8.0",
|
||||||
|
"elasticsearch": "elasticsearch:7.17.5",
|
||||||
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
|
"redis": "redis:6.2",
|
||||||
|
"varnish": "varnish:7.1",
|
||||||
|
"nginx": "nginx:1.18",
|
||||||
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2025-08-09T00:00:00+0000"
|
||||||
|
},
|
||||||
|
"magento/project-community-edition:2.4.6": {
|
||||||
|
"magento": "magento/project-community-edition:2.4.6",
|
||||||
|
"php": 8.1,
|
||||||
|
"composer": "2.4.4",
|
||||||
|
"mysql": "mysql:8.0",
|
||||||
|
"elasticsearch": "elasticsearch:7.17.5",
|
||||||
|
"rabbitmq": "rabbitmq:3.9-management",
|
||||||
|
"redis": "redis:7.0",
|
||||||
|
"varnish": "varnish:7.1",
|
||||||
|
"nginx": "nginx:1.18",
|
||||||
|
"os": "ubuntu-latest",
|
||||||
|
"eol": "2026-03-14T00:00:00+0000"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -34,7 +34,7 @@ runs:
|
|||||||
working-directory: ${{ inputs.source_folder }}
|
working-directory: ${{ inputs.source_folder }}
|
||||||
id: composer-cache
|
id: composer-cache
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=dir::$(composer config cache-files-dir)"
|
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: "Cache Composer Packages"
|
- name: "Cache Composer Packages"
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user