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

cleanup(Windows): remove unused make.ps1 parameters #1769

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

lemeurherve
Copy link
Member

@lemeurherve lemeurherve commented Nov 2, 2023

This PR removes unused parameters from the make.ps1 Windows image build script:

  • $TagPrefix: only occurence in the repository
  • $AdditionalArgs: not used
  • $Build: not used

Follow-up of:

Similar to:

Preparing a Windows build refactor, this cleanup will ease the review of the incoming PR.

Testing done

Compared the outputs of pwsh make.ps1 -DryRun, pwsh make.ps1 test -DryRun and pwsh make.ps1 publish -DryRun before and after.

Submitter checklist

Preview Give feedback

Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

I'm not sure how much effort I would put into this script?

docker bake support should be coming soon for windows which should hopefully simplify it a lot

@lemeurherve
Copy link
Member Author

lemeurherve commented Nov 2, 2023

I'm not sure how much effort I would put into this script?

I don't have a lot of effort to provide for the refactor like docker-agent and co using a docker-compose file to define the images.These cleanup PRs are mainly to ease the review to come, this one should be the last.

Also, I'm enjoying this process so far 🙂

docker bake support should be coming soon for windows which should hopefully simplify it a lot

+1

With this refactor we'll be able to provide proper tags for Windows image, close a few issues, and get a common build process between official images, which will ease the transition to docker bake when ready.

@lemeurherve lemeurherve enabled auto-merge (squash) November 2, 2023 10:43
@lemeurherve lemeurherve merged commit 8cedc06 into jenkinsci:master Nov 2, 2023
@lemeurherve lemeurherve deleted the cleanup-make-ps1 branch November 2, 2023 10:56
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.

2 participants