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!(ubuntu): Removed all definitions of 'default_jdk' from ubuntu image templates #1370

Merged

Conversation

jayfranco999
Copy link
Collaborator

@jayfranco999 jayfranco999 commented Aug 29, 2024

BREAKING CHANGE: removing the default_jdk env variable will introduce failure in goss tess harness for windows and might result in build failures.

As per jenkins-infra/helpdesk#4124 (comment) :

Any definition of a 'default JDK' and 'update-alternatives' on the jenkins-infra/packer-images has been removed from the ubuntu-provisioning script. The corresponding goss test patch has also been added to the goss test harness to check installation of maven.

@dduportal dduportal marked this pull request as draft August 30, 2024 07:04
@jayfranco999 jayfranco999 changed the title fix(ubuntu-provisioning): fixed template setup and goss test patch feat(packer-images): Removed all definitions of 'default_jdk' from linux SSH agents Sep 2, 2024
@jayfranco999 jayfranco999 changed the title feat(packer-images): Removed all definitions of 'default_jdk' from linux SSH agents feat!(packer-images): Removed all definitions of 'default_jdk' from linux SSH agents Sep 2, 2024
Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

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

Builds are failing due to test errors: see my comments

tests/goss-linux.yaml Outdated Show resolved Hide resolved
tests/goss-common.yaml Outdated Show resolved Hide resolved
tests/goss-common.yaml Outdated Show resolved Hide resolved
tests/goss-linux.yaml Outdated Show resolved Hide resolved
tests/goss-common.yaml Outdated Show resolved Hide resolved
Signed-off-by: jayfranco999 <[email protected]>

fix-up

Signed-off-by: jayfranco999 <[email protected]>
Signed-off-by: jayfranco999 <[email protected]>
Signed-off-by: jayfranco999 <[email protected]>
Signed-off-by: jayfranco999 <[email protected]>
@jayfranco999 jayfranco999 changed the title feat!(packer-images): Removed all definitions of 'default_jdk' from linux SSH agents feat!(ubuntu): Removed all definitions of 'default_jdk' from ubuntu image templates Sep 3, 2024
@jayfranco999 jayfranco999 marked this pull request as ready for review September 3, 2024 13:45
@dduportal dduportal merged commit 6ecd9b8 into jenkins-infra:main Sep 3, 2024
2 checks passed
@jayfranco999 jayfranco999 deleted the ubuntu-provisioning-jdk-fix branch September 3, 2024 14:06
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