Skip to content

Commit

Permalink
Bump to 21.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romasku committed Dec 21, 2021
1 parent 042b7bd commit ea6d6a5
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 49 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.D/2434.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.D/2436.feature

This file was deleted.

32 changes: 0 additions & 32 deletions CHANGELOG.D/2449.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.D/2453.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.D/2454.feature

This file was deleted.

7 changes: 0 additions & 7 deletions CHANGELOG.D/2465.feature

This file was deleted.

56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,62 @@

[comment]: # (towncrier release notes start)

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
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Global version number,
# Update the file and run 'make fmt' to apply it everywhere

21.11.4
21.12.0
4 changes: 2 additions & 2 deletions neuro-cli/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = neuro-cli
version = 21.11.4
version = 21.12.0
description = Neuro Platform client
url = https://github.com/neuro-inc/platform-client-python
long_description = file: README.md
Expand Down Expand Up @@ -35,7 +35,7 @@ include_package_data = True
install_requires =
python-jose>=3.0.0
python-dateutil>=2.7.0
neuro-sdk>=21.11.4
neuro-sdk>=21.12.0
click>=8.0
humanize>=3.3
typing_extensions>=3.7.4
Expand Down
2 changes: 1 addition & 1 deletion neuro-cli/src/neuro_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "21.11.4"
__version__ = "21.12.0"
2 changes: 1 addition & 1 deletion neuro-sdk/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = neuro-sdk
version = 21.11.4
version = 21.12.0
description = Neu.ro SDK
url = https://github.com/neuro-inc/platform-client-python
long_description = file: README.md
Expand Down
2 changes: 1 addition & 1 deletion neuro-sdk/src/neuro_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
from ._users import Action, Permission, Quota, Share, Users
from ._utils import _ContextManager, find_project_root

__version__ = "21.11.4"
__version__ = "21.12.0"


__all__ = (
Expand Down

0 comments on commit ea6d6a5

Please sign in to comment.