Add a basic deployment test #476

Merged
telackey merged 7 commits from dboreham/test-deployments into main 2023-07-31 21:08:34 +00:00
Showing only changes of commit 2d3ec2f91f - Show all commits

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