Skip to content

feat: add CI pipeline for edge node image build and validation#104

Open
nathsudi wants to merge 3 commits into
mainfrom
nathsudi/ci
Open

feat: add CI pipeline for edge node image build and validation#104
nathsudi wants to merge 3 commits into
mainfrom
nathsudi/ci

Conversation

@nathsudi

Copy link
Copy Markdown
Contributor

PULL DESCRIPTION

  • Replace legacy scan-only Jenkinsfile with a full build-and-validate pipeline
  • Support three build modes: standard-image (Ubuntu minimal), ict-based (Image Composer Tool), and reuse-image
    (artifact-only packaging)
  • Add Docker layer caching with clean/cached toggle for accurate KPI metrics vs fast dev iterations
  • Integrate bootable USB preparation on virtual NBD device for timing measurement
  • Trigger child VEN test job asynchronously to validate built artifacts without executor deadlock

Impact Analysis

Info Please fill out this column
Root Cause Specifically for bugs, empty in case of no variants
Jira ticket Add the name to the Jira ticket eg: "ITEP-". Automation will do the linking to Jira

CODE MAINTAINABILITY

  • Added required new tests relevant to the changes and the URL has been included
  • Updated Documentation as relevant to the changes
  • PR change contains code related to security
  • PR introduces changes that break compatibility with other modules/services (If YES, please provide description)

Code must act as a teacher for future developers

nathsudi and others added 2 commits July 13, 2026 14:14
Extend the e2e CI Jenkinsfile with:
- ICT prerequisite hardening: Go 1.24.0+ check, universe/apt handling,
  and a chown of ict-tool after the root-owned sudo build so artifact
  discovery does not hit permission errors.
- Copy Artifacts to Flashing Host stage over scp (sshpass), with
  TARGET_NODE_IP/USER/PASSWORD and TARGET_DEST_DIR parameters.
- Flash Target Node stage: extract artifact, inject proxy + SSH key into
  config-file, verify the target device via lsblk, run
  bootable-usb-prepare.sh, select the USB UEFI boot entry from
  efibootmgr, set it as BootNext, and reboot.
- Verify Target Boot and Post-Boot Validation (README Phase 3) stages.
- BUILD_ONLY gate (default on) so a plain build never touches a remote
  host; switch agent label to fed-node2.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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.

2 participants