Commit Graph

3 Commits

Author SHA1 Message Date
Abraham Gonzalez ef4d3298c9
Add Python typing to all files + Cleanup based off it (#1042)
* Fix typing across codebase

* Switches can be on any instance
2022-05-01 02:13:56 +00:00
Tim Snyder 3b20b55cd1 try changing scripts/aws-setup.py to a symlink so that the wget url in setup docs doesn't have to change 2022-02-15 22:55:59 +00:00
Tim Snyder 127ad30488 Apply feedback from PR
* make default timeout 0 to match legacy behavior when new
  key is not present in runtime.ini
* Add tests requires
   * moving scripts/aws-setup.py into a loadable module
   * adding sure to machine-launch-script.sh for nicer assertion style
* Generalize awstools.get_instances_by_tag_type to not assume it is
  being called with 'fsimcluster' value, uses tags dict.  Created
  awstools.get_run_instances_by_tag_type that uses old symantics and calls
  the general function similar to launch_run_instances()
* Add `additive` parameter to `awstools.launch_instances()` that controls
  whether `count` is the number to be launched in that call or a total number
  of instances that should be reached including ones already launched that
  match the `type` and `tags`
2022-02-14 22:27:34 +00:00