Skip to content

v1.6.0

Compare
Choose a tag to compare
@fredericosilva fredericosilva released this 28 May 12:46
· 252 commits to master since this release

Version 1.6.0

Version 1.6.0 is out

We are releasing a new version of the CLI, which simplifies use it together with tools like Docker-Machine, Packer and simplifies several use cases. Website and Database management has been added as part of Early adopters program.

Increase efficiency through environment variables

In order to increase the efficiency and facilitate the cooperation of the CLI with external tools, changes have been introduced in the area of environment variables, which will be standardized in all popular tools compatible with the Platform.

The names of environment variables have been changed. Currently supported:

  • HYPERONE_ACCESS_TOKEN_SECRET - Specify user session or service account to access Platform
  • HYPERONE_PROJECT - Override current project on the request
  • HYPERONE_CLI_VERBOSE - Make the operation of CLI more talkative.
  • HYPERONE_CLI_OUTPUT - Specify output format of command
  • HYPERONE_DATABASE_PASSWORD - Password to connect database in database shell command
  • HYPERONE_LOG_TOKEN - Token to connect log in database logger command.

The setting of environment variables has been facilitated by adding two commands:

  • env - Get environment variables to manage project by User Session
  • project token env - Get environment variables to manage project by Service account

That commands help manage project using User Session or Service Account. Particularly useful when working with tools, such as Packer, Docker-Machine, which do not use user password authentication or SSH keys to gain access to the Platform.

For more details and examples, try env --help and project token env --help.

Unified credentials on resource create

Access to some of resources requires providing credentials. Now is possible to provide them at create command. If applicable, the --ssh, --ssh-file and --password parameters are available across all resources.

If affect following commands:

  • log create - --password parameter added
  • vault create - --ssh, --ssh-file and --password parameter added

Added Database and Website management

We have introduced Website and Database management for Early adopters program participants.

Website allows to run web application in popular network technologies, i.e. PHP. Automated server management by Platform allows the developer to focus only on building the application without hassle of maintaining the infrastructure.

Database allows to use database servers without having to maintain and manage the entire server with the operating system and many services, which allows to significantly reduce the cost of long-term maintenance of the application and ensure a high level of security.

Both services integrated allows to run full websites, online stores, internet portals, for example based on Wordpress, Magento, Drupal.

The use of CLI allows easily extend the existing continuous integrations process to continuous deployment mechanisms and accelerate the release of new software versions in Organisation. Management via CLI can be useful when automatically preparing test environments too.

The following commands are available for management of Database:

  • database create - Create database
  • database service - Manage your services of database
    • database service list - List service for database
    • database service show - Show service for database
  • database delete - Delete database
  • database history - History of database
  • database rename - Rename database
  • database list - List database
  • database show - Show database
  • database start - Start database
  • database stop - Stop database
  • database shell - Connect to database using standard client
  • database credential - Manage your credentials to database
    • database credential password - Manage your password to database
    • database credential password show - Show password to database
    • database credential password list - List password to database
    • database credential password rename - Rename password to database
    • database credential password delete - Delete password to database
    • database credential password add - Add password to database
  • database tag - Manage your tag
    • database tag list - List tag
    • database tag add - Add a tag to database
    • database tag delete - Delete a tag of database

The following commands are available for management of Website:

  • website create - Create website
  • website ssh - Connect to website using SSH
  • website delete - Delete website
  • website history - History of website
  • website rename - Rename website
  • website list - List website
  • website service - Manage your services of website
    • website service list - List service for website
    • website service show - Show service for website
  • website show - Show website
  • website sftp - Connect to Website using SFTP
  • website start - Start website
  • website stop - Stop website
  • website log - Live logs of website
  • website sftp - Connect to website using SFTP
  • website credential - Manage your credentials to website
    • website credential cert - Manage your certificate to website
      • website credential cert show - Show certificate to website
      • website credential cert rename - Rename certificate to website
      • website credential cert list - List certificate to website
      • website credential cert delete - Delete certificate to website
      • website credential cert add - Add certificate to website
    • website credential password - Manage your password to website
      • website credential password show - Show password to website
      • website credential password list - List password to website
      • website credential password rename - Rename password to website
      • website credential password delete - Delete password to website
      • website credential password add - Add password to website
  • website tag - Manage your tag
    • website tag list - List tag
    • website tag add - Add a tag to website
    • website tag delete - Delete a tag of website

Added creating Disk from another Disk

We provide an operation creating Disk from another Disk, which consists in creating a new Disk using data collected on an existing Disk. It runs in the same way regardless of the nature of the data stored in Disk - it is not important whether it will be a database, or multimedia data or archive of documents. The availability of CLI operations makes it easier to use this mechanism as the basis for a backup system.

For more details and examples, try disk create --help.