ios-templates icon indicating copy to clipboard operation
ios-templates copied to clipboard

[RFC] Support Codemagic

Open phongvhd93 opened this issue 2 years ago • 5 comments

Issue

There are two new projects are using CodeMagic as a CI/CD tool.And we going to have a new project from the same client; thus, it is likely to use CodeMagic as a CI/CD tool. So adding support for CodeMagic will help us speed up the CI/CD configuration a bit for future projects.

Solution

  • Add codemagic.yaml to the template as the same way we did with bitrise.yml.
  • The template must have 3 basic workflows: Test PR, Deploy Staging, Deploy App Store.
  • Create related documents.

Who Benefits?

iOS Chapter and iOS developers

What next?

  • [ ] Discuss with iOS chapter members and finalize the approach.
  • [ ] Create stories for the Codemagic Epic
  • [ ] Implement and create pull requests. 🙌

phongvhd93 avatar Jul 06 '22 06:07 phongvhd93

It's a good one, and I think we should give the user an option to choose between Bitrise or Codemagic? 🤔

markgravity avatar Jul 06 '22 08:07 markgravity

I have the same concern with @markgravity that since there are more CI/CD options now beside Bitrise and Github Action, it might introduce redundancy setup code for a single project if we don't provide the option to choose. It can be seen that different projects only need the CI/CD setup code on one platform only.

-> A solution for this can be enabling the ability to select the CI/CD option when running the script to setup the project. 🙏

minhnimble avatar Jul 25 '22 02:07 minhnimble

I have the same concern with @markgravity that since there are more CI/CD options now beside Bitrise and Github Action, it might introduce redundancy setup code for a single project if we don't provide the option to choose. It can be seen that different projects only need the CI/CD setup code on one platform only.

-> A solution for this can be enabling the ability to select the CI/CD option when running the script to setup the project. 🙏

This can be done by scripts, after a developer selects a CI/CD service, the script will automatically remove the others. What do you think about this?

phongvhd93 avatar Jul 25 '22 03:07 phongvhd93

@phongvhd93 sounds good to me 👍

markgravity avatar Jul 25 '22 04:07 markgravity

@phongvhd93 you can begin create tasks for this 👍

markgravity avatar Aug 02 '22 04:08 markgravity