scalingo_addonscalingo_alertscalingo_appscalingo_app_eventscalingo_autoscalerscalingo_collaboratorscalingo_containerscalingo_container_typescalingo_cronscalingo_databasescalingo_database_backupscalingo_database_maintenancescalingo_database_type_versionscalingo_database_userscalingo_deploymentscalingo_domainscalingo_environmentscalingo_event_typescalingo_invoicescalingo_keyscalingo_log_drainscalingo_log_drain_addonscalingo_notification_platformscalingo_notifierscalingo_regionscalingo_scm_integrationscalingo_scm_repo_linkscalingo_stackscalingo_tokenscalingo_user_eventscalingo_user_scm_repo_link
Table: scalingo_deployment
List deployments associated to an app.
The scalingo_deployment
table can be used to query information about deployments, and you must specify which application in the where or join clause using the app_name
column.
Examples
List all deployments of an application
select created_at, status, user_usernamefrom scalingo_deploymentwhere app_name = 'caresteouvert-api';
Get average deploy duration
select mean(duration)from scalingo_deploymentwhere app_name = 'caresteouvert-api';
Schema for scalingo_deployment
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
app_id | text | ID of the application where the event belong. | |
app_name | text | = | Name of the app. |
created_at | timestamp with time zone | Creation date of the event. | |
duration | bigint | Duration of the deployment. | |
git_ref | text | Git SHA. | |
id | text | = | Unique ID identifying the event. |
image | text | Link to the resulting image. | |
image_size | bigint | Size of the deployment image (in bytes). | |
registry | text | Name of the registry. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
stack_base_image | text | Stack used as base image. | |
status | text | Status of the deployment. | |
user_email | text | Email of the user. | |
user_id | text | Unique id of the user. | |
user_username | text | Username of the user. |