ece-tools icon indicating copy to clipboard operation
ece-tools copied to clipboard

[Proposal] Using ECE Tools with Magento Open Source

Open ihor-sviziev opened this issue 5 years ago • 15 comments

As ECE Tools became open source and public available - it's good idea to add instructions how to use it with Magento OS. As result - people might try to use it on Magento OS and will report issues / send PRs. I just tried and got few issues:

  • [ ] all docs are saying how to use it on Magento Commerce, but none are saying how to use them with Magento OS
  • [x] package magento/ece-tools is not public available, even not available when I put my credentials w/o access to Magneto Commerce, there only one way to install it - use link to github repo as a composer repository

ihor-sviziev avatar May 20 '19 07:05 ihor-sviziev

Hi @ihor-sviziev,

Thanks for creating the proposal.

  • I believe that's an error that the package is not available with non-EE keys now. Assume that's because some time ago it was private and we didn't change entitlements on composer repo to align with GitHub. We'll look into fixing this part.
  • For a bigger question of OS support, we'll need some time to review this request. We never really tested it thoroughly to work with OS only, without any EE modules or Cloud meta-package components. Even though we believe that it should work fine even now, having ECE-Tools officially OS-compatible was not on the roadmap before.

Do you see much interest from OS community in ECE-Tools? Were you able to get it working after pulling package itself from GitHub?

YPyltiai avatar May 20 '19 13:05 YPyltiai

@ihor-sviziev , quick update: latest version 2002.0.19 is available with OS keys now. Still working on validation of the main proposal though.

YPyltiai avatar Jun 03 '19 15:06 YPyltiai

I was able to get this working fairly well on OS version, just by including the package with composer require. I had an auth key set of course, but with no EE permissions.

I think the community would really benefit from having a single source of truth when it comes to build/deploy/docker etc. This CI/CD tool can easily fill the gap, and it also brings more people into the cloud fold by teaching them how to be compatible with cloud. It will be a lot easier to acclimate if they ever go from Open Source to Cloud Edition.

Another very big benefit is that the ece-tools package may get some very nice pull requests that include features or fixes, a lot of the other tools benefit from this already.

Just throwing my 2-cents in here, because I was literally seeing how the water felt and was trying to write up a howto etc on using ece-tools for build/deploy/docker if you are not on cloud.

aepod avatar Jul 05 '19 14:07 aepod

I will be a happy user of ece-tools with the OS version of magento, in addition to fill the gap now, Ii wil be grateful for ever if some one graciously put a detailed tutorial on how to use ece-tools local docker deployment with Magento OS..

IJOL avatar Jan 26 '20 17:01 IJOL

@shiftedreality , @aepod ^, I think you both managed to install OS with ECE-Tools on Cloud Docker?

YPyltiai avatar Jan 27 '20 16:01 YPyltiai

Yes, we have automated Functional build which also verifies this functionality. Should be closed with 2002.1 release.

shiftedreality avatar Jan 27 '20 16:01 shiftedreality

Hola a todos, I will be glad to test anything you come up with, but i admit i dont have my composer skills up to the task, i'¡m very lost about how to that, a detailed guidance will be greatly appreciated..

Saludos,

Ignacio J.Ortega skype:ignacioj.ortega

El lun., 27 ene. 2020 a las 17:55, Oleg Posyniak ([email protected]) escribió:

Yes, we have automated Functional build which also verifies this functionality. Should be closed with 2002.1 release.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/magento/ece-tools/issues/512?email_source=notifications&email_token=AAXHYV3UTVIQF5BWWXX7J6TQ74GZPA5CNFSM4HN7MPHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKAHMSQ#issuecomment-578844234, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXHYV6ANDU5UMXQOH2BSBDQ74GZPANCNFSM4HN7MPHA .

IJOL avatar Jan 28 '20 10:01 IJOL

It will be great to use ece-tools to build CI/CD for Magento Open Source. As I can see most of the steps in hooks are related with MagentoCloud module. Is it there easy way to use it for that? Or we have to remove cloud dependencies and build all steps again?

vpashovski avatar Mar 24 '20 18:03 vpashovski

@vpashovski there are few options available:

  1. Use Magento Cloud-like way of deployment, with build, deploy and post-deploy phases. It does not really require Magento Cloud. We can potentially use it on any infrastructure with small tweaks.
  2. Write custom scenarios: https://devdocs.magento.com/cloud/deploy/scenario-based-deployment.html#add-scenarios-using-build-and-deploy-hooks

Overall ECE-Tools is already compatible with Magento OpenSource, we'll most likely add some topic on DevDocs.

cc: @meker12

shiftedreality avatar Mar 24 '20 19:03 shiftedreality

@ihor-sviziev we can cross-out this:

package magento/ece-tools is not public available, even not available when I put my credentials w/o access to Magneto Commerce, there only one way to install it - use link to github repo as a composer repository

ECE-Tools is available with OS keys now

shiftedreality avatar Mar 24 '20 19:03 shiftedreality

@shiftedreality thank you for update! I updated issue description. But still some example is missing.

Would be great to have something similar to https://github.com/fooman/magento2-starter-template/runs/538326475?check_suite_focus=true, so many people could try it

ihor-sviziev avatar Mar 27 '20 07:03 ihor-sviziev

@magento export issue to Jira project MCLOUD as Task

NadiyaS avatar Oct 26 '20 22:10 NadiyaS

:white_check_mark: Jira issue (https://jira.corp.magento.com/browse/MCLOUD-7179) is successfully created for this issue.

magento-engcom-team avatar Oct 26 '20 22:10 magento-engcom-team

@NadiyaS, any info on why this issue was closed?

ihor-sviziev avatar Feb 02 '21 04:02 ihor-sviziev

@ihor-sviziev we have another work going around Git installation from OpenSource (https://www.youtube.com/watch?v=P6lbHZa-uPo&feature=youtu.be) and wrongly assumed it duplicates this ticket.

I've re-opened this ticket for Composer-based installation of Magento OS

shiftedreality avatar Feb 02 '21 14:02 shiftedreality