Skip to content

split out a build command from the synapsectl deploy command#111

Merged
maxhodak merged 3 commits intomainfrom
emma-build
May 11, 2025
Merged

split out a build command from the synapsectl deploy command#111
maxhodak merged 3 commits intomainfrom
emma-build

Conversation

@emmazhou
Copy link
Copy Markdown
Contributor

this PR looks huge but is mostly copying code directly out of deploy.py into build.py.

the following should now work:

synapsectl build /path/to/app
synapsectl build /path/to/app --skip-build  # this will skip compiling in docker and just package a deb

the deploy command remains unchanged if you call it the same way:

synapsectl -u <scifi_name> deploy /path/to/app  # builds, packages, and deploys as before

but you can also now bypass building and packaging by passing a package instead of a path:

synapsectl -u <scifi_name> deploy --package /path/to/your/deb

@emmazhou emmazhou requested review from gilbert-sci and maxhodak May 10, 2025 22:58
Copy link
Copy Markdown
Contributor

@maxhodak maxhodak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works for me

@maxhodak maxhodak merged commit ca228a9 into main May 11, 2025
2 checks passed
@maxhodak maxhodak deleted the emma-build branch May 11, 2025 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants