ehmatthes / django-simple-deploy

A reusable Django app that configures your project for deployment
BSD 3-Clause "New" or "Revised" License
304 stars 26 forks source link

Refactor Platform.sh deploy.py #286

Closed ehmatthes closed 2 months ago

ehmatthes commented 6 months ago

Resources

ehmatthes commented 3 months ago

Methods

ehmatthes commented 3 months ago

Working notes

ehmatthes commented 3 months ago

Parse csv instead of default table

Output of platform project:into --yes --format csv:

$  platform project:info --yes --format csv  
Property,Value
id,<project-id>
created_at,2024-04-28T04:56:53+00:00
updated_at,2024-04-28T04:58:27+00:00
attributes,{  }
title,my_blog_project
description,
owner,<owner-hash>
namespace,platformsh
organization,<org-id>
default_branch,main
status,"code: provisioned
message: ok"
timezone,America/Denver
region,us-3.platform.sh
repository,"url: '<id>@git.us-3.platform.sh:<id>.git'
client_ssh_key: <redacted>
default_domain,
subscription,"<redacted>
plan: development
environments: 3
storage: 5120
included_users: 1
subscription_management_uri: 'https://console.platform.sh/-/users/<id>/...
restricted: false
suspended: false
user_licenses: 1"
...
ehmatthes commented 2 months ago

More notes

ehmatthes commented 2 months ago

Closed by #309.