Skip to content
This repository was archived by the owner on Jun 13, 2020. It is now read-only.

New Features ➕ Tests#149

Merged
otakup0pe merged 13 commits intoAutodesk:masterfrom
otakup0pe:freedmj/more-things
Oct 7, 2017
Merged

New Features ➕ Tests#149
otakup0pe merged 13 commits intoAutodesk:masterfrom
otakup0pe:freedmj/more-things

Conversation

@otakup0pe
Copy link
Contributor

@otakup0pe otakup0pe commented Oct 4, 2017

  • cleans up temp files used when freeze/thawing
  • coveralls only samples integration tests #147 is fixed which means our code coverage now includes integration tests
  • json extra-vars-file #100 has been implemented for all kinds of things include var_files, --extra-vars-file, and aws_file.
  • secret files like var_file and aws_file are now treated as templates, and rendering has been further standardized throughout aomi
  • retrieve gpg password from vault during thaw #84 has been implemented, relies on cryptorito 0.6.1
  • ssh aomi secret backend #78 is implemented now but this could use more tests. will be in a separate pr, still not sure how to approach this in travis.
  • multiple ldap/userpass auth mount points should work properly now
  • The thaw action has a new --ignore-missing option which will cause aomi to not error out, but still emit a warning, when a resource is missing from an icefile that is being thawed. This does not affect freeze or seed, with those actions the resource must be present.

"""Invoked atexit, this removes our tmpdir"""
if os.path.exists(path) and \
os.path.isdir(path):
rmtree(path)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe for a future improvement but implementing something like wipe, srm, or shred to securely delete?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, that could be an 🆗 extension to cryptorito... A subprocess wrapper around srm that is used on supported systems.


def random_string(length):
return ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(length))
return ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(length))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doh, my bad

@otakup0pe otakup0pe merged commit 75b906e into Autodesk:master Oct 7, 2017
@otakup0pe otakup0pe deleted the freedmj/more-things branch October 7, 2017 01:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants