-
Notifications
You must be signed in to change notification settings - Fork 1
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
ROX-11356: Update API spec to latest version (3.70.0). #152
Conversation
adbdd3b
to
75e3184
Compare
@@ -158,7 +158,7 @@ jobs: | |||
- run: | |||
name: Get Roxctl binary and set the image name | |||
command: | | |||
cci-export IMAGE_NAME "quay.io/rhacs-eng/main:3.0.55.x-4-gd2e48c0fd6" | |||
cci-export IMAGE_NAME "quay.io/rhacs-eng/main:3.70.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about using latest build and run this job nightly to detect similar issues? This can be done in a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
storageImageNote: | ||
type: string | ||
enum: | ||
- MISSING_METADATA | ||
- MISSING_SCAN_DATA | ||
- MISSING_SIGNATURE | ||
- MISSING_SIGNATURE_VERIFICATION_DATA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this values are returned? Does user need to manually change something in configuration or it's happens always after upgrade?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this 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 this PR is enough to prevent situations like this one in the future. Ideally, a mere upgrade to some software component shall not break other components, for example, newer versions of Central run fine with older versions of Sensor. I see two possible options:
From what I understand, |
@rukletsov I agree with the overall sentiment of not requiring the user to update based on new versions of central. Regarding ignoring the error explicitly and not fail, @janisz and me have agreed to create ROX-11370 which will cover this, allowing for this fix to be available to customers earlier (there is an issue with the setting that we have mentioned, the Java json decoder/parser currently does not support it). |
Discussed offline with @rukletsov , will merge this for now under the condition that the created tickets (ROX-11370, ROX-11371) will be done in a timely manner to avoid running into this issue once again. |
Description
Due to an additional field being added within the
storageImageNote
, Jenkins plugins that were used in combination with 3.70 could not handle the API response, hence the image scan is failing.This PR will update the API spec to the latest one used, subsequently the client of the plugin, making it compatible with the 3.70 release and forward.
The significant change within this PR is the update of the following: