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

Add deploy feature for component development #297

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sparkgene
Copy link

Currently GDK can only deploy via cloud deploy. But in development phase developer want to deploy to Greengrass Core running in local environment. This feature use greengrass-cli command to deploy the component for development.


Issue #, if available:

N/A

Description of changes:

Add new command gdk component local deploy|remove|list to execute greengrass-cli command via gdk cli.

Why is this change necessary:

GDK only support deploy via cloud. In development phase we use greengrass-cli to deploy but the component structure is different between GDK and greengrass-cli. This feature add capability to deploy GDK project to loca Greengrass Core.

How was this change tested:

  • tested with make tests_unit and make tests_integration
  • deploy test from local computer to EC2 instance which is running Greengrass Core
  • deploy test from local computer to Raspberry Pi device which is running Greengrass Core
  • deploy test from EC2 instance which is running Greengrass Core
  • deploy components with artifacts
    • Python
    • Java
    • Docker

Any additional information or context required to review the change:

Checklist:

  • [-] Updated the README if applicable
  • [-] Updated or added new unit tests
  • [-] Updated or added new integration tests
  • Updated or added new end-to-end tests
  • [-] If your code makes a remote network call, it was tested with a proxy
  • [-] You confirm that the change is backwards compatible

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Currently GDK can only deploy via cloud deploy. But in development phase developer want to deploy to Greengrass Core running in local environment. This feature use greengrass-cli command to deploy the component for development.

---------

Co-authored-by: Jun Ichikawa <[email protected]>
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