Skip to content

Releases: hyperonecom/h1-cli

v2.3.5 beta

03 May 10:37
Compare
Choose a tag to compare
v2.3.5 beta Pre-release
Pre-release
  • no changes

v2.3.2 beta

19 Apr 11:56
Compare
Choose a tag to compare
v2.3.2 beta Pre-release
Pre-release
  • no changes

v2.2.0 beta

17 Nov 15:30
Compare
Choose a tag to compare
v2.2.0 beta Pre-release
Pre-release
  • no changes

v2 nightly versions

17 Nov 13:32
Compare
Choose a tag to compare
v2 nightly versions Pre-release
Pre-release
v2.0.0-rc1

tests: disable "auth user interactive" getting SIGSEGV

v2.1.10 beta

14 Jul 08:55
Compare
Choose a tag to compare
v2.1.10 beta Pre-release
Pre-release
  • no changes

v2.0.24 beta

26 Feb 15:18
Compare
Choose a tag to compare
v2.0.24 beta Pre-release
Pre-release
  • no changes

v2.0.0 beta

29 Sep 11:53
Compare
Choose a tag to compare
v2.0.0 beta Pre-release
Pre-release

This version was created from scratch using the experience of the previous versions. It introduces numerous changes and unifies the user experience.

This new version follows the the footsteps of the Management Panel - services are now grouped in categories. Groups of common-purpose, for example: compute, storage and container.

Introduces a mechanism that automatically detects new services on the Platform. This means that even without updating the CLI itself, you can use its latest capabilities from the moment they are published on the Platform. In other words, the need to update the CLI has been reduced.

CLI is also available in the Management Panel. For each operation in the Management Panel, it is possible to preview how an analogous operation can be performed using the CLI. Moreover, it is possible to execute it directly from the Management Panel, using the console visible at the bottom of the Management Panel.

The new CLI release has been designed with performance in mind. Only the minimum range of CLI is loaded into the main memory - this speedups the time of the operation and reduces the memory consumption.

Like in the previous CLI, every command has helpful documentation, available in --help. It contains a description of the available parameters and interaction examples.

New generation of CLI is still available under the MIT license. It is one of the simplest open source licenses and allows you to use the software at no extra charge. However, standard fees may apply to the services used with it.

We kindly ask you to submit your comments on the functioning of CLI. We would like to fix any problems encountered before the final release. At this stage, we also have a lot of freedom to change in order to meet the expressed expectations.

v1.10.0

18 Mar 14:27
Compare
Choose a tag to compare

A new CLI release has been introduced. It enables more efficient management of the Platform. New actions have been made available as part of the Website service. Updates have been made easier on the Linux platform.

Command auto-complete

Command autocomplete mechanisms have been introduced to allow more efficient use of less popular commands, parameters and values ​​when managing platform from an interactive console. It allows to type in the command of the Linux text console (bash, zsh, fish) or WSL under Windows to get a hint what the CLI capabilities are. At the user's request, the mechanism will give hint - complete the command if it is able to unambiguously propose to complete the command or present possible variants.

In order to use the mechanism, the console mechanisms must be activated once using the command:

config autocomplete init

After restarting the console, just tap tab twice when entering the command to get autocomplete. Several complement situations are outlined below:

$ h1 dns zone list -<TAB>
--dry-run --no-wait --output --project-select --query --verbose
$ h1 vm create --type a1.n <TAB> # completes the variant name
$ h1 vm create --type a <TAB> # completes the common part of variant names, e.g. "a1."
$ h1 vm create --type a1. <TAB> # indicates the available variants
a1.large a1.medium a1.micro a1.nano a1.small

We are waiting for comments on the effectiveness of those hints.

Management of Website

As part of the Website service development, two mechanisms have recently been made available:

  • the ability to manage environment variables
  • the ability to update runtime image

The following commands have been added to take advantage of the new possibilities:

  • website env - Manage environment variables of Website
    • website env create - Create environment variables of Website
    • website env show - Show environment variables of Website
    • website env list - List environment variables of Website
    • website env delete - Delete environment variables of Website
  • website image - Update image of Website

For details, try website env --help or website image --help.

Managing environment variables through CLI can be part of a continuous integration process. It is much easier to modify the environment variable using the platform CLI than to edit the configuration files of the application running in the service.

The solution will also be used during simple, daily administration by users who are familiar with console and prefer to manage services that way. This applies in particular to the situation when it is necessary to update the number of Website and efficiently verify the correctness of their work.

Facilitating installation on the Linux

For CLI, it's supported to run on a number of operating systems - Linux, macOS, Microsoft Windows and Alpine. It is also available as part of the SSH console for the Website service and in Virtual Machines created using Recommended Images with Linux.

However, we recognise the expectations of Linux administrators who prefer installations using a package repository. That is why we have provided repositories for popular Linux distributions:

  • Debian & Ubuntu - via the Apt repository
  • Fedora & CentOS & RedHat - through the Yum repository
  • Alpine - through the Apk repository

The updated installation procedure is available at HyperOne.com.

The new form of installation does not mean the loss of earlier mechanisms. The basic possibility of independent installation on the operating system chosen by the user is still preserved. In many cases, using repositories makes updates easy.

v1.9.1

16 Jan 14:10
Compare
Choose a tag to compare

We are releasing a new version of the CLI. This is a patch release that introduce backwards compatible changes. The release introduce following changes:

  • Parameter --no-image was introduced for command vm create to allow the creation of a Virtual Machine without any Image. Previously, the Virtual Machine used at least use default Image.
  • Parameter --os-disk of command vm create simply accepts the disk ID too. Previously, such format of value for the parameter a request was rejected. Following format of value is accepted now: name, type, [size] | id.
  • If the network connection is interrupted during the request, operation is safely retried by CLI, thanks to idempotency. Previously, such an operation could have caused a error for manual verification & retry by user.

v1.9.0

19 Dec 11:09
9d5d9ec
Compare
Choose a tag to compare

Accelerated DNS zone management

Management of a DNS zone has been made faster in two ways.

The ability to guess the DNS zone when creating a new DNS zone has been introduced. This solution tries to guess and restore DNS records if the created DNS zone exists on a public DNS server. This applies to the process of migrating the DNS zone, which is currently in use by another provider to us.

Import of DNS zone (BIND) files has been accelerated by transferring only the difference between the current DNS zone configuration and the desired one to the Platform. This allows to limit the import time, which can be particularly important during cyclic process of generating the DNS zone file and upload, or when the configuration of the DNS zone is managed in a version control system.

Managing invitations

People who want to add to Project no longer need to be current user of the Platform. If User try to add to the Platform a person who does not use the Platform - he will receive an invitation, and after registering on the Platform will be able to accept them to use the Platform.

For this reason, the option of inviting User to a Project / Organisation has been made available in CLI to accept / reject an invitation and information about their status has been added to the list of users in the Project / Organisation.

Website and Organisation management extend

When launching applications written e.g. in Python or NodeJS in Website, User need to restart their applications to load their new versions. To this end, we have provided the "restart" operation, which combines the two "start" and "stop" operations to make the simple process even easier.

Taking into account the comments of users who carry out various experiments, the CLI has been given the option to remove the Organisation. We remind that the operation can be used, especially if Organisation has no invoices.

Improved User experience

For User who create Disk based on the local .vhdx file, there is no need to specify the size of the disk being created. The value is automatically detected.

To limit the dispersion of the CLI versions that are used, a notification mechanism has been introduced that the user is using outdated CLI versions. The corresponding message will be displayed during normal CLI operation. This will allow User to notice more efficiently that they should update to avoid disruption to the tool and gain access to the latest functionalities.