chore: P1 - stage.dzcode.io to new more powerful VPS
#365
draft-new-release.yml
on: pull_request
update_release_draft
7s
Annotations
2 errors
|
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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '14691899217',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: 'before:\r\n' +
'\r\n' +
'- two cheap vps to deploy `./api`, one for each environement\r\n' +
'- two page apps in cloudflare to deploy `./web`\r\n' +
'- two cloudflare workers to handle SEO URLs\r\n' +
"- SSL done through Cloudflare proxy (limited to one subdomain level, so can't do SSL for `api.stage.dzcode.io`, we had to rename it to `api-stage.dzcode.io`)\r\n" +
'\r\n' +
'after:\r\n' +
'we only ever need one VPS (zcluster; basically a VPS with a Rust server that handles infra stuff, you connect to via [`zcluster`](https://infra.zak-man.com/) cli app)\r\n' +
'Inside it we can define as many containers as we want, so:\r\n' +
'\r\n' +
'- docker container for `./api` (including postgress and meilisearch containers) \r\n' +
'- docker container for `./web` (also handles SEO)\r\n' +
'\r\n' +
'a nice bonus, is we already have grafana monitoring setup for this server, so we can even replace/remove the analytics tools we have:\r\n' +
'\r\n' +
'- sentry on `./api` \r\n' +
'- sentry on `./web`\r\n' +
'- Google Analytics on `./web`\r\n' +
'- lighthouse-ci on `./web`\r\n' +
'\r\n' +
'change:\r\n' +
'\r\n' +
'- [ ] Bug fix\r\n' +
'- [ ] New feature\r\n' +
'- [x] Other\r\n'
}
},
number: 654,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/63493121?v=4',
description: 'Algerian Open Source Community',
events_url: 'https://api.github.com/orgs/dzcode-io/events',
hooks_url: 'https://api.github.com/orgs/dzcode-io/hooks',
id: 63493121,
issues_url: 'https://api.github.com/orgs/dzcode-io/issues',
login: 'dzcode-io',
members_url: 'https://api.github.com/orgs/dzcode-io/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYzNDkzMTIx',
public_members_url: 'https://api.github.com/orgs/dzcode-io/public_members{/member}',
repos_url: 'https://api.github.com/orgs/dzcode-io/repos',
url: 'https://api.github.com/orgs/dzcode-io'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/dzcode-io/dzcode.io/issues/654/comments'
},
commits: {
href: 'https://api.github.com/repos/dzcode-io/dzcode.io/pulls/654/commits'
},
html: { href: 'https://github.com/dzcode-io/dzcode.io/pull/654' },
issue: {
href: 'https://api.github.com/repos/dzcode-io/dzcode.io/issues/654'
},
review_comment: {
href: 'https://api.github.com/repos/dzcode-io/dzcode.io/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/dzcode-io/dzcode.io/pulls/654/comments'
},
self: {
href: 'https://api.github.com/repos/dzcode-io/dzcode.io/pulls/654'
},
statuses: {
href: 'https://api.github.com/repos/dzcode-io/dzcode.io/statuses/61537cef4ea30f9772ce01792526a3c5c23c2107'
}
},
active_lock_reason: null,
additions: 1244,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'dzcode-io:main',
ref:
|
|
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '14691899217',
status: 422,
response: {
url: 'https://api.github.com/repos/dzcode-io/dzcode.io/releases/214954683',
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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Sun, 27 Apr 2025 12:11:12 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': 'B8CA:1B1A36:12A8BAC:2560D4A:680E1EE0',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4815',
'x-ratelimit-reset': '1745756628',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '185',
'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',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/dzcode-io/dzcode.io/releases/214954683',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.19.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"[www.dzcode.io](https://www.dzcode.io)\\n\\nJoin us on [Discord](https://discord.gg/TGbPsSMJC2)\\n\\n* No changes\\n\\n**Full Changelog**: https://github.com/dzcode-io/dzcode.io/compare/v6.10.0...v6.10.1\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v6.10.1","tag_name":"v6.10.1","target_commitish":"refs/pull/654/merge"}',
request: {}
},
event: {
id: '14691899217',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: 'before:\r\n' +
'\r\n' +
'- two cheap vps to deploy `./api`, one for each environement\r\n' +
'- two page apps in cloudflare to deploy `./web`\r\n' +
'- two cloudflare workers to handle SEO URLs\r\n' +
"- SSL done through Cloudflare proxy (limited to one subdomain level, so can't do SSL for `api.stage.dzcode.io`, we had to rename it to `api-stage.dzcode.io`)\r\n" +
'\r\n' +
'after:\r\n' +
'we only ever need one VPS (zcluster; basically a VPS with a Rust server that handles infra stuff, you connect to via [`zcluster`](https://infra.zak-man.com/) cli app)\r\n' +
'Inside it we can define as many containers as we want, so:\r\n' +
'\r\n' +
'- docker container for `./api` (including postgress and meilisearch containers) \r\n' +
'- docker container for `./web` (also handles SEO)\r\n' +
'\r\n' +
'a nice bonus, is we already have grafana monitoring setup for this server, so we can even replace/remove the analytics tools we have:\r\n' +
'\r\n' +
'- sentry on `./api` \r\n' +
'- sentry on `./web`\r\n' +
'- Google Analytics o
|