This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli/init: Update how init upserts pipelines
Prior to this commit, the init CLI would upsert the full protobuf structure of a pipeline. This was fine before input variables, but now given how Waypoint internally lazy-evaluates input variables later, this approach no logner works. This commit updates the init cli to instead behave more like how the init CLI handles syncing Applications: The smallest structure possible i.e. a name, owner, and a root step. This data gets re-upserted on configsync and before running a pipeline, so this init simply upserts a basic structure on initialiation.
- Loading branch information