Report the project's source-of-truth state
Changed onVolcano stores the source of the functions and frontend it runs for a project. This reports whether that source has been written to the connected repository, and whether the repository has taken over as the project's source of truth.
mode is platform, git_exporting, git_pending, or git. Export enters git_exporting before reading stored source. GitHub's signed push event confirms that the initial commit reached the production branch. That push or a newer production push changes the mode to git_pending when it starts a deployment. exported_at records that transition.
A successful Git run completes the transition when it matches the recorded repository, production branch, and root directory and actually dispatches every recorded resource. Ordinary production-branch pushes deploy without changing a platform-managed project's source ownership.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Response
The project's source-of-truth state
The project's source of truth and any pending Git transition.
When source export started, cleared if an incomplete transition is canceled.
When the initial export push entered deployment, or when a transition was canceled after its commit was reserved. Once set, the one-time export is consumed.
When a complete production-branch deployment first proved the repository could drive the project, null until then. Once set, the repository is the project's source of truth.
Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API
- info
- breaking
added the new path request parameter
id - breaking
the response's body type changed from no type to
objectfor status
14 more changes in this revision
- breaking