Skip to content

feat(gsm-deploy): add scripts to update arduino port and restart api - #381

Merged
Adamskiee merged 2 commits into
mainfrom
feature/arduino-port-scripts
Aug 18, 2026
Merged

feat(gsm-deploy): add scripts to update arduino port and restart api#381
Adamskiee merged 2 commits into
mainfrom
feature/arduino-port-scripts

Conversation

@Adamskiee

Copy link
Copy Markdown
Collaborator

Adds two new utility scripts to the deployment bundle:

  • update-arduino-port.sh: Re-runs the hardware port detection logic and updates environment files and state.
  • rerun-gsm-fastapi.sh: Re-creates the gsm-fastapi container using the internal bundle compose wrapper.

This is a minor, backward-compatible feature addition.

Smoke-test instructions:

  1. Check out this branch on a deployed server.
  2. Navigate to /opt/sapot/releases/current/ (or wherever the release is checked out).
  3. Run ./scripts/update-arduino-port.sh and verify the port updates correctly in shared/gsm-arduino.env.
  4. Run ./scripts/rerun-gsm-fastapi.sh and verify it successfully recreates the container without errors.

@Adamskiee
Adamskiee merged commit 4a3e7d9 into main Aug 18, 2026
1 check failed
@Adamskiee
Adamskiee deleted the feature/arduino-port-scripts branch August 18, 2026 09:48
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.

1 participant