-
Notifications
You must be signed in to change notification settings - Fork 50
Feature/mess detector multi version #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kapilpandya22
wants to merge
10
commits into
extdn:master
Choose a base branch
from
kapilpandya22:feature/mess-detector-multi-version
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ab1532d
Add multi-version PHP support to magento-mess-detector
kapilpandya22 69411bd
Merge branch 'extdn:master' into feature/mess-detector-multi-version
kapilpandya22 9056f2a
Fix mess-detector Dockerfiles: correct Magento versions and replace A…
kapilpandya22 7ee2d5c
Merge branch 'extdn:master' into feature/mess-detector-multi-version
kapilpandya22 200e2b6
Correct magento versions in docker file
kapilpandya22 43e4264
Review changes
kapilpandya22 2084fd0
Update magento-mess-detector/Dockerfile:8.4
kapilpandya22 01542a9
Update magento-mess-detector/Dockerfile:8.3
kapilpandya22 d8a5175
Update magento-mess-detector/Dockerfile:8.2
kapilpandya22 ebe7508
Update Magento versions and remove audit.ignore from PHP 8.x mess-det…
kapilpandya22 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| name: Build Mess Detector Images | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: "0 6 * * 0" # 6 AM Weekly | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - .github/workflows/mess-detector-images.yml | ||
| - 'magento-mess-detector/**' | ||
| workflow_run: | ||
| workflows: | ||
| - Build Integration Images | ||
| types: | ||
| - completed | ||
| branches: | ||
| - master | ||
|
|
||
| jobs: | ||
| build: | ||
| name: "Build and deploy" | ||
|
|
||
| runs-on: "ubuntu-latest" | ||
|
|
||
| strategy: | ||
| matrix: | ||
| php-version: | ||
| - "7.3" | ||
| - "7.4" | ||
| - "8.1" | ||
| - "8.2" | ||
| - "8.3" | ||
| - "8.4" | ||
| - "8.5" | ||
| actions-with-docker-image: | ||
| - "magento-mess-detector" | ||
|
|
||
| env: | ||
| DOCKER_USERNAME: "extdn" | ||
|
|
||
| steps: | ||
| - name: "Checkout" | ||
| uses: "actions/checkout@v6" | ||
|
|
||
| - name: "Build Docker image" | ||
| run: "docker build --tag extdn/${{ matrix.actions-with-docker-image }}-action:${{ matrix.php-version }}-latest ${{ matrix.actions-with-docker-image }}/. -f ${{ matrix.actions-with-docker-image }}/Dockerfile:${{ matrix.php-version }}" | ||
|
|
||
| - name: "Docker Login" | ||
| run: "echo ${{ secrets.DOCKER_PASSWORD }} | $(which docker) login --password-stdin --username ${{ env.DOCKER_USERNAME }}" | ||
|
|
||
| - name: "Push Docker image (latest)" | ||
| run: "docker push extdn/${{ matrix.actions-with-docker-image }}-action:${{ matrix.php-version }}-latest" | ||
|
|
||
| - name: "Docker Logout" | ||
| run: "docker logout" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: 'Magento 2 Mess Detector' | ||
| author: 'ExtDN' | ||
| description: 'performs php static code analysis with the Magento 2 Mess Detector ruleset' | ||
| runs: | ||
| using: 'docker' | ||
| image: 'docker://extdn/magento-mess-detector-action:7.3-latest' | ||
| branding: | ||
| icon: 'code' | ||
| color: 'green' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: 'Magento 2 Mess Detector' | ||
| author: 'ExtDN' | ||
| description: 'performs php static code analysis with the Magento 2 Mess Detector ruleset' | ||
| runs: | ||
| using: 'docker' | ||
| image: 'docker://extdn/magento-mess-detector-action:7.4-latest' | ||
| branding: | ||
| icon: 'code' | ||
| color: 'green' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: 'Magento 2 Mess Detector' | ||
| author: 'ExtDN' | ||
| description: 'performs php static code analysis with the Magento 2 Mess Detector ruleset' | ||
| runs: | ||
| using: 'docker' | ||
| image: 'docker://extdn/magento-mess-detector-action:8.1-latest' | ||
| branding: | ||
| icon: 'code' | ||
| color: 'green' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: 'Magento 2 Mess Detector' | ||
| author: 'ExtDN' | ||
| description: 'performs php static code analysis with the Magento 2 Mess Detector ruleset' | ||
| runs: | ||
| using: 'docker' | ||
| image: 'docker://extdn/magento-mess-detector-action:8.2-latest' | ||
| branding: | ||
| icon: 'code' | ||
| color: 'green' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: 'Magento 2 Mess Detector' | ||
| author: 'ExtDN' | ||
| description: 'performs php static code analysis with the Magento 2 Mess Detector ruleset' | ||
| runs: | ||
| using: 'docker' | ||
| image: 'docker://extdn/magento-mess-detector-action:8.3-latest' | ||
| branding: | ||
| icon: 'code' | ||
| color: 'green' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: 'Magento 2 Mess Detector' | ||
| author: 'ExtDN' | ||
| description: 'performs php static code analysis with the Magento 2 Mess Detector ruleset' | ||
| runs: | ||
| using: 'docker' | ||
| image: 'docker://extdn/magento-mess-detector-action:8.4-latest' | ||
| branding: | ||
| icon: 'code' | ||
| color: 'green' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: 'Magento 2 Mess Detector' | ||
| author: 'ExtDN' | ||
| description: 'performs php static code analysis with the Magento 2 Mess Detector ruleset' | ||
| runs: | ||
| using: 'docker' | ||
| image: 'docker://extdn/magento-mess-detector-action:8.5-latest' | ||
| branding: | ||
| icon: 'code' | ||
| color: 'green' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| FROM extdn/magento-integration-tests-action:7.3-latest AS builder | ||
|
|
||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.3-p3" | ||
|
|
||
| WORKDIR "/var/www/magento2ce" | ||
| # https://github.com/composer/composer/issues/12623#issuecomment-3551953185 | ||
| RUN composer config --unset repositories || true | ||
| RUN composer config --unset repo.0 | ||
| RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/ | ||
| RUN composer config --no-plugins allow-plugins true | ||
| RUN composer require hoa/regex --no-update | ||
| RUN composer config --json audit.ignore '{"PKSA-z3gr-8qht-p93v": "Ignored for CI", "PKSA-rkkf-636k-qjb3": "Ignored for CI", "PKSA-wws7-mr54-jsny": "Ignored for CI", "PKSA-db8d-773v-rd1n": "Ignored for CI", "PKSA-xwpn-zs9j-6wy5": "Ignored for CI", "PKSA-sf9j-1gs7-xzvx": "Ignored for CI", "PKSA-7h5p-prw9-w5nr": "Ignored for CI", "PKSA-pwvr-3754-v57r": "Ignored for CI", "PKSA-t5r2-p5q9-mtpn": "Ignored for CI", "PKSA-6bp1-9hfj-2cgv": "Ignored for CI", "PKSA-m1ph-vmbx-2xd3": "Ignored for CI", "PKSA-6zmq-d6mk-r5wm": "Ignored for CI", "PKSA-93hy-9dc1-gbwt": "Ignored for CI", "PKSA-9p8h-97x3-qxpm": "Ignored for CI", "PKSA-4t1p-xpk2-nsss": "Ignored for CI", "PKSA-dxyf-6n16-t87m": "Ignored for CI", "PKSA-n3s6-289w-qtqb": "Ignored for CI", "PKSA-stsw-jsf7-f6vs": "Ignored for CI", "PKSA-b14r-zh1d-vdrc": "Ignored for CI", "PKSA-v5yj-8nmz-sk2q": "Ignored for CI", "PKSA-ft77-7h5f-p3r6": "Ignored for CI", "PKSA-yg4s-vh6g-jnyh": "Ignored for CI", "PKSA-wdyb-c3m7-9v88": "Ignored for CI"}' | ||
| RUN composer install --prefer-dist | ||
|
|
||
| FROM extdn/magento-integration-tests-action:7.3-latest | ||
| COPY --from=builder /var/www/magento2ce/ /m2/ | ||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| COPY phpunit.phpmd.xml /m2/dev/tests/static/phpunit.phpmd.xml | ||
| COPY PhpmdRunner.php /m2/dev/tests/static/testsuite/Magento/Test/Php/PhpmdRunner.php | ||
| COPY LiveCodePhpmdRunner.php /m2/dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/LiveCodePhpmdRunner.php | ||
|
|
||
| COPY entrypoint.sh /entrypoint.sh | ||
| ENTRYPOINT ["/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| FROM extdn/magento-integration-tests-action:7.4-latest AS builder | ||
|
|
||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.5-p14" | ||
|
|
||
| WORKDIR "/var/www/magento2ce" | ||
| # https://github.com/composer/composer/issues/12623#issuecomment-3551953185 | ||
| RUN composer config --unset repositories || true | ||
| RUN composer config --unset repo.0 | ||
| RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/ | ||
| RUN composer config --no-plugins allow-plugins true | ||
| RUN composer require hoa/regex --no-update | ||
| RUN composer config --json audit.ignore '{"PKSA-z3gr-8qht-p93v": "Ignored for CI", "PKSA-rkkf-636k-qjb3": "Ignored for CI", "PKSA-wws7-mr54-jsny": "Ignored for CI", "PKSA-db8d-773v-rd1n": "Ignored for CI", "PKSA-xwpn-zs9j-6wy5": "Ignored for CI", "PKSA-sf9j-1gs7-xzvx": "Ignored for CI", "PKSA-7h5p-prw9-w5nr": "Ignored for CI", "PKSA-4t1p-xpk2-nsss": "Ignored for CI", "PKSA-dxyf-6n16-t87m": "Ignored for CI", "PKSA-n3s6-289w-qtqb": "Ignored for CI", "PKSA-stsw-jsf7-f6vs": "Ignored for CI", "PKSA-yg4s-vh6g-jnyh": "Ignored for CI", "PKSA-wdyb-c3m7-9v88": "Ignored for CI"}' | ||
| RUN composer install --prefer-dist | ||
|
|
||
| FROM extdn/magento-integration-tests-action:7.4-latest | ||
| COPY --from=builder /var/www/magento2ce/ /m2/ | ||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| COPY phpunit.phpmd.xml /m2/dev/tests/static/phpunit.phpmd.xml | ||
| COPY PhpmdRunner.php /m2/dev/tests/static/testsuite/Magento/Test/Php/PhpmdRunner.php | ||
| COPY LiveCodePhpmdRunner.php /m2/dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/LiveCodePhpmdRunner.php | ||
|
|
||
| COPY entrypoint.sh /entrypoint.sh | ||
| ENTRYPOINT ["/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| FROM extdn/magento-integration-tests-action:8.1-latest AS builder | ||
|
|
||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.6-p13" | ||
|
|
||
| WORKDIR "/var/www/magento2ce" | ||
| # https://github.com/composer/composer/issues/12623#issuecomment-3551953185 | ||
| RUN composer config --unset repositories || true | ||
| RUN composer config --unset repo.0 | ||
| RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/ | ||
| RUN composer config --no-plugins allow-plugins true | ||
| RUN composer require hoa/regex --no-update | ||
| RUN composer config --json audit.ignore '{"PKSA-z3gr-8qht-p93v": "Ignored for CI", "PKSA-rkkf-636k-qjb3": "Ignored for CI", "PKSA-wws7-mr54-jsny": "Ignored for CI", "PKSA-db8d-773v-rd1n": "Ignored for CI"}' | ||
|
kapilpandya22 marked this conversation as resolved.
Outdated
|
||
| RUN composer install --prefer-dist | ||
|
|
||
| FROM extdn/magento-integration-tests-action:8.1-latest | ||
| COPY --from=builder /var/www/magento2ce/ /m2/ | ||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| COPY phpunit.phpmd.xml /m2/dev/tests/static/phpunit.phpmd.xml | ||
| COPY PhpmdRunner.php /m2/dev/tests/static/testsuite/Magento/Test/Php/PhpmdRunner.php | ||
| COPY LiveCodePhpmdRunner.php /m2/dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/LiveCodePhpmdRunner.php | ||
|
|
||
| COPY entrypoint.sh /entrypoint.sh | ||
| ENTRYPOINT ["/entrypoint.sh"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| FROM extdn/magento-integration-tests-action:8.2-latest AS builder | ||
|
|
||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.8-p1" | ||
|
kapilpandya22 marked this conversation as resolved.
Outdated
|
||
|
|
||
| WORKDIR "/var/www/magento2ce" | ||
| # https://github.com/composer/composer/issues/12623#issuecomment-3551953185 | ||
| RUN composer config --unset repositories || true | ||
| RUN composer config --unset repo.0 | ||
| RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/ | ||
| RUN composer config --no-plugins allow-plugins true | ||
| RUN composer require hoa/regex --no-update | ||
| RUN composer config --json audit.ignore '{"PKSA-z3gr-8qht-p93v": "Ignored for CI", "PKSA-rkkf-636k-qjb3": "Ignored for CI", "PKSA-wws7-mr54-jsny": "Ignored for CI", "PKSA-db8d-773v-rd1n": "Ignored for CI"}' | ||
|
kapilpandya22 marked this conversation as resolved.
Outdated
|
||
| RUN composer install --prefer-dist | ||
|
|
||
| FROM extdn/magento-integration-tests-action:8.2-latest | ||
| COPY --from=builder /var/www/magento2ce/ /m2/ | ||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| COPY phpunit.phpmd.xml /m2/dev/tests/static/phpunit.phpmd.xml | ||
| COPY PhpmdRunner.php /m2/dev/tests/static/testsuite/Magento/Test/Php/PhpmdRunner.php | ||
| COPY LiveCodePhpmdRunner.php /m2/dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/LiveCodePhpmdRunner.php | ||
|
|
||
| COPY entrypoint.sh /entrypoint.sh | ||
| ENTRYPOINT ["/entrypoint.sh"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| FROM extdn/magento-integration-tests-action:8.3-latest AS builder | ||
|
|
||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.8-p3" | ||
|
kapilpandya22 marked this conversation as resolved.
Outdated
|
||
|
|
||
| WORKDIR "/var/www/magento2ce" | ||
| # https://github.com/composer/composer/issues/12623#issuecomment-3551953185 | ||
| RUN composer config --unset repositories || true | ||
| RUN composer config --unset repo.0 | ||
| RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/ | ||
| RUN composer config --no-plugins allow-plugins true | ||
| RUN composer require hoa/regex --no-update | ||
| RUN composer install --prefer-dist | ||
|
|
||
| FROM extdn/magento-integration-tests-action:8.3-latest | ||
| COPY --from=builder /var/www/magento2ce/ /m2/ | ||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| COPY phpunit.phpmd.xml /m2/dev/tests/static/phpunit.phpmd.xml | ||
| COPY PhpmdRunner.php /m2/dev/tests/static/testsuite/Magento/Test/Php/PhpmdRunner.php | ||
| COPY LiveCodePhpmdRunner.php /m2/dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/LiveCodePhpmdRunner.php | ||
|
|
||
| COPY entrypoint.sh /entrypoint.sh | ||
| ENTRYPOINT ["/entrypoint.sh"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| FROM extdn/magento-integration-tests-action:8.4-latest AS builder | ||
|
|
||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.8-p3" | ||
|
kapilpandya22 marked this conversation as resolved.
Outdated
|
||
|
|
||
| WORKDIR "/var/www/magento2ce" | ||
| # https://github.com/composer/composer/issues/12623#issuecomment-3551953185 | ||
| RUN composer config --unset repositories || true | ||
| RUN composer config --unset repo.0 | ||
| RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/ | ||
| RUN composer config --no-plugins allow-plugins true | ||
| RUN composer require hoa/regex --no-update | ||
| RUN composer install --prefer-dist | ||
|
|
||
| FROM extdn/magento-integration-tests-action:8.4-latest | ||
| COPY --from=builder /var/www/magento2ce/ /m2/ | ||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| COPY phpunit.phpmd.xml /m2/dev/tests/static/phpunit.phpmd.xml | ||
| COPY PhpmdRunner.php /m2/dev/tests/static/testsuite/Magento/Test/Php/PhpmdRunner.php | ||
| COPY LiveCodePhpmdRunner.php /m2/dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/LiveCodePhpmdRunner.php | ||
|
|
||
| COPY entrypoint.sh /entrypoint.sh | ||
| ENTRYPOINT ["/entrypoint.sh"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| FROM extdn/magento-integration-tests-action:8.5-latest AS builder | ||
|
|
||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| RUN composer create-project --repository=https://repo-magento-mirror.fooman.co.nz/ --no-plugins --no-install --no-interaction magento/project-community-edition /var/www/magento2ce "2.4.9" | ||
|
|
||
| WORKDIR "/var/www/magento2ce" | ||
| # https://github.com/composer/composer/issues/12623#issuecomment-3551953185 | ||
| RUN composer config --unset repositories || true | ||
| RUN composer config --unset repo.0 | ||
| RUN composer config repo.foomanmirror composer https://repo-magento-mirror.fooman.co.nz/ | ||
| RUN composer config --no-plugins allow-plugins true | ||
| RUN composer require hoa/regex --no-update | ||
| RUN composer install --prefer-dist | ||
|
|
||
| FROM extdn/magento-integration-tests-action:8.5-latest | ||
| COPY --from=builder /var/www/magento2ce/ /m2/ | ||
| RUN echo memory_limit = -1 >> /usr/local/etc/php/conf.d/custom-memory.ini | ||
| COPY phpunit.phpmd.xml /m2/dev/tests/static/phpunit.phpmd.xml | ||
| COPY PhpmdRunner.php /m2/dev/tests/static/testsuite/Magento/Test/Php/PhpmdRunner.php | ||
| COPY LiveCodePhpmdRunner.php /m2/dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/LiveCodePhpmdRunner.php | ||
|
|
||
| COPY entrypoint.sh /entrypoint.sh | ||
| ENTRYPOINT ["/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.