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
magento/magento2#35706 Remote storage issue #35706 #36039
magento/magento2#35706 Remote storage issue #35706 #36039
Conversation
- Created new ImageFactory class that is refactored service class Zend_Pdf_Resource_ImageFactory for using external S3 Storage images in invoice
Hi @monteshot. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review. For more details, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
- Changed ImageFactory from static to generic class - Added test for ImageFactory
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
- Added copyright and strict type setting - Added type name for method
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
- Changed the modificator of access of property and its phpdoc for Image
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
- Changed the modificator of access of property and its phpdoc for Image
…or-issue-magento#35706 # Conflicts: # app/code/Magento/Sales/Model/Order/Pdf/AbstractPdf.php
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run WebAPI Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run WebAPI Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run WebAPI Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
e0e33df
into
magento:2.4-develop
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
1.1
1.2 Start MinIO. For example:
MINIO_ROOT_USER=monteshot MINIO_ROOT_PASSWORD=monteshot ./minio server /home/monteshot/minio/magento --console-address ":9901" --address ":9801"
1.3 Create your bucket
1.4 Connect Application to S3 Storage
bin/magento setup:config:set \ --remote-storage-driver="aws-s3" \ --remote-storage-endpoint="http://127.0.0.1:9801" \ --remote-storage-region="ua-shostka-1" \ --remote-storage-bucket="magecd" \ --remote-storage-key="magecd12" \ --remote-storage-secret="magecd12" \ --no-interaction
1.5 Run Sync
bin/magento remote-storage:sync
2. Go to configuration and add image as discribed in Task
#35706 (comment)
3.
Check the PDF invoice w/o exception
Questions or comments
Contribution checklist (*)