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

gefragt vor 2 Jahren229 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren
profile pictureAWS
EXPERTE
Greg_B
überprüft vor 2 Jahren
  • 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

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen