Skip to content

integrated cloudsmith implementation to support retrieving files from… - #122

Open
Zvckkk wants to merge 1 commit into
sdgtt:refactor-2from
Zvckkk:cloudsmith-refactor-2-integ
Open

integrated cloudsmith implementation to support retrieving files from…#122
Zvckkk wants to merge 1 commit into
sdgtt:refactor-2from
Zvckkk:cloudsmith-refactor-2-integ

Conversation

@Zvckkk

@Zvckkk Zvckkk commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds cloudsmith_auth_id variable to getGauntEnv to hold a Jenkins credential ID for Cloudsmith authentication

Summary

  • Adds cloudsmith_auth_id variable to getGauntEnv to hold a Jenkins credential ID for Cloudsmith authentication
  • When bootfile_source == "cloudsmith", the pipeline wraps nebula dl.bootfiles calls in withCredentials and appends --cloudsmith-auth flag
  • Adds withCredentials() and string() methods to IStepExecutor/StepExecutor abstraction layer
  • Applied consistently across UpdateBOOTFiles, RecoverBoard, and legacy old_stage_library() paths

Usage

def harness = getGauntlet(hdlBranch, linuxBranch, bootPartitionBranch, firmwareVersion, 'cloudsmith')
harness.set_env('cloudsmith_auth_id', 'my-cloudsmith-credential-id')

Where 'my-cloudsmith-credential-id' is a Jenkins Secret Text credential containing username:token.

Added also Test Plan for Cloudsmith sources

  • TestUpdateBOOTFiles > test stageSteps for non-pluto with cloudsmith source
  • TestRecoverBoard > test stageSteps for non-pluto with cloudsmith source

Note

hdl_linux, no-os, and microblze filetypes are not yet supported by Nebula's Cloudsmith Implementation - the pipeline passes through the source value and nebula handles the unsupported case.

… Cloudsmith

Signed-off-by: Ace Alexander Ilog <acealexander.ilog@analog.com>
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