Skip to content

v1.7.0

Compare
Choose a tag to compare
@fredericosilva fredericosilva released this 30 Aug 16:07
· 172 commits to master since this release

Version 1.7.0

We are releasing a new version of the CLI, which add new functionalities eg. adding firewall to network adapter. Registry has been added as part of the Early adopters program. The Website has been expanded to manage snapshots.

Direct cooperation between Firewall and Network Adapter

We improve Firewall to increase the security of, among others: Virtual machines. Now the firewall can be assigned to Network adapter of Virtual machine. This allows to increase the security of IT systems in Organisation.

Firewall allows to quickly manage complex environments in which you want to precisely control network communication. The use of the Firewall provided by the Platform may be a solution to the problem of rule consistency, especially in the case of environments using different operating systems. It also prevents situations when, during a routine update, a internal application becomes publicly accessible from the Internet.

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

  • network firewall - Manage Firewall of Network
    • network firewall add - Add firewall to Network
    • network firewall remove - Remove firewall from Network
  • vm nic firewall - Manage Firewall of Network adapter
    • vm nic firewall add - Add firewall to Network adapter
    • vm nic firewall remove - Remove firewall from Network adapter

For details, try vm nic firewall add --help.

Added Registry management

The Registry is a new solution for storing container images to easily manage their life cycle. It has full compatibility with the Docker CLI interface. An essential element of the modern IT environment.

The solution can significantly facilitate container creation due to easy storage and management of container images. Both in the case of containers based on the Container service as well as operating in the case of their own environments. It can be used for version management (versioning and archiving), as part of the CI / CD process or for software publication.

  • registry create - Create Registry
  • registry list - List Registry
  • registry show - Show Registry
  • registry delete - Delete Registry
  • registry history - History of Registry
  • registry rename - Rename Registry
  • registry service - Manage your services of Registry
    • registry service list - List Service for Registry
    • registry service show - Show Service for Registry
  • registry start - Start Registry
  • registry stop - Stop Registry
  • registry transfer - Transfer Registry to other project
  • registry domain - Manage Domain name of Registry
    • registry domain add - Add Domain name to Registry
    • registry domain list - List Domain name of Registry
    • registry domain delete - Delete Domain name from Registry
  • registry repository - Manage your repository of Registry
    • registry repository show - Show repository of Registry
    • registry repository list - List repository of Registry
    • registry repository tag - Manage your tag in repository
      • registry repository tag show - Show tag in repository
      • registry repository tag list - List tag in repository
      • registry repository tag delete - Delete tag in repository
  • registry credential - Manage your credentials of Registry
    • registry credential list - List credential of Registry
    • registry credential show - Show credential of Registry
    • registry credential password - Manage your password Registry
      • registry credential password list - List password credential of Registry
      • registry credential password show - Show password credential of Registry
      • registry credential password rename - Rename password credential of Registry
      • registry credential password delete - Delete password credential of Registry
      • registry credential password add - Add password credential of Registry
      • registry credential password list - List password credential of Registry
  • registry tag - Manage your tag
    • registry tag list - List tag
    • registry tag add - Add a tag to Registry
    • registry tag delete - Delete a tag of Registry

For details, try registry --help.

Added snapshots management to Website

Following commands were added to manage snapshots:

  • website snapshot create - Create snapshot of Website
  • website snapshot list - List snapshot of Website
  • website snapshot delete - Delete snapshot of Website
  • website snapshot download - Download snapshot of Website as ZFS file

Command website create was extended to optional parameters to choose source snapshot for new Website:

Parameter Description
--source-snapshot SOURCE-SNAPSHOT Snapshots to use as base of new Website
--source-snapshot SOURCE-SNAPSHOT Snapshots to use as base of new Website

By default, Website is empty. Using Snapshot allows you to recreate an existing one based on Snapshot of other Website.

CLI is available in new way

To facilitate the use of CLI in diverse environments, we distribute them in a new way - using Registry and through official Alpine Linux repository.

In order to run CLI from Registry, do the following:

docker run -it -v ~/.h1-cli:/root/.h1-cli h1cr.io/cli:latest h1 vm list

The solution is particularly convenient when used together with a Service Account.

To install CLI from the Alpine Linux repository, do the following:

apk add --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing" h1-cli
apk add --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing" rbx-cli

Recommended for use in a containerised environment where latest version CLI version is required.

We are waiting for information on other, expected forms of software distribution, to focus our work on users needs.

Patching 🐛

Fix minor bugs:

  • Alpine releases binaries build & execute correctly on Alpine
  • --project-select no longer involve persistent changes
  • env and project token env provide valid output for non-Linux platform & detect TTY
  • tag commands provides format output properly
  • increasing compatibility database with PostgreSQL by choosing the optimal password encryption method for the service