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

已提問 2 年前檢視次數 229 次
1 個回答
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
已回答 2 年前
profile pictureAWS
專家
Greg_B
已審閱 2 年前
  • 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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南