Skip to content
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

Revise .cicdtemplate for Github Actions #539

Open
3 tasks
hoangnguyen92dn opened this issue Oct 9, 2023 · 3 comments
Open
3 tasks

Revise .cicdtemplate for Github Actions #539

hoangnguyen92dn opened this issue Oct 9, 2023 · 3 comments

Comments

@hoangnguyen92dn
Copy link
Contributor

hoangnguyen92dn commented Oct 9, 2023

Why

There are some points to revamp the current CI/CD template to have workflow ready to work in new projects:
https://github.com/nimblehq/android-templates/tree/develop/.cicdtemplate/.github

  • Remove unused templates since it's out of date and unmaintained, the team need to reference to git-template as single source truth and latest update for new projects:

image


image


image

Who Benefits?

Developers

@luongvo
Copy link
Member

luongvo commented Oct 9, 2023

Remove unused templates since it's out of date and unmantainced, the team need to reference to git-template as single source truth and latest update for new projects:

@hoangnguyen92dn Instead of remove, IMO, we should keep them up to date or have a script to sync them when generating new projects.

Revamp the deployment workflow: deploy_staging_and_production_to_firebase_app_distribution.yml. Github supports environment for deployment therefore creating variables/secretes with environment suffix is unnecessary

Agree, we should separate Environment variables by env: production and staging instead of by template: template-compose and template-xml.

The rest lgtm.

@hoangnguyen92dn
Copy link
Contributor Author

@luongvo In fact, when the team create new repo, I see that choosing git-template from the options would be more efficient 😅

@luongvo
Copy link
Member

luongvo commented Oct 16, 2023

@hoangnguyen92dn Yes, but then, we will generate and push up the generated initial project from our Template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants