Handle type switching of LoadBalancer from Internal to Public and vice versa #443
release-drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '5961138004',
status: 422,
response: {
url: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/releases/111952827',
status: 422,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
connection: 'close',
'content-length': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Thu, 24 Aug 2023 08:09:21 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '4846:34FC:9772AA:1370E15:64E71031',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14979',
'x-ratelimit-reset': '1692864851',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '21',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/releases/111952827',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n## 🚀 Features\\n\\n- Extend Testing of Routes Controller Methods for Machine Network Interfaces @sujeet01 (#254)\\n- Fix `NetworkInterface` lookup in `LoadBalancer` controller and refactor suite tests for `Routes` and `LoadBalancer` @afritzler (#244)\\n- Implement Routing Controller in cloud provider @kasabe28 (#241)\\n\\n## 🐛 Bug Fixes\\n\\n- Fix `NetworkInterface` lookup in `DeleteRoutes` method @afritzler (#251)\\n- Fix `NetworkInterface` lookup in `LoadBalancer` controller and refactor suite tests for `Routes` and `LoadBalancer` @afritzler (#244)\\n\\n## 🧰 Maintenance\\n\\n- Bump golang from 1.20.7 to 1.21.0 @dependabot (#262)\\n- Bump sigs.k8s.io/controller-runtime from 0.15.0 to 0.15.1 @dependabot (#261)\\n- Bump golang from 1.20.6 to 1.20.7 @dependabot (#260)\\n- Bump github.com/onsi/gomega from 1.27.8 to 1.27.10 @dependabot (#253)\\n- Bump k8s.io/cloud-provider from 0.27.3 to 0.27.4 @dependabot (#248)\\n- Bump k8s.io/controller-manager from 0.27.3 to 0.27.4 @dependabot (#245)\\n- Bump k8s.io/client-go from 0.27.3 to 0.27.4 @dependabot (#250)\\n- Bump golang from 1.20.5 to 1.20.6 @dependabot (#243)\\n","draft":true,"prerelease":false,"name":"v0.1.6","tag_name":"v0.1.6","target_commitish":"refs/pull/272/merge"}',
request: {}
},
event: {
id: '5961138004',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ff38e7b7ae6b3c49cd08e9af238855accdcfb8b4',
before: 'c15fd8158f128add646040667a69b956fd18da45',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/4978?v=4',
created_at: '2020-12-16T23:19:05Z',
description: 'SAP Enterprise Account',
html_url: 'https://github.com/enterprises/sap',
id: 4978,
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '5961138004',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ff38e7b7ae6b3c49cd08e9af238855accdcfb8b4',
before: 'c15fd8158f128add646040667a69b956fd18da45',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/4978?v=4',
created_at: '2020-12-16T23:19:05Z',
description: 'SAP Enterprise Account',
html_url: 'https://github.com/enterprises/sap',
id: 4978,
name: 'SAP',
node_id: 'MDEwOkVudGVycHJpc2U0OTc4',
slug: 'sap',
updated_at: '2023-07-28T08:32:39Z',
website_url: 'https://sap.com'
},
number: 272,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/65116310?v=4',
description: 'The Kubernetes driven IaaS',
events_url: 'https://api.github.com/orgs/onmetal/events',
hooks_url: 'https://api.github.com/orgs/onmetal/hooks',
id: 65116310,
issues_url: 'https://api.github.com/orgs/onmetal/issues',
login: 'onmetal',
members_url: 'https://api.github.com/orgs/onmetal/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjY1MTE2MzEw',
public_members_url: 'https://api.github.com/orgs/onmetal/public_members{/member}',
repos_url: 'https://api.github.com/orgs/onmetal/repos',
url: 'https://api.github.com/orgs/onmetal'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/issues/272/comments'
},
commits: {
href: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/pulls/272/commits'
},
html: {
href: 'https://github.com/onmetal/cloud-provider-onmetal/pull/272'
},
issue: {
href: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/issues/272'
},
review_comment: {
href: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/pulls/272/comments'
},
self: {
href: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/pulls/272'
},
statuses: {
href: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/statuses/ff38e7b7ae6b3c49cd08e9af238855accdcfb8b4'
}
},
active_lock_reason: null,
additions: 104,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'onmetal:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/assignees{/user}',
blobs_url: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/branches{/branch}',
clone_url: 'https://github.com/onmetal/cloud-provider-onmetal.git',
collaborators_url: 'https://api.github.com/repos/onmetal/cloud-provider-onmetal/collaborators{/collaborator}',
|