Alexander Todorov
2e585c98f3
Don't use f-string without interpolation
...
resolves pylint W1309(f-string-without-interpolation)
2020-05-01 10:43:07 -07:00
Brian C. Lane
3fdc783850
docs: Fix Sphinx errors in docstrings
2019-10-16 13:52:54 -07:00
Brian C. Lane
27a4165089
Increase ansible verbosity to 2
2019-10-16 09:17:54 -07:00
Brian C. Lane
a59c0241c4
lifted: Improve logging for upload playbooks
...
playbook errors are now logged, as well as errors encountered while
executing the playbook.
2019-10-16 09:17:53 -07:00
Brian C. Lane
acbf63013a
lifted: Make sure inputs cannot have path elements
...
This processes the inputs with os.path.basename to strip off any path
elements and prevent potential path traversal attacks. Also adds a test.
2019-10-16 09:17:53 -07:00
Brian C. Lane
fd55bee85d
lifted: Make sure providers list is always sorted
2019-10-16 09:17:53 -07:00
Brian C. Lane
b2fc391677
lifted: Add delete_profile function and tests
...
Also adds a helper to providers, _get_profile_path, so that the code
doesn't need to be repeated in all the functions.
2019-10-16 09:17:53 -07:00
Brian C. Lane
bc06abceab
lifted: Add a function to load the settings for a provider's profile
...
This returns the settings after loading them and running verify_settings
on them.
2019-10-16 09:17:53 -07:00
Brian C. Lane
1030dd083c
Fix pylint errors in lifted.upload
2019-10-16 09:17:53 -07:00
Brian C. Lane
1b84f90963
lifted directories should be under share_dir and lib_dir
...
Otherwise passing --sharedir pointed to some other path will not use the
correct providers.
2019-10-16 09:17:53 -07:00
Evan Goode
2692e8138c
Automatically upload composed images to the cloud
...
Currently, Azure, vSphere, and OpenStack are supported. See
https://github.com/weldr/lorax/pull/826 for more details about this new
feature.
I've called the upload library "lifted" as a reference to Seuss'
The Lorax -- in the book, the Lorax lifts himself up by the seat of his
pants through a hole in the smog clouds, and they start calling him the
"Lifted Lorax."
This adds new features to the /compose route under API v1
2019-10-16 09:17:53 -07:00