Greengrass V2 Component Publish - SNAPSHOT Version Support

0

Hi Team,

I have build component in java & maven as build tool. Is there anyway I can release SNAPSHOT version of artifacts to IoT Core ?? I have explore GDK where it always checked for NEXT_VERSION from IoT Core and increment the version and release to IoT core while publish. Since we want to implement CICD in project we want SNAPSHOT version to be deploy on DEV environment for developer to do functional/Integration testing.

Regards, Nalay Patel

asked 2 years ago224 views
1 Answer
1

Hi Nalay,

"SNAPSHOT" style semantics are not supported by the Greengrass or the GDK. You cannot re-create a component version that already exists. You would need to first delete the component and then re-upload.

Thanks, -joe

AWS
answered 2 years ago
profile pictureAWS
EXPERT
Greg_B
reviewed 2 years ago
  • Hey Joe,

    Thanks for the response. I am looking for SNAPSHOT publish. For e.g if I want to publish 1.0.0-SNAPSHOT to IoT core using GDK. Will it possible ?? If yes, then what am I suppose to provide in GDK config json.

    Regards, Nalay Patel

  • Ok, I've updated my answer. I misunderstood your original intent.

    I'd recommend against that approach though. Have you considered publishing pre-release versions instead? (E.g. 1.0.0-RC1?) This way you gain all the benefits of a "SNAPSHOT" component, but without any of the pitfalls of deleting and re-creating component versions.

  • Hey Joe,

    Yes, we want to support pre-release versions publish on IoT Core. Could you please guide to how to address this requirement ?? Since GDK is not supporting, is there any alternate way to handle this ??

    Our requirement is like for development team's testing we wants to keep using SNAPSHOT build and deployment over greengrass v2 components.

    Regards, Nalay Patel

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions