Skip to content

Commit

Permalink
Bump to 21.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Dec 22, 2021
1 parent e5612bc commit d65227c
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 2 deletions.
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,66 @@

[comment]: # (release notes start)

Neuro 21.12.0 (2021-12-22)
==========================

Neuro SDK/CLI 21.12.0 (2021-12-21)
==================================

Features
--------

- Merge `config show-quota` into `config show` CLI command. ([#2436](https://github.com/neuro-inc/platform-client-python/issues/2436))
- Added admin commands to manager orgs and org-clusters:

Managing orgs:

- `neuro admin get-orgs` Print the list of available orgs user has access to.
- `neuro admin add-org <org_name>` Create a new org.
- `neuro admin remove-org <org_name>` Drop a org. Removes all memberships, very dangerous operation.

Managing org members:

- `neuro admin get-org-users <org_name>` List all members of orgs.
- `neuro admin add-org-user <org_name> <username>` Add user to the org.
- `neuro admin remove-org-user <org_name> <username>` Remove user from the org.

Managing access of orgs to clusters:

- `neuro admin get-org-clusters <cluster_name>` Print the list of all orgs in the cluster
- `neuro admin add-org-cluster <cluster_name> <org_name>` Add org access to specified cluster
- `neuro admin get-org-cluster-quota <cluster_name> <org_name>` Get info about org quota in given cluster
- `neuro admin set-org-cluster-quota [options] <cluster_name> <org_name>` Set org cluster quota to given values
- `neuro admin set-org-cluster-credits [options] <cluster_name> <org_name>` Set org cluster credits to given value
- `neuro admin add-org-cluster-credits [options] <cluster_name> <org_name>` Add given values to org cluster balance

Manging access of org members to clusters:

- `neuro admin get-cluster-users --org <org_name> <cluster_name>` List all members of orgs added to cluster
- `neuro admin add-cluster-user --org <org_name> <cluster_name> <username>` Add org member to cluster
- `neuro admin remove-cluster-user --org <org_name> <cluster_name> <username>` Remove org member user from the cluster.
- `neuro admin get-user-quota --org <org_name> <cluster_name> <username>` Get info about org member quota in given cluster
- `neuro admin set-user-quota [options] --org <org_name> <cluster_name> <username>` Set org member quota in cluster to given values
- `neuro admin set-user-credits [options] --org <org_name> <cluster_name> <username>` Set org member credits in cluster to given value
- `neuro admin add-user-credits [options] --org <org_name> <cluster_name> <username>` Add given values to org member balance in cluster ([#2449](https://github.com/neuro-inc/platform-client-python/issues/2449))
- Option `-j`/`--jobs` in `neuro admin set-user-quota` is now required. Pass `unlimited` for setting no limit. Negative values are now rejected. ([#2453](https://github.com/neuro-inc/platform-client-python/issues/2453))
- Option `-c`/`--credits` in `neuro admin set-user-credits` and `neuro admin add-user-credits` is now required. Pass "unlimited" in `neuro admin set-user-credits` for setting no limit. Values "infinity", "nan" etc are now rejected. ([#2454](https://github.com/neuro-inc/platform-client-python/issues/2454))
- Added support of organizations.

Current organization is displayed in `neuro config show`. It can be changed using `neuro config switch-org`. To least
organizations you have access to in each cluster, use `neuro config get-clusters`.

Also you can run job on behalf of organization. By default, `neuro run` will use current organization, but you
can override it using `neuro run --org <some_org>`. ([#2465](https://github.com/neuro-inc/platform-client-python/issues/2465))


Bugfixes
--------

- Fix command description for `neuro admin show-cluster-options`. ([#2434](https://github.com/neuro-inc/platform-client-python/issues/2434))



Neuro 21.11.3 (2021-11-26)
==========================

Expand Down
56 changes: 56 additions & 0 deletions platform-client-python.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,60 @@

Neuro SDK/CLI 21.12.0 (2021-12-21)
==================================

Features
--------

- Merge `config show-quota` into `config show` CLI command. ([#2436](https://github.com/neuro-inc/platform-client-python/issues/2436))
- Added admin commands to manager orgs and org-clusters:

Managing orgs:

- `neuro admin get-orgs` Print the list of available orgs user has access to.
- `neuro admin add-org <org_name>` Create a new org.
- `neuro admin remove-org <org_name>` Drop a org. Removes all memberships, very dangerous operation.

Managing org members:

- `neuro admin get-org-users <org_name>` List all members of orgs.
- `neuro admin add-org-user <org_name> <username>` Add user to the org.
- `neuro admin remove-org-user <org_name> <username>` Remove user from the org.

Managing access of orgs to clusters:

- `neuro admin get-org-clusters <cluster_name>` Print the list of all orgs in the cluster
- `neuro admin add-org-cluster <cluster_name> <org_name>` Add org access to specified cluster
- `neuro admin get-org-cluster-quota <cluster_name> <org_name>` Get info about org quota in given cluster
- `neuro admin set-org-cluster-quota [options] <cluster_name> <org_name>` Set org cluster quota to given values
- `neuro admin set-org-cluster-credits [options] <cluster_name> <org_name>` Set org cluster credits to given value
- `neuro admin add-org-cluster-credits [options] <cluster_name> <org_name>` Add given values to org cluster balance

Manging access of org members to clusters:

- `neuro admin get-cluster-users --org <org_name> <cluster_name>` List all members of orgs added to cluster
- `neuro admin add-cluster-user --org <org_name> <cluster_name> <username>` Add org member to cluster
- `neuro admin remove-cluster-user --org <org_name> <cluster_name> <username>` Remove org member user from the cluster.
- `neuro admin get-user-quota --org <org_name> <cluster_name> <username>` Get info about org member quota in given cluster
- `neuro admin set-user-quota [options] --org <org_name> <cluster_name> <username>` Set org member quota in cluster to given values
- `neuro admin set-user-credits [options] --org <org_name> <cluster_name> <username>` Set org member credits in cluster to given value
- `neuro admin add-user-credits [options] --org <org_name> <cluster_name> <username>` Add given values to org member balance in cluster ([#2449](https://github.com/neuro-inc/platform-client-python/issues/2449))
- Option `-j`/`--jobs` in `neuro admin set-user-quota` is now required. Pass `unlimited` for setting no limit. Negative values are now rejected. ([#2453](https://github.com/neuro-inc/platform-client-python/issues/2453))
- Option `-c`/`--credits` in `neuro admin set-user-credits` and `neuro admin add-user-credits` is now required. Pass "unlimited" in `neuro admin set-user-credits` for setting no limit. Values "infinity", "nan" etc are now rejected. ([#2454](https://github.com/neuro-inc/platform-client-python/issues/2454))
- Added support of organizations.

Current organization is displayed in `neuro config show`. It can be changed using `neuro config switch-org`. To least
organizations you have access to in each cluster, use `neuro config get-clusters`.

Also you can run job on behalf of organization. By default, `neuro run` will use current organization, but you
can override it using `neuro run --org <some_org>`. ([#2465](https://github.com/neuro-inc/platform-client-python/issues/2465))


Bugfixes
--------

- Fix command description for `neuro admin show-cluster-options`. ([#2434](https://github.com/neuro-inc/platform-client-python/issues/2434))


Neuro SDK/CLI 21.11.4 (2021-11-25)
==================================

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "neuro-all"
version = "21.11.3"
version = "21.12.0"
description = "Combo package for installing all neu.ro command line tools by 'pipx install neuro-all' command"
authors = ["Neu.ro Team <team@neu.ro>"]
license = "Apache-2.0"
Expand All @@ -13,7 +13,6 @@ keywords = [
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down

0 comments on commit d65227c

Please # to comment.