-
Notifications
You must be signed in to change notification settings - Fork 145
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
Stop using the github-app-token image #1414
Conversation
/retest |
d98e149
to
cc62585
Compare
/retest |
cc62585
to
24c794c
Compare
/retest |
24c794c
to
185c619
Compare
/retest |
185c619
to
9efcd72
Compare
/retest |
9efcd72
to
da4391c
Compare
/retest |
/retest |
1 similar comment
/retest |
/retest |
Replace the python jwcrypto library with the more readily available openssl tools. This is part of an effort to move away from the quay.io/redhat-appstudio/github-app-token image. Signed-off-by: Adam Cmiel <[email protected]>
Replace the python requests library with the python urllib library, which is part of the stdlib. This is part of an effort to move away from the quay.io/redhat-appstudio/github-app-token image. Signed-off-by: Adam Cmiel <[email protected]>
The quay.io/redhat-appstudio/github-app-token image is highly suspect. - It is a copy of quay.io/chmouel/github-app-token - an image in a personal namespace with unclear origins and content. - It has not been updated for 4 years. - It has 175 critical vlunerabilities according to quay.io. The update-infra-deployments task no longer depends on anything this image provides - replace it with a generic python image. Signed-off-by: Adam Cmiel <[email protected]>
da4391c
to
73cf32d
Compare
/test |
/retest |
73cf32d
to
6f05ec4
Compare
Seems to work
|
/test |
@@ -301,8 +316,7 @@ spec: | |||
|
|||
|
|||
def main(): | |||
with open(os.environ['GITHUBAPP_KEY_PATH'], 'rb') as key_file: | |||
key = key_file.read() | |||
key_path = os.environ['GITHUBAPP_KEY_PATH'] |
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.
What if the GITHUBAPP_KEY_PATH
is not set? Should it be handled?
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.
It will be a KeyError, same as before. But I can improve it
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.
updated
Handle the cases of GITHUB_APP_KEY_PATH not set / set to a non-existent file more gracefully. Signed-off-by: Adam Cmiel <[email protected]>
/retest |
STONEBLD-2718
The quay.io/redhat-appstudio/github-app-token image is highly suspect.
personal namespace with unclear origins and content.
Update the update-infra-deployments task to no longer depend on anything this
image provides and replace it with a generic python image.