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

chore(updatecli): correct type of conditions for jdk21 manifest #556

Conversation

lemeurherve
Copy link
Member

@lemeurherve lemeurherve commented Oct 29, 2023

This PR replaces the type of conditions for the jdk21 updatecli manifest.
Unlike the jdk21-preview manifest this one is issued from, we have to check for the existence of docker images, not GitHub releases.

Fixup of #536

Fixes #555 and closes #552 and closes #560 (GA docker images not yet available)

Testing done

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 requested a review from a team as a code owner October 29, 2023 14:10
@lemeurherve lemeurherve linked an issue Oct 29, 2023 that may be closed by this pull request
@lemeurherve lemeurherve marked this pull request as draft October 29, 2023 22:53
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.

The updatecli diff command fails the JDK21 manifest with the following error:

ERROR: failed loading pipeline(s)
	* "updatecli/updatecli.d/jdk21.yaml" - yaml: line 46: mapping values are not allowed in this context

but I'm not sure why?

@lemeurherve

This comment was marked as outdated.

@lemeurherve lemeurherve marked this pull request as ready for review October 30, 2023 09:37
@dduportal dduportal changed the title fix(updatecli): correct type of conditions for jdk21 manifest chore(updatecli): correct type of conditions for jdk21 manifest Oct 30, 2023
@dduportal dduportal added chore and removed bug labels Oct 30, 2023
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.

LGTM!

Changed the title and labels (as this PR does not change the produced image so it can't be a "fix").

THe checks show the expected result: skipping JDK21 pipeline due to unpublished images

@dduportal dduportal merged commit 16f8c37 into jenkinsci:master Oct 30, 2023
10 checks passed
@lemeurherve lemeurherve deleted the issue555-add-missing-conditions-to-jdk21-updatecli-manifest branch October 30, 2023 13:55
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.

The jdk21 updatecli manifest is missing conditions on docker images
2 participants