Converting Local to Hub
Moving a local pipeline to Hub
Convert a local pipeline file to a Hub pipeline:
pipe mv deploy myorg/deployWhat happens
- Reads the content from
~/.pipe/files/deploy.yaml. - If
myorg/deploydoesn’t exist locally, creates the Hub directory structure with alatesttag. - If
myorg/deployalready exists, imports the content as an untagged blob (detached HEAD state). - Deletes the original local file (
~/.pipe/files/deploy.yaml). - Creates an alias
deploy→myorg/deployso existing scripts keep working.
After moving
Your pipeline now lives in ~/.pipe/hub/myorg/deploy/. You can:
- Run it the same way:
pipe deploy(alias resolves it) - Push it to Hub:
pipe push myorg/deploy - Create tags:
pipe tag myorg/deploy v1.0.0 - Inspect it:
pipe inspect deploy
Alias auto-creation
The mv command automatically creates an alias from the old name to the new Hub path. This means any scripts or muscle memory using pipe deploy continues to work seamlessly.
If an alias with that name already exists, the move still succeeds but the alias is not overwritten — you’ll need to update it manually with pipe alias mv.