v1.6.0
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 PlatformHYPERONE_PROJECT
- Override current project on the requestHYPERONE_CLI_VERBOSE
- Make the operation of CLI more talkative.HYPERONE_CLI_OUTPUT
- Specify output format of commandHYPERONE_DATABASE_PASSWORD
- Password to connect database indatabase shell
commandHYPERONE_LOG_TOKEN
- Token to connect log indatabase logger
command.
The setting of environment variables has been facilitated by adding two commands:
env
- Get environment variables to manage project by User Sessionproject 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 addedvault 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 databasedatabase service
- Manage your services of databasedatabase service list
- List service for databasedatabase service show
- Show service for database
database delete
- Delete databasedatabase history
- History of databasedatabase rename
- Rename databasedatabase list
- List databasedatabase show
- Show databasedatabase start
- Start databasedatabase stop
- Stop databasedatabase shell
- Connect to database using standard clientdatabase credential
- Manage your credentials to databasedatabase credential password
- Manage your password to databasedatabase credential password show
- Show password to databasedatabase credential password list
- List password to databasedatabase credential password rename
- Rename password to databasedatabase credential password delete
- Delete password to databasedatabase credential password add
- Add password to database
database tag
- Manage your tagdatabase tag list
- List tagdatabase tag add
- Add a tag to databasedatabase tag delete
- Delete a tag of database
The following commands are available for management of Website
:
website create
- Create websitewebsite ssh
- Connect to website using SSHwebsite delete
- Delete websitewebsite history
- History of websitewebsite rename
- Rename websitewebsite list
- List websitewebsite service
- Manage your services of websitewebsite service list
- List service for websitewebsite service show
- Show service for website
website show
- Show websitewebsite sftp
- Connect to Website using SFTPwebsite start
- Start websitewebsite stop
- Stop websitewebsite log
- Live logs of websitewebsite sftp
- Connect to website using SFTPwebsite credential
- Manage your credentials to websitewebsite credential cert
- Manage your certificate to websitewebsite credential cert show
- Show certificate to websitewebsite credential cert rename
- Rename certificate to websitewebsite credential cert list
- List certificate to websitewebsite credential cert delete
- Delete certificate to websitewebsite credential cert add
- Add certificate to website
website credential password
- Manage your password to websitewebsite credential password show
- Show password to websitewebsite credential password list
- List password to websitewebsite credential password rename
- Rename password to websitewebsite credential password delete
- Delete password to websitewebsite credential password add
- Add password to website
website tag
- Manage your tagwebsite tag list
- List tagwebsite tag add
- Add a tag to websitewebsite 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
.