Skip to content

Add disk usage to release.py script #20

Description

@pwalczysko

See suggestion on https://github.com/IDR/SubmissionWorkflow/pull/25#discussion_r485778995

Explore the feasibility of adding the lines

    export PGPASSWORD=$(/opt/omero/server/OMERO.server/bin/omero config get omero.db.pass)
    export PGHOST=$(/opt/omero/server/OMERO.server/bin/omero config get omero.db.host)
    psql -U omero idr -c "select pg_database_size('idr')"

into https://github.com/IDR/idr-utils/blob/master/scripts/releases.py

cc @manics

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions