Add a basic deployment test (#476)

This commit is contained in:
2023-07-31 15:08:34 -06:00
committed by GitHub
parent a8f4e4cee4
commit 5afe7a29ae
3 changed files with 49 additions and 4 deletions
+7
View File
@@ -45,6 +45,13 @@ def init(command_context: DeployCommandContext):
return yaml.load(default_spec_file_content)
def create(command_context: DeployCommandContext):
data = "create-command-output-data"
output_file_path = command_context.deployment_dir.joinpath("create-file")
with open(output_file_path, 'w+') as output_file:
output_file.write(data)
def get_state(command_context: DeployCommandContext):
print("Here we get state")
return State.CONFIGURED