Skip to content

Environment Information

Everything Skpr does is in service of its environments and the workflow surrounding them.

The info command provides a deeper dive into the current state of the environment e.g.

  • Environment details such as name, size and version.
  • Ingress points and cache policies.
  • Cron tasks - including the command and associated crontab.
  • The Skpr token and the application deployment state.
  • Any associated provisions such as certificates, SMTP, Solr etc.

Usage

$ skpr info dev
{
        "Name": "dev",
        "Version": "0.0.0",
        "Size": "micro",
        "Ingress": {
                "Domain": "dev.drupal-example.local.skpr.dev",
                "Headers": [
                        "Accept",
                        "Authorization",
                        "CloudFront-Forwarded-Proto",
                        "Host"
                ],
                "Cookies": [
                        "SESS*",
                        "SSESS*"
                ],
                "LoadBalancer": "skpr-project-drupal-example.local.dev"
        },
        "Cron": [
                {
                        "Name": "drush",
                        "Command": "drush cron",
                        "Schedule": "@hourly"
                }
        ],
        "MySQL": [
                {
                        "Name": "default",
                        "Image": {
                                "Schedule": "0 20 * * *",
                                "Sanitize": {}
                        }
                }
        ],
        "Token": "f3a6e6f34f5644c5f417",
        "Phase": "Deployed"
}

More Information

$ skpr info --help
usage: skpr info [<flags>] [<environment>]

Display information for Skipper environment.

Flags:
  --help           Show context-sensitive help (also try --help-long and --help-man).
  --format="json"  Output format - supported format is 'json'

Args:
  [<environment>]  Environment to fetch information for.

What's next?