microsoft / commercial-marketplace-offer-deploy

Deployment Manager for the Azure Marketplace
Other
21 stars 13 forks source link

packaging: creates initial application packaging implementation #534

Closed kevinhillinger closed 11 months ago

kevinhillinger commented 11 months ago

Closes #527

still need to wire up the build to consume and also build the py lib.

❯ python -m unittest -v
test_create (tests.test_application_package.TestApplicationPackage.test_create) ... ok
test_get_main_template (tests.test_application_package.TestApplicationPackage.test_get_main_template) ... ok
test_main_template (tests.test_application_package.TestApplicationPackage.test_main_template) ... ok
test_validate (tests.test_create_ui_definition.TestCreateUiDefinition.test_validate) ... ok
test_validate_outputs_and_input_parameters_not_matching (tests.test_create_ui_definition.TestCreateUiDefinition.test_validate_outputs_and_input_parameters_not_matching) ... ok
test_validate_outputs_match (tests.test_create_ui_definition.TestCreateUiDefinition.test_validate_outputs_match) ... ok
test_create (tests.test_installer_package.TestInstallerPackage.test_create) ... ok
test_file_name (tests.test_installer_package.TestInstallerPackage.test_file_name) ... ok
test_init (tests.test_installer_package.TestInstallerPackage.test_init) ... ok
test_deployment_type_enum (tests.test_manifest.TestManifest.test_deployment_type_enum) ... ok
test_manifest_info_construction (tests.test_manifest.TestManifest.test_manifest_info_construction) ... ok
test_manifest_info_serialization (tests.test_manifest.TestManifest.test_manifest_info_serialization) ... ok
test_manifest_info_to_json (tests.test_manifest.TestManifest.test_manifest_info_to_json) ... ok
test_manifest_info_uses_file_ext_to_set_deployment_type (tests.test_manifest.TestManifest.test_manifest_info_uses_file_ext_to_set_deployment_type) ... ok
test_offer_info (tests.test_manifest.TestManifest.test_offer_info) ... ok
test_parse_variables (tests.test_terraform_file.TestTerraformFile.test_parse_variables) ... ok
test_is_valid_type (tests.test_variable_types.TestVariableType.test_is_valid_type) ... ok
test_to_list (tests.test_variable_types.TestVariableType.test_to_list) ... ok
test_zip_operations (tests.test_zip_utils.testZipUtils.test_zip_operations) ... ok

----------------------------------------------------------------------
Ran 19 tests in 0.102s