Closed jstourac closed 2 weeks ago
Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all
~Current implementation working example:~ ~ https://github.com/opendatahub-io/notebooks/compare/main...jstourac:notebooks:digest-updater-9584749053~ ~ https://github.com/jstourac/notebooks/actions/runs/9584749053~
~Looks good except that I don't understand why it skipped the habana image update~ :thinking:
~Execution time was 33minutes vs 45minutes in upstream.~
Okay, mystery solved - reason was that I ran it from the main
branch instead of the my branch with the fixes :facepalm: so ignore the above.
Ah, unfortunately GH uses Ubuntu 22.04 LTS, which has Skopeo in old version and doesn't contain the --no-tags
option: https://manpages.ubuntu.com/manpages/jammy/man1/skopeo-inspect.1.html. So we have to live without it until a newer OS is introduced (a little bit slower for now).
Anyway, this looks good:
So, unless our check job is faulty, the changes in this PR should be fine.
Didn't check the security analysis, though - but we plan to review and update it anyway, so probably not a big deal right now.
Also, code deduplication using GH job matrix is WIP on my machine locally right now. But looks like current content is ready for review and comments - so if it is required, I can open a followup PR for the code deduplication later.
@jstourac: The following test failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
ci/prow/notebooks-e2e-tests | 0c6aecc820f5323a3b39243464beb9c06fd151a5 | link | true | /test notebooks-e2e-tests |
Full PR test history. Your PR dashboard.
/test notebooks-ubi9-e2e-tests
Thanks Jan for the update! It looks great now!
I tested this locally and works as expected.
On downstream, we will need to open a separate PR to apply the same fixes. In short, on downstream we fetch images from different registries for almost every notebook, also the name of the workflow is different from the one on upstream.
/lgtm /approve /override ci/prow/intel-notebooks-e2e-tests
@atheo89: Overrode contexts on behalf of atheo89: ci/prow/intel-notebooks-e2e-tests
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: atheo89, jiridanek
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/cherrypick 2024a /cherrypick 2023b /cherrypick 2023a
@jiridanek: once the present PR merges, I will cherry-pick it on top of 2024a in a new PR and assign it to you.
/cherrypick 2023b
@jiridanek: once the present PR merges, I will cherry-pick it on top of 2023b in a new PR and assign it to you.
/cherrypick 2023a
@jiridanek: once the present PR merges, I will cherry-pick it on top of 2023a in a new PR and assign it to you.
@jiridanek: new pull request created: #592
@jiridanek: #566 failed to apply on top of branch "2023b":
Applying: fix the regexp used for the latest image tag selection
Using index info to reconstruct a base tree...
M .github/workflows/notebooks-digest-updater-upstream.yaml
A .github/workflows/runtimes-digest-updater-upstream.yaml
A ci/security-scan/quay_security_analysis.py
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): ci/security-scan/quay_security_analysis.py deleted in HEAD and modified in fix the regexp used for the latest image tag selection. Version fix the regexp used for the latest image tag selection of ci/security-scan/quay_security_analysis.py left in tree.
CONFLICT (modify/delete): .github/workflows/runtimes-digest-updater-upstream.yaml deleted in HEAD and modified in fix the regexp used for the latest image tag selection. Version fix the regexp used for the latest image tag selection of .github/workflows/runtimes-digest-updater-upstream.yaml left in tree.
Auto-merging .github/workflows/notebooks-digest-updater-upstream.yaml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 fix the regexp used for the latest image tag selection
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
@jiridanek: #566 failed to apply on top of branch "2023a":
Applying: fix the regexp used for the latest image tag selection
Using index info to reconstruct a base tree...
A .github/workflows/notebooks-digest-updater-upstream.yaml
A .github/workflows/runtimes-digest-updater-upstream.yaml
A ci/security-scan/quay_security_analysis.py
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): ci/security-scan/quay_security_analysis.py deleted in HEAD and modified in fix the regexp used for the latest image tag selection. Version fix the regexp used for the latest image tag selection of ci/security-scan/quay_security_analysis.py left in tree.
CONFLICT (modify/delete): .github/workflows/runtimes-digest-updater-upstream.yaml deleted in HEAD and modified in fix the regexp used for the latest image tag selection. Version fix the regexp used for the latest image tag selection of .github/workflows/runtimes-digest-updater-upstream.yaml left in tree.
CONFLICT (modify/delete): .github/workflows/notebooks-digest-updater-upstream.yaml deleted in HEAD and modified in fix the regexp used for the latest image tag selection. Version fix the regexp used for the latest image tag selection of .github/workflows/notebooks-digest-updater-upstream.yaml left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 fix the regexp used for the latest image tag selection
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
@jiridanek , please don't cherrypick pr in 2024a , as we would sync them with teh new automation. thanks
This contains changes for the digest update workflow for the update of notebook images and commit shas. There are couple of fixes and a small refactoring done, more details in particular commits:
Truth is that I don't fully understand, how is possible that in this case #565 the rstudio images were selected properly :thinking:
https://issues.redhat.com/browse/RHOAIENG-8813
How I tested, check my comment below. As stated there, my plan was also to deduplicate the code, but it's WIP on my machine right now, so if this is needed, we can merge this and I will raise another followup PR after my PTO.
How Has This Been Tested?
Right now, it hasn't been tested, will do later.
Merge criteria: