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

Support Platform CLI #54

Merged
merged 29 commits into from
Jan 14, 2025
Merged

Support Platform CLI #54

merged 29 commits into from
Jan 14, 2025

Conversation

doshitan
Copy link
Contributor

@doshitan doshitan commented Jan 13, 2025

Changes

Switch to the Platform CLI[1] for install/update.

  • Add copier.yml config file
  • Move template files into template/
  • Move Docker Compose files from project root to {{app_name}}/. And tag the
    app services with {{app_name}}. In a multi-app environment, it is
    unreasonable (and high source of conflicts on update) for a single application
    template to provide a root Compose file. So apps should provide their own
    Compose files, the the project can import them into one project-wide Compose
    file if desired.
  • Drop unnecessary .grype.yml. Can use template-infra's project-wide version
    since we don't need any app overrides.
  • Pull back a few things from pfml-starter-kit
  • Remove old install/update scripts

[1] https://github.com/navapbc/platform-cli

Testing

navapbc/platform-test#148

https://github.com/navapbc/pfml-starter-kit-app/pull/239

Match template-infra default
It's currently empty, but if there is content, it'd basically always
conflict with other templates?
Use template-infra's project-wide version since we don't need any app overrides.
@doshitan doshitan merged commit 62fd48e into main Jan 14, 2025
3 checks passed
@doshitan doshitan deleted the platform-cli branch January 14, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant