Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Latest commit

 

History

History
10 lines (10 loc) · 962 Bytes

adding-an-instance.md

File metadata and controls

10 lines (10 loc) · 962 Bytes
  1. ./enter-env.sh
  2. Increment the variable that controls the number of evaluators in terraform/base/variables.tf
  3. terraform apply
  4. Once the instance is reachable (it may take a while after terraform finishes due to IPXE booting), run the make-targets.sh script from the root of the repo
  5. morph deploy ./morph-network/default.nix --on='ofborg-evaluator-XYZ' dry-activate
  6. morph deploy ./morph-network/default.nix --on='ofborg-evaluator-XYZ' test
  7. morph upload-secrets ./morph-network/default.nix --on='ofborg-evaluator-XYZ'
  8. morph deploy ./morph-network/default.nix --on='ofborg-evaluator-XYZ' test
    • This needs to be run twice because the secrets are chown'd to a user that doesn't exist until the system activates and creates them, and the ofborg units will fail to start up without that secret. Chicken-and-egg.
  9. If it worked, make it permanent: morph deploy ./morph-network/default.nix --on='ofborg-evaluator-XYZ' switch