- Automatic Updates: The GCP runner handles most updates automatically with minimal user intervention.
- Updating Infrastructure: For significant changes, manual updates via Terraform are required.
- Updating Terraform Variables: Update specific configuration settings through Terraform variables.
Automatic Updates
The GCP runner includes a built-in update mechanism that automatically manages application updates. Here’s how it works:Update Check Process
- The updater performs version checks periodically
- During each check, the runner:
- Queries the Ona API for the available version
- Compares the current version with the available version
- Verifies infrastructure version compatibility
Update Eligibility
A runner is eligible for updates when:- It is on the stable channel
- Auto-updates are enabled for the version
- The infrastructure version matches the current runner’s infrastructure version
- The available version is newer than the current version
- The runner image is different from the currently running image
Important Notes
- Updates are non-disruptive to running workloads
- Process is fully automated with no manual intervention needed
- Failed updates don’t impact existing runner functionality
- Runner maintains configuration and credentials through updates
Tip: View the current version of the runner on the runner card under Settings > Runners.
Updating Infrastructure
Certain updates, particularly those involving significant infrastructural changes, cannot be applied automatically. Follow these steps to apply updates:-
Navigate to your Terraform configuration directory:
-
Fetch the latest version of the Terraform module from GitHub:
Alternatively, you can download the latest release from the GitHub repository.
-
Re-initialize Terraform to update any provider or module dependencies:
-
Review the planned changes before applying:
Carefully review the output for:
- New resources being created
- Resources being modified or replaced
- Any unexpected deletions
-
Apply the updates:
- Verify the runner status in the Ona dashboard under Settings > Runners to confirm the update was successful.