Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for custom pysmurf-controller docker service names #447

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

jlashner
Copy link
Collaborator

This PR adds support for setting docker service names for pysmurf-controller dockers. This will enable us to change docker services from ocs-pysmurf-s<slot> to ocs-<instance-id> by specifying manually the service names to use in the sys-config.

Related: https://github.com/simonsobs/ocs-deployment-configs/issues/126#issuecomment-2418366911

@msilvafe
Copy link
Contributor

I definitely see @BrianJKoopman's frustration with the current setup so thanks for addressing this but can you describe what testing you've done before I approve?

@jlashner
Copy link
Collaborator Author

Ok, I moved the operations for starting / stopping the pysmurf-controllers to a separate function so that they could be called and tested outside of a full hammer.

I also added the subcommand jackhammer controller <up/down> <slots> to make it easier to manage pysmurf-controllers without looking up their instance-ids.

This has been tested on satp1.

Copy link
Contributor

@msilvafe msilvafe left a comment

Choose a reason for hiding this comment

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

Great, thanks for testing!

@jlashner jlashner merged commit c2239c8 into master Oct 18, 2024
1 check passed
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