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

feita há 2 anos229 visualizações
1 Resposta
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
respondido há 2 anos
profile pictureAWS
ESPECIALISTA
Greg_B
avaliado há 2 anos
  • 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

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas