Repository navigation
feat: release, disable and enable projects, redeploy reasons, live per-project breakdown - #29
Merged
Merged
Conversation
…ret columns and roomier logs Browse said "There is no volume" for every volume: realpath resolved the /proc/1/root link to the console's own root. Paths are now joined under the volume, kept inside it, and refused when any part is a link, without realpath. graphite-ui's Toggle draws a card around its label, which broke the access table; a small Switch (MUI's, with an inline or hidden label and an optional description) replaces it everywhere. The Secrets table has fixed column widths, so collapsing a project no longer moves the columns. Log lines drop their time, source and level columns: the level is a coloured edge, time and source a faint line above, and the message has the full width.
…er-project breakdown A Release card on each Project page (owners) shows the running version and whether the project is enabled, lists every version the project has deployed (from the history of platform's deploy/<slug>/values) and deploys a chosen one, and disables or enables the project. Each is a commit to that file through the platform GitHub App, so git stays the record and Deploy applies it. "Needs redeploy" now says why: each secret added, changed, restored, removed or edited on the host since the last rollout, with who and when, on the Project page and in the Overview pill's tooltip. Description-only edits no longer count. The Overview's live chart breaks the hovered second down by project. The project's Secrets section uses the same collapsible card as the log panels, and Browse is the right-most button on every volume.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Includes #28 (volume browsing, plain switches, steady secret columns, roomier logs) as its first commit; close #28. Goes with Project-Graphite/platform#47.
Release, disable, enable
A Release card on each Project page, for owners:
platform/deploy/<slug>/values, so every entry is an image that was built and deployed before), and Deploy this version;Each action is a commit to
deploy/<slug>/valuesthrough the platform GitHub App (IMAGE_TAG=<tag>, or adding or removingENABLED=false), with a message naming you, so git stays the record and Deploy applies it about a minute later (platform#47). NeedsPLATFORM_APP_CLIENT_IDandPLATFORM_APP_PRIVATE_KEYin/etc/graphite/console.env; without them the card says so.Why a project needs a redeploy
The pill appears when the project's env file is newer than its last rollout. It now lists why: each secret added, changed, restored, removed or edited on the host since then, with who and when, on the Project page and in the Overview pill's tooltip. A file edited by hand with no stored change shows as ".env edited on the host". Editing only a secret's description no longer counts.
Also
Collapsible).Checks
tsc(server and web),oxlint,npm run build,test/secrets.spec.ts,test/platform.spec.ts,test/volumes.spec.ts,test/backups.spec.ts,test/alerts.spec.ts. Not run: the GitHub App calls and the pages in a browser.