Skip to content

upstream_merge: Add automated SSH setup for target-build#352

Open
jatinjb444 wants to merge 1 commit into
ni:nilrt/master/scarthgapfrom
jatinjb444:rt-kernel-dev
Open

upstream_merge: Add automated SSH setup for target-build#352
jatinjb444 wants to merge 1 commit into
ni:nilrt/master/scarthgapfrom
jatinjb444:rt-kernel-dev

Conversation

@jatinjb444

@jatinjb444 jatinjb444 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Changes

Added automated password-less SSH setup from target to build machine
Generates SSH keys on target and installs them safely on build host
Avoids duplicate key insertion with idempotent handling
Removes dependency on manual SSH configuration for script execution

Testing

Verified SSH setup runs without manual intervention after initial run
Confirmed target can SSH into build machine without password
Executed full script flow to ensure no failures in SSH stage
Validated no duplicate keys are added across multiple runs

Process

Implemented SSH automation without modifying existing core workflow
Ensured compatibility with dynamic build user handling
Maintained pipeline-safe logic without interactive input
Followed existing project structure and commit guidelines

Suggested Reviewers:
@rajendra-desai-ni

@jatinjb444 jatinjb444 marked this pull request as ready for review June 10, 2026 09:31
@jatinjb444 jatinjb444 requested a review from a team as a code owner June 10, 2026 09:31

@rajendra-desai-ni rajendra-desai-ni left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • This commit doesn't have a signed-off tag.
  • It is better to squash the 2 commits into one to keep commit history clean.

Comment thread scripts/dev/upstream_merge/kernel_build_and_test.py Outdated
Comment thread scripts/dev/upstream_merge/automation_conf.json
Comment thread scripts/dev/upstream_merge/kernel_build_and_test.py Outdated
@jatinjb444 jatinjb444 force-pushed the rt-kernel-dev branch 6 times, most recently from ceb8020 to 2d188a4 Compare June 11, 2026 13:38
Add passwordless sudo configuration
Create sudoers entry for required cmds
Avoid manual sudo password prompts
Improve automation for CI execution

Signed-off-by: Jatin Bharti <jatin.bharti@emerson.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