Skip to content

Order the list of dropdown choices in the schema manager #2440

Order the list of dropdown choices in the schema manager

Order the list of dropdown choices in the schema manager #2440

Triggered via pull request December 19, 2023 09:34
Status Success
Total duration 49s
Artifacts

release-note.yml

on: pull_request
update_release_draft
39s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '7259939697', status: 422, response: { url: 'https://api.github.com/repos/opsmill/infrahub/releases/111746442', 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: 'Tue, 19 Dec 2023 09:35:20 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': '6542:3D1A:19E407A:35E1047:658163D8', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '955', 'x-ratelimit-reset': '1702981474', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '45', '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/opsmill/infrahub/releases/111746442', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Changes\\n\\n- Move Status, Role, Criticality and Organization out of the core schema @dgarros (#1603)\\n- Add CI tasks to build and publish development docker image @wvandeun (#1648)\\n- Lint the `sync` directory @ajtmccarty (#1652)\\n- (re)Build Nautobot Sync @BeArchiTek (#1552)\\n- Remove diffsync from pyproject.toml @dgarros (#1639)\\n- Remove pynetbox and pynautobot from the main pyproject.toml @dgarros (#1634)\\n- feature: Refactor Storage Engine @wvandeun (#1613)\\n- Optimize schema fetching, only when hash changes @bilalabbad (#1622)\\n- Disable test\\\\_artifact\\\\_definition\\\\_endpoint @dgarros (#1628)\\n- Using Jotai for currentBranch state management @bilalabbad (#1618)\\n- Update InfraRack schema to use Dropdown for status and role @dgarros (#1602)\\n- Update Jotai to latest version (2.6.0) @bilalabbad (#1608)\\n- Fix flaky E2E test tutorial-1 @bilalabbad (#1606)\\n- Add support for Directional Relationship @dgarros (#1517)\\n- Add transform rendering to infrahubctl @morganpartee (#1533)\\n- Remove file that was committed by mistake @dgarros (#1550)\\n- docs: Improve Generated Docs for the Schema @dgarros (#1520)\\n- Python SDK :: Add functions to fetch and generate artifacts. @wvandeun (#1505)\\n- Refactor Schema Validation @dgarros (#1516)\\n- Add new api endpoints to retrieve partial schema for the frontend @dgarros (#1498)\\n- Increase timeout to load schema to 120sec and add more logs for better troubleshooting @dgarros (#1502)\\n- added test e2e for profile page @bilalabbad (#1478)\\n\\n## 🚀 Features\\n\\n- Upsert mutations @ajtmccarty (#1611)\\n- Add and remove options from dropdown and enum @pa-lem (#1635)\\n- Create a dedicated python package for infrahub-sync @dgarros (#1640)\\n- Add priorities to messages within RabbitMQ @ogen
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: '7259939697', name: 'pull_request', payload: { action: 'synchronize', after: '9d156f8673266729bdb17716660ed7eea548cef3', before: 'dbd0c9790d797ee26d4a4e21327231e1e1fd87ba', number: 1659, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/118297816?v=4', description: '', events_url: 'https://api.github.com/orgs/opsmill/events', hooks_url: 'https://api.github.com/orgs/opsmill/hooks', id: 118297816, issues_url: 'https://api.github.com/orgs/opsmill/issues', login: 'opsmill', members_url: 'https://api.github.com/orgs/opsmill/members{/member}', node_id: 'O_kgDOBw0U2A', public_members_url: 'https://api.github.com/orgs/opsmill/public_members{/member}', repos_url: 'https://api.github.com/orgs/opsmill/repos', url: 'https://api.github.com/orgs/opsmill' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/opsmill/infrahub/issues/1659/comments' }, commits: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/1659/commits' }, html: { href: 'https://github.com/opsmill/infrahub/pull/1659' }, issue: { href: 'https://api.github.com/repos/opsmill/infrahub/issues/1659' }, review_comment: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/1659/comments' }, self: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/1659' }, statuses: { href: 'https://api.github.com/repos/opsmill/infrahub/statuses/9d156f8673266729bdb17716660ed7eea548cef3' } }, active_lock_reason: null, additions: 16, assignee: null, assignees: [], author_association: 'COLLABORATOR', auto_merge: null, base: { label: 'opsmill:develop', ref: 'develop', 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/opsmill/infrahub/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/opsmill/infrahub/assignees{/user}', blobs_url: 'https://api.github.com/repos/opsmill/infrahub/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/opsmill/infrahub/branches{/branch}', clone_url: 'https://github.com/opsmill/infrahub.git', collaborators_url: 'https://api.github.com/repos/opsmill/infrahub/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/opsmill/infrahub/comments{/number}', commits_url: 'https://api.github.com/repos/opsmill/infrahub/commits{/sha}', compare_url: 'https://api.github.com/repos/opsmill/infrahub/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/opsmill/infrahub/contents/{+path}', contributors_url: 'https://api.github.com/repos/opsmill/infrahub/contributors', created_at: '2022-08-25T10:25:23Z', default_branch: 'stable', delete_branch_on_merge: true, deployments_url: 'https://api.github.com/repos/opsmill/infrahub/deployments',