OCPBUGS-87004: Add -L flag to curl to follow redirects automatically#6121
Conversation
The GitHub API for `/repos/containers/skopeo/releases/latest` returns a 301 redirect to the canonical repository URL, causing the JSON parsing to fail with:
KeyError: 'tag_name'
The redirect response contains:
{
"message": "Moved Permanently",
"url": "https://api.github.com/repositories/53356367/releases/latest"
}
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
WalkthroughThe installation script for ChangesSkopeo installation script update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/cc @bfournie |
|
/lgtm |
|
Scheduling tests matching the |
|
/approve |
|
/verified by ci/prow/e2e-gcp-op-part1 |
|
@bfournie: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retest-required |
|
@pawanpinjarkar: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
I'm going to add the approved label manually, since all tests pass, the change is self-evidently correct, and this is blocking required jobs. |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: bfournie, pawanpinjarkar, zaneb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@pawanpinjarkar: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@pawanpinjarkar: Jira Issue Verification Checks: Jira Issue OCPBUGS-87004 Jira Issue OCPBUGS-87004 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira backport release-4.22, release-4.21, release-4.20 |
|
@pawanpinjarkar: The following backport issues have been created:
Queuing cherrypicks to the requested branches to be created after this PR merges: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-ci-robot: new pull request created: #6135 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/cherrypick release-4.22, release-4.21, release-4.20 |
|
@openshift-ci-robot: new pull request created: #6136 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@pawanpinjarkar: cannot checkout DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@openshift-ci-robot: new pull request created: #6137 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
The GitHub API for
/repos/containers/skopeo/releases/latestreturns a 301 redirect to the canonical repository URL, causing the JSON parsing to fail with:KeyError: 'tag_name'
The redirect response contains:
{
"message": "Moved Permanently",
"url": "https://api.github.com/repositories/53356367/releases/latest"
}
Example: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_machine-config-operator/6109/pull-ci-openshift-machine-config-operator-main-e2e-gcp-op-ocl-part1/2061846639768768512
- What I did
- How to verify it
- Description for the changelog
Summary by CodeRabbit