feat: use informer pattern to fetch k8s resources #1369
Annotations
3 errors
Run release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348
Resource not accessible by integration
{
name: 'HttpError',
id: '7973292050',
status: 403,
response: {
url: 'https://api.github.com/repos/kubewarden/policy-server/issues/673/labels',
status: 403,
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-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 20 Feb 2024 12:16:42 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'issues=write; pull_requests=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': '9D15:ACE57:82AF1F:104DA88:65D4982A',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14990',
'x-ratelimit-reset': '1708434999',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '10',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/issues/labels#add-labels-to-an-issue'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/kubewarden/policy-server/issues/673/labels',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"labels":["kind/feature"]}',
request: {}
},
event: {
id: '7973292050',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/9995?v=4',
created_at: '2021-11-03T14:57:36Z',
description: '',
html_url: 'https://github.com/enterprises/cncf',
id: 9995,
name: 'Cloud Native Computing Foundation',
node_id: 'E_kgDNJws',
slug: 'cncf',
updated_at: '2024-02-17T12:26:02Z',
website_url: 'https://cncf.io'
},
number: 673,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/80915497?v=4',
description: '',
events_url: 'https://api.github.com/orgs/kubewarden/events',
hooks_url: 'https://api.github.com/orgs/kubewarden/hooks',
id: 80915497,
issues_url: 'https://api.github.com/orgs/kubewarden/issues',
login: 'kubewarden',
members_url: 'https://api.github.com/orgs/kubewarden/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjgwOTE1NDk3',
public_members_url: 'https://api.github.com/orgs/kubewarden/public_members{/member}',
repos_url: 'https://api.github.com/orgs/kubewarden/repos',
url: 'https://api.github.com/orgs/kubewarden'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/kubewarden/policy-server/issues/673/comments'
},
commits: {
href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/673/commits'
},
html: {
href: 'https://github.com/kubewarden/policy-server/pull/673'
},
issue: {
href: 'https://api.github.com/repos/kubewarden/policy-server/issues/673'
},
review_comment: {
|
Run release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348
Resource not accessible by integration
{
name: 'HttpError',
id: '7973292050',
status: 403,
response: {
url: 'https://api.github.com/repos/kubewarden/policy-server/releases',
status: 403,
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-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 20 Feb 2024 12:16:45 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=write; contents=write,workflows=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': '9D10:2BDC:874229:10DD2DE:65D4982D',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14988',
'x-ratelimit-reset': '1708434999',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '12',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/kubewarden/policy-server/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/673/merge","name":"v1.11.0","tag_name":"","body":"- ci: Add codecov support (#667)\\n\\n## 🚀 Features\\n\\n- feat: update policy-evaluator enabling OCI image capability. (#654)\\n\\n## 🐛 Bug Fixes\\n\\n- fix(deps): update all patchlevel dependencies (#656)\\n\\n## 🧰 Maintenance\\n\\n- build(deps): bump taiki-e/install-action from 2.26.18 to 2.27.2 (#672)\\n- build(deps): bump actions/checkout from 4.0.0 to 4.1.1 (#671)\\n- chore(deps): update all patchlevel dependencies (#669)\\n- chore(deps): lock file maintenance (#670)\\n- chore: Remove tarpaulin comment, reword job (#668)\\n- chore(deps): lock file maintenance (#666)\\n- chore(deps): update all patchlevel dependencies (#665)\\n- build(deps): bump clap from 4.4.18 to 4.5.0 (#664)\\n- build(deps): bump tempfile from 3.9.0 to 3.10.0 (#662)\\n- build(deps): bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#659)\\n- build(deps): bump release-drafter/release-drafter from 5.25.0 to 6.0.0 (#658)\\n- build(deps): bump kubewarden/github-actions from 3.1.15 to 3.1.16 (#660)\\n- chore(deps): lock file maintenance (#657)\\n- fix(deps): update all patchlevel dependencies (#656)\\n- build(deps): bump policy-evaluator from v0.14.1 to v0.14.2 (#648)\\n- build(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0 (#645)\\n- build(deps): bump peter-evans/repository-dispatch from 2.1.2 to 3.0.0 (#646)\\n- chore(deps): lock file maintenance (#641)\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: { retryCount: 1 }
},
event: {
id: '7973292050',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/9995?v=4',
created_at: '2021-11-03T14:57:36Z',
description: '',
html_url: 'https://github.com/enterprises/cncf',
id: 9995,
name: 'Cloud
|
Run release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:8462:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:30793:18)
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:8462:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '7973292050',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/9995?v=4',
created_at: '2021-11-03T14:57:36Z',
description: '',
html_url: 'https://github.com/enterprises/cncf',
id: 9995,
name: 'Cloud Native Computing Foundation',
node_id: 'E_kgDNJws',
slug: 'cncf',
updated_at: '2024-02-17T12:26:02Z',
website_url: 'https://cncf.io'
},
number: 673,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/80915497?v=4',
description: '',
events_url: 'https://api.github.com/orgs/kubewarden/events',
hooks_url: 'https://api.github.com/orgs/kubewarden/hooks',
id: 80915497,
issues_url: 'https://api.github.com/orgs/kubewarden/issues',
login: 'kubewarden',
members_url: 'https://api.github.com/orgs/kubewarden/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjgwOTE1NDk3',
public_members_url: 'https://api.github.com/orgs/kubewarden/public_members{/member}',
repos_url: 'https://api.github.com/orgs/kubewarden/repos',
url: 'https://api.github.com/orgs/kubewarden'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/kubewarden/policy-server/issues/673/comments'
},
commits: {
href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/673/commits'
},
html: {
href: 'https://github.com/kubewarden/policy-server/pull/673'
},
issue: {
href: 'https://api.github.com/repos/kubewarden/policy-server/issues/673'
},
review_comment: {
href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/673/comments'
},
self: {
href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/673'
},
statuses: {
href: 'https://api.github.com/repos/kubewarden/policy-server/statuses/9025f6093b0e557a19748b09a663013202899baa'
}
},
active_lock_reason: null,
additions: 150,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'kubewarden: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/kubewarden/policy-server/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/kubewarden/policy-server/assignees{/user}',
blobs_url: 'https://api.github.com/repos/kubewarden/policy-server/git/blobs{/sha}',
branches_url: 'https://api.
|
The logs for this run have expired and are no longer available.
Loading