Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(windows): refactor docker-ssh-agent build process like docker-agent #289

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

lemeurherve
Copy link
Member

@lemeurherve lemeurherve commented Aug 7, 2023

This PR reworks the build process of Windows images, integrating all the improvements recently brought to https://github.com/jenkinsci/docker-agent.

This refactoring results in many modifications closing several issues:

It will also allow to easily resolve in follow-up PRs:

And will facilitate:

It applies the following to Windows images:

Notes:

  • I've skipped SSH tests for Windows Server Core images as they're failing (see previous attemp: wip: fix Windows tests #295).
    I'll work on them later as delivering a new release prevails the risk of having a borked Windows Server Core variant (IMO).
  • updatecli is failing as some of its new targets aren't yet on the primary branch.

Testing done

https://ci.jenkins.io/job/Packaging/job/docker-ssh-agent/job/PR-289/69/

Submitter checklist

Edit tasklist title
Beta Give feedback Tasklist Submitter checklist, more options

Delete tasklist

Delete tasklist block?
Are you sure? All relationships in this tasklist will be removed.
  1. Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
    Options
  2. Ensure that the pull request title represents the desired changelog entry
    Options
  3. Please describe what you did
    Options
  4. Link to relevant issues in GitHub or Jira
    Options
  5. Link to relevant pull requests, esp. upstream and downstream changes
    Options
  6. Ensure you have provided tests - that demonstrates feature works or fixes the issue
    Options

@lemeurherve lemeurherve changed the title wip: refactor docker-ssh-agent build process like docker-agent chore: refactor docker-ssh-agent build process like docker-agent Aug 7, 2023
@lemeurherve lemeurherve force-pushed the refactor-build-process branch 6 times, most recently from 1236481 to b44ef39 Compare August 9, 2023 00:32
@lemeurherve lemeurherve changed the title chore: refactor docker-ssh-agent build process like docker-agent chore(windows): refactor docker-ssh-agent build process like docker-agent Mar 23, 2024
@lemeurherve lemeurherve marked this pull request as ready for review March 23, 2024 16:47
@lemeurherve lemeurherve requested a review from a team as a code owner March 23, 2024 16:47
@lemeurherve lemeurherve changed the title chore(windows): refactor docker-ssh-agent build process like docker-agent feat(windows): refactor docker-ssh-agent build process like docker-agent Mar 25, 2024
lemeurherve added a commit that referenced this pull request Apr 28, 2024
While working on #388 I remembered we disabled SSH specific tests for Windows Server Core image in order to deliver a new image cf notes of #289.

This PR removes this skip and fix them by waiting 10s before trying to connect with SSH (5s wasn't enough), as discovered in #388 (comment).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants