Upgrading
This guide covers the process of upgrading Fireactions to a newer version.
Upgrade Steps
1. Stop the Fireactions service
Stop the Fireactions service to prevent new runners from starting:
Verify the service is stopped:
2. Download new Fireactions binary
Download the new release from the GitHub releases page:
# Example for version X.Y.Z
wget https://github.com/hostinger/fireactions/releases/download/vX.Y.Z/fireactions_X.Y.Z_linux_amd64.tar.gz
tar -xzf fireactions_X.Y.Z_linux_amd64.tar.gz
3. Replace the binary
Replace the old binary with the new one:
4. Verify the binary
Confirm the new version is installed:
5. Validate configuration
Check your configuration for compatibility with the new version:
If validation fails, review the error messages and update your configuration according to the release notes. Breaking changes are typically documented in the release notes with migration instructions.
6. Start the Fireactions service
Start Fireactions with the new version:
Post-Upgrade Verification
After starting the service, verify the upgrade was successful:
Check Service Status
The service should be active (running).
Review Logs
Check the logs for any errors or warnings:
Look for specific error messages or warnings that might indicate issues.
Verify Pool Status
List the pools to ensure they are running correctly:
Monitor Metrics
If metrics are enabled, check the metrics endpoint:
Test with a Workflow
Trigger a test GitHub workflow to verify runners are being created and jobs execute successfully.