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

Add jenkins-infra tools #198

Open
26 of 36 tasks
dduportal opened this issue Mar 31, 2022 · 11 comments
Open
26 of 36 tasks

Add jenkins-infra tools #198

dduportal opened this issue Mar 31, 2022 · 11 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dduportal
Copy link
Contributor

dduportal commented Mar 31, 2022

The jenkins infrastructure requires additional tools that should be installed in these templates:

@lemeurherve
Copy link
Member

lemeurherve commented Apr 29, 2022

  • Docker buildx because we want to build multi architectures images

@dduportal
Copy link
Contributor Author

dduportal commented May 3, 2022

  • jq on Windows

@dduportal
Copy link
Contributor Author

First batch: #216

@lemeurherve
Copy link
Member

lemeurherve commented May 13, 2022

WDYT about using Chocolatey to install most of them if available?

@dduportal
Copy link
Contributor Author

WDYT about using Chocolatey to install most of them if available?

If the version can be specified: yes (would be most usefull). Otherwise nope.

@lemeurherve
Copy link
Member

lemeurherve commented May 16, 2022

If the version can be specified: yes

Yes: https://docs.chocolatey.org/en-us/choco/commands/install#examples

Docker buildx should already be included with Docker (needs Docker for Desktop for Windows though):
image

@dduportal
Copy link
Contributor Author

Docker buildx should already be included with Docker (needs Docker for Desktop for Windows though):

About this:

  • Installing buildx, can be done manually as per https://github.com/docker/buildx#manual-download (binary from their GitHub releases) as an alternative to Docker Desktop.
  • Docker Desktop could be an option, but:
    • The Linux version uses a VM so we can't use it (nested virtualization not available on all cloud VMs), so no feature parity Linux <-> Windows
    • The Windows version should be (I assume chocolatey allows it) setup to use Windows containers instead of the default Linux containers (otherwise it make no sense for us to spawn Windows VMs to run Linux containers 😅)
    • Not sure about the licensing. I assume we need to get a license, so it means authenticating a Docker account to enable it per installation: not really hand.

Given that we use Windows container on Windows VMs, and that buildx is not supported for windows container, WDYT about only adding buildx on linux templates (+add a comment on the tools version YAML explaining why it's not supported) ?

@dduportal
Copy link
Contributor Author

Adding NodeJS (ref. #468, #475 and #476)

@smerle33
Copy link
Contributor

not sure we need to install oniguruma as per https://github.com/jenkins-infra/docker-hashicorp-tools/blob/fe538ce08d4ccc8e2d86df0f730b12bea4d097e1/Dockerfile#L25C1-L26C14

no occurrence of onigin jenkins-infra

@lemeurherve
Copy link
Member

lemeurherve commented Jun 17, 2024

  • Docker buildx because we want to build multi architectures images

Done in #1215

Given that we use Windows container on Windows VMs, and that buildx is not supported for windows container, WDYT about only adding buildx on linux templates (+add a comment on the tools version YAML explaining why it's not supported) ?

Now supported, see PR for ref 🙂

@dduportal
Copy link
Contributor Author

Now supported, see PR for ref 🙂

Only on client side :) But still useful as per your PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants