-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from Datatrics/release/1.6.6
Release/1.6.6
- Loading branch information
Showing
10 changed files
with
50 additions
and
68 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,31 +1,31 @@ | ||
name: Run setup:upgrade and setup:di:compile | ||
on: [pull_request] | ||
on: [ pull_request ] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
include: | ||
- PHP_VERSION: php72-fpm | ||
MAGENTO_VERSION: 2.3.3 | ||
- PHP_VERSION: php73-fpm | ||
MAGENTO_VERSION: 2.3.7 | ||
- PHP_VERSION: php74-fpm | ||
MAGENTO_VERSION: 2.4.2 | ||
- PHP_VERSION: php81-fpm | ||
MAGENTO_VERSION: 2.4.4 | ||
MAGENTO_VERSION: 2.4.0 | ||
- PHP_VERSION: php82-fpm | ||
MAGENTO_VERSION: 2.4.6 | ||
- PHP_VERSION: php82-fpm | ||
MAGENTO_VERSION: 2.4.6 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Start Docker | ||
run: PHP_VERSION=${{ matrix.PHP_VERSION }} MAGENTO_VERSION=magento${{ matrix.MAGENTO_VERSION }} docker-compose -f .github/workflows/templates/docker-compose.yml up -d | ||
run: docker run --detach --name magento-project-community-edition michielgerritsen/magento-project-community-edition:${{ matrix.PHP_VERSION }}-magento${{ matrix.MAGENTO_VERSION }} | ||
|
||
- name: Create branch for Composer and remove version from composer.json | ||
run: git checkout -b continuous-integration-test-branch && sed -i '/version/d' ./composer.json | ||
- name: Upload our code into the docker container | ||
run: docker cp $(pwd) magento-project-community-edition:/data/extensions/ | ||
|
||
- name: Upload the code into the docker container | ||
run: docker cp $(pwd) magento-project-community-edition:/data/extensions/ && docker exec magento-project-community-edition composer require datatrics/magento2-integration:dev-continuous-integration-test-branch | ||
run: docker exec magento-project-community-edition composer require datatrics/magento2-integration:@dev --no-plugins | ||
|
||
- name: Activate the extension and run setup:upgrade and setup:di:compile | ||
run: docker exec magento-project-community-edition bash -c "php bin/magento module:enable Datatrics_Connect && php bin/magento setup:upgrade && php bin/magento setup:di:compile" | ||
run: docker exec magento-project-community-edition ./retry "php bin/magento setup:upgrade && php bin/magento setup:di:compile" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<!-- ko if: ($col.getLabel($row()) == "Error") --> | ||
<span class='grid-severity-major'><!-- ko i18n: 'Error' --><!-- /ko --></span> | ||
<!-- ko if: ($col.getLabel($row()) && $col.getLabel($row()).includes("Error")) --> | ||
<span class='grid-severity-major'><!-- ko i18n: "Error" --><!-- /ko --></span> | ||
<!--/ko--> | ||
<!-- ko if: ($col.getLabel($row()) == "Queued for Update") --> | ||
<span class='grid-severity-minor'><!-- ko i18n: 'Queued for Update' --><!-- /ko --></span> | ||
<!-- ko if: ($col.getLabel($row()) && $col.getLabel($row()).includes("Queued")) --> | ||
<span class='grid-severity-minor'><!-- ko i18n: "Queued for Update" --><!-- /ko --></span> | ||
<!--/ko--> | ||
<!-- ko if: ($col.getLabel($row()) == "Synced") --> | ||
<span class='grid-severity-notice'><!-- ko i18n: 'Synced' --><!-- /ko --></span> | ||
<!-- ko if: ($col.getLabel($row()) && $col.getLabel($row()).includes("Synced")) --> | ||
<span class='grid-severity-notice'><!-- ko i18n: "Synced" --><!-- /ko --></span> | ||
<!--/ko--> | ||
<!-- ko if: ($col.getLabel($row()) == "Failed") --> | ||
<span class='grid-severity-critical'><!-- ko i18n: 'Failed' --><!-- /ko --></span> | ||
<!-- ko if: ($col.getLabel($row()) &&$col.getLabel($row()).includes("Failed")) --> | ||
<span class='grid-severity-critical'><!-- ko i18n: "Failed" --><!-- /ko --></span> | ||
<!--/ko--> |