24.7.1
Renamed packages from Neuro to Apolo
Apolo SDK/CLI 24.7.1 (2024-07-19)
No significant changes.
Apolo SDK/CLI 24.7.0 (2024-07-19)
Features
- Add update-cluster-user command. (#3009)
- Rename neuro-cli/neuro-sdk to apolo-cli/apolo-sdk (#3010)
apolo-extras v24.7.0 (2024-07-21)
Misc
- Rename neuro-extras to apolo-extras. (#605)
Apolo Flow 24.7.0 (2024-07-26)
No significant changes.
Apolo 24.7.0 (2024-07-08)
Neuro 24.7.0 (2024-07-08)
neuro-extras v24.5.2 (2024-05-29)
Bugfixes
- Fix image cache path -- properly support orgs (#604)
Neuro 24.5.2 (2024-05-28)
neuro-extras v24.5.1 (2024-05-28)
Bugfixes
- Fix image build in organization when user has no direct access to cluster (#603)
Neuro 24.5.1 (2024-05-24)
neuro-extras v24.5.0 (2024-05-22)
No significant changes.
Neuro 24.5.0 (2024-05-21)
Neuro SDK/CLI 24.5.0 (2024-05-21)
Features
- Support AMD, Intel GPUs (#3007)
Neuro 24.2.0 (2024-02-16)
Neuro SDK/CLI 24.2.0 (2024-02-12)
No significant changes.
neuro-extras v24.2.0 (2024-02-13)
Features
- Updated Kaniko to 1.20.0, allowed to provide extra arguments for Kaniko executor. (#601)
Neuro Flow 24.2.0 (2024-02-16)
Features
-
${{ project.project_name }}now also configuresvolume's remote path andimagereference if the project name was not set.If you do not have
project_nameset inproject.yaml, the volume paths are assumed within your current project configured in CLI.
However, if you setproject_name, this project will be assumed while managing jobs, bakes, volumes, building images etc. within this flow. (#1081) -
Added support of extra Kaniko arguments while building an image:
images: image_a: ref: image:imagea context: dir dockerfile: dir/Dockerfile extra_kaniko_args: >- --reproducible --cache-ttl=1h --single-snapshotMore details on available arguments could be found in official Kaniko documentation. (#1110)
Neuro 24.1.0 (2024-01-02)
Neuro SDK/CLI 24.1.0 (2024-01-02)
Bugfixes
- Do not perform terminal settings reset in PyCharm while it causes screen cleanup. (#3005)
Neuro 23.11.0 (2023-11-15)
Neuro SDK/CLI 23.11.0 (2023-11-14)
No significant changes.
Neuro SDK/CLI 23.10.0 (2023-10-26)
No significant changes.
neuro-extras v23.11.0 (2023-11-01)
Features
- Use
-p/--projectwhile building image to set the project for entire build process. (#600)
Neuro Flow 23.11.0 (2023-11-15)
Features
-
${{ project.project_name }}now also configuresvolume's remote path andimagereference if the project name was not set.If you do not have
project_nameset inproject.yaml, the volume paths are assumed within your current project configured in CLI.
However, if you setproject_name, this project will be assumed while managing jobs, bakes, volumes, building images etc. within this flow. (#1081) -
Add retries for read-only operations on Server Unavailable error. (#1085)
Neuro 23.10.1 (2023-10-18)
Neuro Flow 23.10.2 (2023-10-18)
Bugfixes
- Fix read retries from neuro APIs. Fix configuration of executor lifespan in bake config file, example:
kind: batch life_span: 30d tasks: ... ``` (#1075)
Neuro 23.10.0 (2023-10-16)
Neuro Flow 23.10.1 (2023-10-15)
Features
- Expose jobs and tasks restart policy configuration (#1072)
Neuro 23.7.1 (2023-07-13)
neuro-extras v23.7.1 (2023-07-13)
Bugfixes
- Fix runnning Kaniko on some envs (#599)
Neuro 23.7.0 (2023-07-07)
Neuro SDK/CLI 23.7.0 (2023-07-03)
Features
- Commands
neuro run,neuro logs,neuro attachandneuro execin non-quiet mode now prints details for cancelled and failed jobs. Also improved other indications of the job status. (#2800) - Commands
neuro runandneuro attachnow re-attach to restarted jobs. Previously they waited until the job finished. (#2802) - Added support of cluster energy schedules.
neuro config show --energywill display awailable energy schedule periods.
neuro run --schedule-name <energy-schedule-name>will run the job within the specified . Note - the selected preset should have an enabled scheduler.
neuro status <job-id>will include the energy schedule name if one was used for running the job. (#2903) - Added Python 3.11 support. (#2908)
- Add
neuro config switch-projectcommand. (#2940) - Support projects in storage commands, make project directory default instead of user home directory. (#2949)
- Support projects in image commands. (#2950)
- Support projects in
neuro secretcli. (#2952) - Support projects in
neuro blobcli commands andneuro-sdk. (#2954) - Add project support in
neuro jobcommands. (#2955) - Support projects in disk CLI commands and SDK methods. (#2960)
- Support projects in service account CLI commands and SDK methods. (#2965)
- Unhide remove-project command. (#2976)
- Align all
lscommand options. (#2995)
Bugfixes
- Fix human-readable datetime formatter to correctly report jobs lifespan ending in future (#2933)
- Update projects after fetching config from server. (#2992)
neuro-extras v23.7.0 (2023-07-06)
Features
- Added project support. ([#595])(neuro-inc/apolo-extras#595))
Bugfixes
-
Fixed data cp to s3 destination not working. (#301)
-
Fixed a bug with data cp to s3 with compression causing
$HOME/directory wipe. (#500)
Misc
Neuro Flow 23.7.0 (2023-07-07)
Features
- Dropped Python 3.7, added 3.10, 3.11 support. (#980)
- Host neuro-flow flows (former projects) within user projects. (#1002)
Misc
Neuro 22.8.1 (2022-08-05)
Neuro Flow 22.8.1 (2022-08-05)
Features
- Added
hash_files_relativefunction to expression, it works same ashash_filesbut requires additional leading
parameters that defines directory to glob over. It can be used to glob over action files:${{ hash_files_relative(flow.action_path, "**/pattern/here/**/*.py", "other/**/pattern") ``` (#904)
Neuro 22.8.0 (2022-08-04)
Neuro Flow 22.8.0 (2022-08-04)
Features
- Added support of
flow.action_pathfor images sections of action. (#902)
Neuro 22.7.1 (2022-07-28)
Neuro SDK/CLI 22.7.1 (2022-07-27)
Features
- Add update-node-pool command. Only idle_size update is available. (#2740)
- Integrate neuro-config-client package. (#2791)
- Added project management commands to
neuro admin. (#2798)
Bugfixes
- Fix
neuro admin update-resource-preset: previous values are now used for boolean parameters if options--scheduler/--no-scheduleror--preemptible-node/--no-preemptible-nodeare not explicitly specified. (#2761)
Neuro Flow 22.7.2 (2022-07-28)
Features
- Implement
flow.action_pathproperty in the flow context. It is available from action and points to the folder whereaction.ymlfile is located. (#896) - Replace HTTP fetch with git clone for remote actions. (#897)
Neuro Flow 22.7.1 (2022-07-25)
Bugfixes
- Use a separate src folder to don install tests when installing neuro-flow. (#891)
Neuro Flow 22.7.0 (2022-07-25)
Features
- Implement
neuro-flow initcommand for easy flow creation (#859)
Neuro 22.7.0 (2022-07-04)
Neuro SDK/CLI 22.7.0 (2022-07-04)
Features
- Update size formatting: use decimal prefixes (#2768)
Bugfixes
- Fix formatting URIs in short form for users with organization. (#2749)
- Disks, buckets and secrets are now created with the current organization instead of no organization if
--orgis not explicitly specified. (#2756)
Misc
Neuro SDK/CLI 22.6.3 (2022-06-30)
Bugfixes
- Pin
neuro-admin-clientto>=22.6.4, make SDK future-compatible with nextneuro-admin-clientreleases. (#2757)
Neuro SDK/CLI 22.6.2 (2022-06-15)
Features
- Allow user without clusters call neuro-sdk Jobs.status method if they have permissions. (#2733)
Neuro SDK/CLI 22.6.1 (2022-06-09)
Features
- Re-load clusters config in
neuro config show. (#2728)
Neuro 22.6.0 (2022-06-08)
Neuro SDK/CLI 22.6.0 (2022-06-07)
Features
-
Support organization storage in disk usage command when user switches to organization. (#2585)
-
Added
neuro admin set-org-cluster-defaultscommand to allow org cluster manager to modify org cluster defaults. (#2602) -
Support custom storage path in disk usage command. (#2622)
-
neuro blob statbucketnow displays some additional information
for imported buckets.- For AWS: "External name", "External endpoint", "External region name".
- For Azure: "External name", "External endpoint".
- For GCP: "External name". (#2706)
Bugfixes
- Fix resolving job URIs containing organization name and/or service account name. (#2572)
- Provide click 8.1.3 support with keeping 8.0+ compatibility. (#2689)
Misc
Neuro Flow 22.6.0 (2022-06-07)
Features
- Add support of shared server side projects. (#840)
- Display times with timezones in log messages. (#847)
Neuro 22.4.1 (2022-04-21)
Neuro Flow 22.4.3 (2022-04-21)
Bugfixes
- Fixed error when trying to build image in batch mode (#818)
Neuro 22.4.0 (2022-04-01)
neuro-extras v22.2.2 (2022-02-17)
Bugfixes
- Fix relative dockerfile path for Kaniko on Windows (#463)
neuro-extras v22.2.1 (2022-02-10)
Features
-
Added Python 3.10 support. (#417)
-
Add
local-buildsubcommand toneuro-extras imagethat allows building images via local Docker daemon. (#448) -
Help user to select the resource preset for image build (#450)
Deprecations and Removals
- Removed Python 3.6 support. (#417)
Neuro Flow 22.4.2 (2022-04-01)
No significant changes.
Neuro Flow 22.3.0 (2022-03-29)
Bugfixes
- Fixed problem with click 8.1.0
Neuro 22.1.1 (2022-01-28)
Neuro SDK/CLI 22.1.3 (2022-01-27)
Features
- Support organization storage size parameter. (#2560)
Neuro SDK/CLI 22.1.2 (2022-01-25)
Features
- Added client-side validation of docker image name and tag. (#2525)
- Added support of column type
org_nameto ps-format. (#2533) - Added "ORG" column to get-cluster-users output. (#2541)
- Added info about org quota to
neuro config show. (#2545)
Bugfixes
- Cluster/org name validness now checked after config re-fetch in
neuro config switch-cluster
andneuro config switch-orgcommands. (#2543)
Neuro SDK/CLI 22.1.1 (2022-01-18)
Features
-
Add command
neuro acl list-rolesto list roles created by user. (#2496) -
Added support to set/update cluster level default credits and quota.
Use options
--default-creditsand--default-jobsof commandsneuro admin add-cluster,
neuro admin update-cluster,neuro admin add-org-clusterandneuro admin update-org-cluster
to set and update cluster defaults. This values will when new user with role "user" is added to cluster
(either byneuro admin add-cluster-useror if user registers himself using web interface).
The default for managers and admins is unlimited quota and credits as the can edit their quota.You can override default value by using
--creditsand--jobsoptions of
neuro admin add-org-clustercommand. (#2520)
Bugfixes
- Fixed memory leak in
neuro blob cp. (#2523)
Neuro Flow 22.1.0 (2022-01-26)
Features
-
Support
${{ matrix.ORDINAL }}as unique 0-based index for selected rows.If a batch flow has a matrix, all matrix rows are enumerated.
The ordinal number of each row is available as${{ matrix.ORDINAL }}system value. (#693) -
Add support of expressions in matrix definition.
You can now use expression to define list of matrix products. In examples here and below,
bothold_way_keyandnew_way_keyproduce same list of values:matrix: old_way_key: ["1", "2", "3"] new_way_key: ${{ ["1", "2", "3"] }}This can be helpful when used together with new
range()function:matrix: old_way_key: [0, 1, 2, 3] new_way_key: ${{ range(4) }}The
range()function supports same parameters as python'srange(), but it returns list.
For example:${{ range(1, 4) }}generates[1,2,3], and${{ range(4, 1, -1) }}generates
[4,3,2].As sometimes plain numbers is not best options for matrix products, you can use list comprehension
to perform some mapping:matrix: old_way_key: ["k1", "k2", "k3"] new_way_key: ${{ [fmt("k{}", str(it)) for it in range(1, 4)] }}You can also filter some values in comprehension same way as in python:
matrix: old_way_key: [0, 4, 16] new_way_key: ${{ [it * it for it in range(1, 5) if it % 2 == 0] }} ``` (#741)
Bugfixes
- Fixed (disabled) uploads to storage in dry-run mode (#732)
Neuro 22.1.0 (2022-01-11)
Neuro SDK/CLI 22.1.0 (2022-01-10)
Features
- Added support
--ownerargument in blob bucket level commands to allow referring to another users bucket by name. (#2494) - Add --force/-f flag to neuro blob rmbucket to force remove non-empty bucket. (#2495)
- Support
neuro -q lsandneuro -q blob lsfor quiet output enforcing. (#2506)
Deprecations and Removals
- Replace
--httpoption with--http-port, keep--httpoption as a hidden deprecated alternative, scheduled for removal later. (#2501) - Remove deprecated
neuro project initcommand. (#2502) - Remove
client.job.tags()method from SDK andneuro job tagscommand from CLI. (#2503) - Drop deprecated API from SDK (#2505)
Neuro SDK/CLI 21.12.2 (2021-12-23)
Features
- Sort CLI commands, groups and topics alphabetically. (#2488)
- Add support for Open-Sourced user-less services deployment. (#2492)
Bugfixes
- Replace "Spend credits" with "Credits spent" in formatter. (#2435)
Neuro SDK/CLI 21.12.1 (2021-12-22)
Bugfixes
- Fix importing of asynccontextmanager from wrong place
Neuro 21.12.0 (2021-12-22)
Neuro SDK/CLI 21.12.0 (2021-12-21)
Features
-
Merge
config show-quotaintoconfig showCLI command. (#2436) -
Added admin commands to manager orgs and org-clusters:
Managing orgs:
neuro admin get-orgsPrint 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 clusterneuro admin add-org-cluster <cluster_name> <org_name>Add org access to specified clusterneuro admin get-org-cluster-quota <cluster_name> <org_name>Get info about org quota in given clusterneuro admin set-org-cluster-quota [options] <cluster_name> <org_name>Set org cluster quota to given valuesneuro admin set-org-cluster-credits [options] <cluster_name> <org_name>Set org cluster credits to given valueneuro 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 clusterneuro admin add-cluster-user --org <org_name> <cluster_name> <username>Add org member to clusterneuro 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 clusterneuro admin set-user-quota [options] --org <org_name> <cluster_name> <username>Set org member quota in cluster to given valuesneuro admin set-user-credits [options] --org <org_name> <cluster_name> <username>Set org member credits in cluster to given valueneuro admin add-user-credits [options] --org <org_name> <cluster_name> <username>Add given values to org member balance in cluster (#2449)
-
Option
-j/--jobsinneuro admin set-user-quotais now required. Passunlimitedfor setting no limit. Negative values are now rejected. (#2453) -
Option
-c/--creditsinneuro admin set-user-creditsandneuro admin add-user-creditsis now required. Pass "unlimited" inneuro admin set-user-creditsfor setting no limit. Values "infinity", "nan" etc are now rejected. (#2454) -
Added support of organizations.
Current organization is displayed in
neuro config show. It can be changed usingneuro config switch-org. To least
organizations you have access to in each cluster, useneuro config get-clusters.Also you can run job on behalf of organization. By default,
neuro runwill use current organization, but you
can override it usingneuro run --org <some_org>. (#2465)
Bugfixes
- Fix command description for
neuro admin show-cluster-options. (#2434)
Neuro 21.11.3 (2021-11-26)
Neuro SDK/CLI 21.11.4 (2021-11-25)
Bugfixes
- Fix
neuro rm storage:...command
Neuro SDK/CLI 21.11.3 (2021-11-25)
Features
- Add Python 3.10 support. (#2421)
Deprecations and Removals
- Drop Python 3.6 support. (#2421)
Neuro Flow 21.11.2 (2021-11-26)
Features
- Technical release, compatible with the latest SDK/CLI.
Neuro 21.11.2 (2021-11-23)
Neuro SDK/CLI 21.11.2 (2021-11-23)
Features
- Configure version checker settings by plugins. (#2405)
- CLI startup time is 2 times shorter now. (#2417)
Deprecations and Removals
- Deprecate
neuro project initcommand, usecookiecutter gh:neuro-inc/cookiecutter-neuro-projectinstead. (#2418)
Neuro_Extras 21.11.0 (2021-11-23)
Features
-
Allow to build and push docker images to the remote image registries.
The requirement for allowing Kaniko (the underlying tool) to push such images - it should be authenticated.
The registry authention data structure should be in the following form:
{"auths": {"<registry URI>": {"auth": "<base64 encoded '<username>:<password>' string"}}}
(tested with thehttps://index.docker.io/v1/- public DockerHub registry)neuro-extras config build-registy-authcommand might become handy in this case.To attach the target registy AUTH data into the builder job, one might save it as the platform secret and mount into the builder job.
Mounting of the secret could be done either as the ENV variable with the name preffixed byNE_REGISTRY_AUTH, or as the secret file.
In the later case, the ENV variable should also be added with the mentioned above preffix and pointing to the corresponding file. (#328)
Neuro Flow 21.11.0 (2021-11-23)
Features
- Allow
bashandpythoncode blocks in local actions. (#667) - Add
-s/--suffixoption usage hint for cases when the live job launched without it. (#679)
Bugfixes
- Handle cached image status color in
neuro-flow inspect <bake>. (#657) - Fixed parsing of bash and python in mixins (#674)
- Fix parsing of 'bash' and 'python' usage in project config. (#678)
- Fixed logging of filename as "." for github actions. (#681)
Neuro 21.11.1 (2021-11-18)
Neuro SDK/CLI 21.11.1 (2021-11-17)
Features
- Add support of symlinks in
neuro ls. (#2400)
Bugfixes
- Fix sharing buckets using
neuro acl grant. (#2414)
Neuro 21.11.0 (2021-11-08)
Neuro SDK/CLI 21.11.0 (2021-11-08)
Features
- Report job price in
neuro job status, add support of organisation names in jobs. (#2404) - Raise dedicated
NotSupportedErrorfor unsupported REST API calls (#2407)
Neuro 21.10.2 (2021-10-29)
Neuro Flow 21.10.0 (2021-10-27)
Features
-
Added new context called git. It has following attributes:
- ${{ git.sha }} -- SHA of current commit
- ${{ git.branch }} - name of current branch
- ${{ git.tags }} - list of tags that point to current commit
This context is available everywhere both in live and batch mode, but it can only be used
if project's workspace is inside some git repository. (#603) -
Added ternary operator to expressions:
${{ left if condition else right }}will evaluate toleft
ifconditionis True and torightotherwise. (#605) -
Allowed ']]' and '}}' in yaml literal strings. (#607)
-
Added column with batch name to output of
neuro-flow bakes. (#618) -
Enabled detailed automatic logging to file. For locally executed commands, logs will
go to~/.neuro/logsdirectory. Remote executor detailed logs will go tostorage:.flow/logs/<bake_id>/. (#622) -
Added support of non-string types for action inputs. Now, one can specify action input in following way:
inputs: arg1: descr: Input with implicit string type arg2: descr: Input with explicit string type type: str arg2: descr: Input with explicit int type and corresponding default type: int default: 42Supported types are
int,float,bool,str. On action calls side, it's now possible to use
corresponding yaml types as arguments. (#626) -
Added possibility to specify job/bake params via the shortcut
-pfor--param. (#629)
Neuro 21.10.1 (2021-10-26)
Neuro SDK/CLI 21.10.0 (2021-10-25)
Features
-
Added support of open stack as bucket provider. (#2371)
-
Added
blob du <bucket_id_or_name>command to change bucket's storage usage. (#2372) -
Added support of bucket name in uris for bucket that do not belong to current user. (#2385)
-
Added first name, lastname, registered columns to
neuro admin get-cluster-usersoutput. (#2387) -
Added "Spent credits" to add "neuro admin get-cluster-users". Splitted 'quota' into 'balance' and 'quota':
neuro admin set-user-quotachanges onlymax_running_jobsquota.neuro admin set-user-creditschanges onlycreditsbalance of user.neuro admin add-user-creditsupdatescreditsbalance of user by delta. (#2391)
Bugfixes
- Fix fetching zero-size blob from S3 compatible bucket providers. (#2394)
Neuro SDK/CLI 21.9.3 (2021-09-24)
Features
- Added support of blob storage for azure clusters. (#2284)
- Added support of blob storage for gcp clusters. (#2293)
- Added
--read-onlyflag toneuro blob mkcredentialsto allow creation of read-only credentials. (#2295) - Added
neuro blob importbucketcommand to import external bucket. External buckets support
the same operations (neuro blob ls/cp/rm/glob), but it is impossible to generate persistent credentials
for them using "neuro blob mkcredentials". (#2297) - Added
neuro blob sign-url <blob-uri>command for generation of urls that grant temporal access to blob. (#2299) - Added command
neuro blob set-bucket-publicity <bucket> <"public"|"private">to make bucket accessible for unauthorized
users. (#2306) - Undeprecate
neuro job savecommand, we decided to support this functionality in future. (#2336)
Neuro SDK/CLI 21.9.2 (2021-09-02)
- Revert back (#2274);
pip install neuro-cli[awscli,boto3]did not work well.
Neuro SDK/CLI 21.8.30 (2021-08-30)
Features
-
Implement URI autocompletion for "blob:" scheme. (#2273)
-
Provide
pip install neuro-cli[awscli,boto3]extra dependencies for installing the compatible AWS CLI version.-
neuro-cli[awscli]installsawsclipackage. -
neuro-cli[boto3]installsboto3package. -
neuro-cli[awscli,boto3]installs both. (#2274)
-
Neuro SDK/CLI 21.8.27 (2021-08-27)
Features
- Add support of minio provider as a bucket blob for onprem clusters (#2271)
Bugfixes
- Relax aiobotocore requirement; it allows working with the latest aiobotocore without publishing new Neuro SDK. (#2270)
Neuro SDK/CLI 21.8.26 (2021-08-26)
Features
-
Add option
--sincein commandneuro logs. Add parameter since in jobs.monitor(). (#1964) -
Add option
--timestampsin commandneuro logs. Add parameter timestamps in jobs.monitor(). (#2252) -
Implement public URI helpers. (#2253)
-
Reworked blob storage support:
Bucket management commands:
- use
neuro blob mkbucketto create new bucket - use
neuro blob lsbucketto list your buckets - use
neuro blob statbucket <bucket_id>to retrieve info about single bucket - use
neuro blob rmbucket <bucket_id>to delete bucket. Note that you can only delete empty buckets.
Users can name buckets objects. The name should be unique between users buckets and can be used
instead of bucket id.Bucket contents management commands:
- use
neuro blob ls blob:<bucket_id>/<path_in_bucket>to list bucket contents. Option-r
disables file system emulation and displays all keys that start with <path_in_bucket>. - use
neuro blob glob blob:<bucket_id>/<glob_pattern>to glob search objects in buckets.
For example,blob:my_bucket/**/*.txtpattern will match all.txtfiles inmy_bucket
bucket. - use
neuro blob cp <src_uri> <dst_uri>to copy data from/to bucket. - use
neuro blob rm blob:<bucket_id>/<path_in_bucket>to delete elements from bucket. (#2258)
- use
-
Implement URI autocompletion for bash shell. (#2259)
-
Added way to create persistent credentials to buckets to use in outside of the platform:
- use
neuro blob mkcredentials <bucket1_id> <bucket2_id> ...to create new credentials for specified buckets - use
neuro blob lscredentialsto list your buckets credentials - use
neuro blob statcredentials <credentials_id>to retrieve info about single bucket credentials - use
neuro blob rmbucket <credentials_id>to delete bucket credentials.
Users can name buckets credentials. The name should be unique between users buckets credentials and can be used
instead of bucket credentials id. (#2264) - use
Deprecations and Removals
- Deprecate
neuro run IMAGE CMD, useneuro run IMAGE -- CMDinstead. The same forneuro execcommand. (#2260) - Remove deprecated options older than 6 months. (#2262)
Neuro SDK/CLI 21.8.12 (2021-08-12)
Features
-
Added possibility to disable PyPi version check via environment variable 'NEURO_CLI_DISABLE_PYPI_VERSION_CHECK'. (#2237)
-
Add parameter separator in jobs.monitor(). (#2239)
-
Support URI autocompletion in storage commands for ZSH shell. (#2248)
Deprecations and Removals
neuro savecommand is deprecated and will be removed in future CLI release. (#2249)
Neuro SDK/CLI 21.7.29 (2021-07-29)
Bugfixes
- Fix config permission bits for --pass-config mode (#2233)
Deprecations and Removals
- Drop legacy code that puts configuration files for pass-config on storage. (#2233)
Neuro SDK/CLI 21.7.28 (2021-07-28)
Features
- Support VCD cluster config in generate-cluster-config command. (#2193)
- Enabled writing of full logs for each CLI run to a file. Logs are generated under
~/.neuro/logsfolder and
automatically removed after 3 days. (#2211) - Added
--clusteroption toneuro runcommand andneuro disk,neuro secretcommand groups. This option
allows to perform actions for a specific cluster instead of current one. (#2225)
Bugfixes
_Admin.set_user_quotamethod is fixed for cases, when the amount of credits equals to zero. (#2229)- Recover cursor after an abnormal exit (Ctrl-C). (#2231)
Neuro SDK/CLI 21.7.9 (2021-07-09)
Features
-
All asynchronous iterators returned by API support now an asynchronous manager protocol. It is strongly preferable to use "asyn with" before iterating them. For example::
async with client.jobs.list() as jobs: async for job in jobs: print(job.id) (#2192) -
Added
neuro storage dfcommand that allows to retrieve cluster's storage disk usage. (#2201)
Bugfixes
- Removed additional '\n' from output of commands that print tokens. (#2200)
Neuro SDK/CLI 21.6.23 (2021-06-23)
Features
- Introduce NDJSONError exception, raise it instead of bare Exception in case of error in ndjson stream. (#2187)
Bugfixes
- Preserve volumes order in
client.parse.volumes(...)call. (#2183)
Neuro SDK/CLI 21.6.17 (2021-06-17)
Bugfixes
- Expose
neuro_sdk.EnvParseResultandneuro_sdk.VolumeParseResultnames. (#2177)
Neuro SDK/CLI 21.6.16 (2021-06-16)
Features
- Dropped
roleargument fromneuro service-account create: platform automatically generates
new role for service account without any permissions. (#2167)
Neuro SDK/CLI 21.6.9 (2021-06-09)
Bugfixes
- Add missing requirement to
packaging. (#2160)
Neuro SDK/CLI 21.6.3 (2021-06-03)
Features
-
Add support of
--ownerand--nameoptions toneuro image ls. (#2104) -
Add option
--clusterin commandsneuro ps,neuro topandneuro images. (#2125) -
Removed support of old runtime quota:
neuro config show-quotashows credits and max parallel jobsneuro admin add-user-quota/set-user-quotaonly support credits and max parallel jobs- Added new command
neuro admin get-user-quotato print user quota neuro admin get-cluster-usernow prints table with quota info for each user (#2140)
-
Added
neuro service-accountcommand group. The service account allow to create auth token that can be used
for integration with third-party services.neuro service-account create --name optional-name ROLEcreates new service accountneuro service-account lslists service accountsneuro service-account get ID_OR_NAMEretrives single service accountnuero service-account rm ID_OR_NAMEremoves service account and revokes token. (#2147)
Neuro SDK/CLI 21.5.14 (2021-05-14)
Features
-
Ignore files in parent directories are now used when upload a directory to storage or blob storage. (#1901)
-
Add spinners to the some commands that take time to execute. (#2105)
-
All job related commands support now jobs on other clusters. Commands
neuro exec,neuro port-forward,neuro logsandneuro job saveonly support jobs on other clusters if they are specified by URI (jobs on the current cluster can be also specified by bare ID or name). (#2116)
Bugfixes
-
Provide forward compatibility with click 8.0 (#2126)
-
Fix hints for 'neuro run' command. (#2127)
-
Fix compatibility with click==8.0. (#2126)
Neuro SDK/CLI 21.4.17 (2021-04-17)
Features
-
Commands
neuro psandneuro topsupport now outputting several fields in one table cell. By default fields ID and NAME and fields STATUS and WHEN are merged. This saves horisontal space and improves output of long fields (e.g. COMMAND, DESCRIPTION or TAGS). (#2062) -
Added automatic re-attach if container is still alive after
neuro run/neuro attachdisconnects. (#2085) -
Added warning about actual privilege level if
neuro grantgrants privilege less then user already has. (#2092)
Bugfixes
- Fixed unexpected behavior in
neuro admin update-resource-presetwhen working with existing preset:
Now there are two commands:neuro admin add-resource-presetto add new preset, options use default values if not specifiedneuro admin update-resource-presetto update existing preset, options use previous values if not specified
Also droppedcluster_nameargument to fix bug when presets were overwritten by active cluster presets. (#2091)
Neuro SDK/CLI 21.4.13 (2021-04-13)
Features
- Added option
--shareinneuro job run. It allows to share a created job with specified user or role. (#2079)
Bugfixes
- Fixed handling jobs with
--pass-configinneuro job generate-run-command. (#2074)
Neuro SDK/CLI 21.4.2 (2021-04-02)
Bugfixes
- Bump pinned rich version to >=10.0.1 (#2072)
Neuro SDK/CLI 21.4.1 (2021-04-01)
Features
-
Allow bumping jobs life span using
neuro jobs bump-life-span <timedelta>. (#2020) -
Make a job status reason always printed by neuro status if it is available. (#2047)
-
Add support of automatic re-login after config errors. This allows to upgrade
to a new CLI version without manual re-login. (#2048) -
Made more precise datetime formatting for neuro status: now hours and minutes are always printed. Seconds are printed
for event that happened in the last hour. (#2053) -
Storage operations support now URIs with cluster names different from the current cluster name. You can now list or copy to/from other cluster's storage without switching the current cluster name. (#2054)
-
Added printing of ids of removed disk in
neuro disk rm. (#2056) -
Allow to specify date and time in --since/--until relatively to current moment. For example,
neuro ps --since 1dwill show jobs that were created during last day. (#2059) -
Image operations support now URIs with cluster names different from the current cluster name. (#2066)
-
Added hint about headless login when
neuro loginexecutes in non-GUI environment. (#2068)
Bugfixes
-
Do not add implicit '\n's to
neuro job generate_run_command <job-id>command output. (#2034) -
Fix bad formatting in
neuro runcommand. (#2055) -
Do not kill a non-tty job when running in non-tty mode automatically.
This allows to exit fromneuro run ... | teeusing^Cwithout killing a job. (#2063)
Neuro SDK/CLI 21.3.3 (2021-03-03)
Features
-
Added option
--formatinneuro topfor specifying the output columns. It is similar to option--formatofneuro ps, but support several additional columns. (#2000) -
Added filtering options in
neuro top:--owner,--name,--tag,--description,--sinceand--until. They are similar to corresponding options inneuro ps. By default shown only jobs of the current user, specify--owner=ALLto show jobs of all users. (#2001) -
Add option
--sortinneuro top. (#2002) -
Drop cluster_name and description from default output of
neuro pscommand. (#2009) -
Allow deletion images without tag. Support multiple arguments for
neuro image rmcommand. (#2010)
Bugfixes
- Support job statuses "suspended" and "unknown" in
neuro psandneuro top. (#2011)
Neuro SDK/CLI 21.2.19 (2021-02-19)
Bugfixes
- Fixed parsing of huge job payloads. (#2004)
Neuro SDK/CLI 21.2.16 (2021-02-16)
Features
-
Added support of named disks:
- create new disk by
neuro disk create --name <disk-name> STORAGEcommand - name can be used to get/delete disk:
neuro disk get <disk-name>orneuro disk delete <disk-name> - name can be used to mount disk:
neuro run -v disk:<disk-name>:/mnt/disk ...(#1983)
- create new disk by
-
Added printing of job id when
neuro floworneuro attachexits. (#1993) -
Added "Life span ends" field to
neuro status <job-id>. (#1994) -
Now all datetime fields are printed in "humanized form". Use
neuro --iso-datetime-format <command> ...to
force ISO 8601 format. (#1995) -
Added recovering of attachment to job after internet connection issue in
neuro attachandneuro run. (#1996)
Neuro SDK/CLI 21.2.11 (2021-02-11)
Features
-
neuro topsupports now multiple jobs. If multiple jobs is specified at command line, it outputs a table for that jobs. If no jobs are specified, it outputs all active user's job. (#418) -
Added private option
--x-trace-allwhich forces distribute tracing. (#1973) -
Add
neuro job generate-run-command <job-id-or-name>to simplify reruning of jobs. (#1977) -
Added new options to
neuro ps:
--distinct: Show only first job if names are same.
--recent-first/--recent-last: Show newer jobs first or last (#1981)
Deprecations and Removals
- Soft-deprecate
neuro job tagscommand. (#1840)
Neuro SDK/CLI 21.1.13 (2021-01-13)
Features
-
Removed support of deprecated
--status=allinneuro ps. Use--allinstead. (#1883) -
Refresh config after resource presets are updated. (#1899)
Bugfixes
-
Don't open browser on
login-with-token. (#1748) -
Suppress non-critical neuro configuration database errors. (#1816)
-
Fixed unintentional interpretation of sequences like
:+1and[b]in descriptions, commands, paths, URIs, etc when output on the console. (#1917)
Neuro SDK/CLI 20.12.16 (2020-12-16)
Bugfixes
- Fix unstable imports of
richtool. (#1911)
Neuro SDK/CLI 20.12.14 (2020-12-14)
Features
- Extract
neuromation.apiintoneuro-sdkpackage, renameneuromationtoneuro-cli. (#1892)
Bugfixes
-
Generating the URI string for
RemoteImagenow correctly escapes special characters like "#", "%", "?" in image name and tag. (#1895) -
Fixed conflict between logging and showing progress in
neuro cp -vv. Use therichlibrary for outputting colored logs. (#1897)
Neuromation 20.12.7 (2020-12-07)
Features
-
Added --privileged flag to
neuro run. Added corresponding argumentprivilegedtojobs.start. (#1879) -
Added Disk life-span information to the
neuro disk ls --long-formatandneuro disk getcommands. (#1880)
Bugfixes
- Added support of filtering by statuses "cancelled" and "suspended" in
neuro ps. (#1881)
Neuromation 20.12.2 (2020-12-02)
Features
-
Add
-loption toneuro image tagsfor long output format (#1855) -
Add
-fflag toneuro image rmto force delete images that have multiple tag references (#1828) -
Enable display of non-zero restarts count for all jobs (previously only jobs with proper --restart-policy had this field). (#1859)
-
Added cluster resource presets management commands.
AddedPreemptible Nodecolumn in resource presets format inneuro config show. (#1863) -
Pass preset instead of container resources to job api. (#1864)
-
neuro blob cpuses now partial read when retry to download a blob. (#1865) -
Change jobs capacity API endpoint. (#1872)
-
Add disk column to
admin get-clusterscommand. (#1873) -
Added options
--updateand--continuefor commandneuro blob cp. Added optional boolean parametersupdateandcontinue_to the corresponding API. (#1875)
Bugfixes
- Fixed parsing file modification time in Blob Storage. (#1874)
Neuromation 20.11.18 (2020-11-18)
Features
-
Moved pass_config option to API. Now it uses config completely encoded into ENV variable. (#1814)
-
Added support of max running jobs quota. The
neuro admin set-user-quota -j <count>command configures
this quota for user. By default, a new job cannot be created after the quota is reached, but the--wait-for-seat
flag allows creating a job that will wait for another job to stop. (#1827) -
When the connection is lost during transferring files
neuro cpretries now only sending and retrieving new data instead of starting file operation from the start. Added optional parameters offset and size in methodstorage.open()for partial reading. Added methodstorage.write()for overwriting the part of the file. (#1831) -
Added option
--continuefor commandneuro cp.
It specified, copy only the part of the source file
past the end of the destination file and append it
to the destination file if the destination file is
newer and not longer than the source file.
Otherwise copy the whole file.
Added corresponding keyword-only boolean parametercontinue_to the API. (#1841) -
Add support of
SUSPENDEDjob status. (#1844) -
Added support of
neuro ps --owner ME. This allows to filter current users jobs. (#1845) -
The active cluster name can now be specified in local configuration file. (#1846)
Neuromation 20.11.10 (2020-11-10)
Features
-
Add
neuro image rmcommand for removing images from remote registries (#1770) -
Allowed to share disks. (#1811)
-
Added support of multiple disk removal:
neuro disk rm disk-id-1 disk-id-2works properly now. (#1821) -
Added displaying of restarts count for restartable jobs. Added
restartsfield toJobStatusHistory. (#1822)
Neuromation 20.10.30 (2020-10-30)
Features
- Bump
aiohttpto >= 3.7.2 in the library requirements, drop transient dependenciesmultidictandyarl. Support Python 3.8 and Python 3.9 (#1802)
Neuromation 20.10.22 (2020-10-22)
Features
- Allowed to share secrets. (#1791)
Neuromation 20.10.7 (2020-10-07)
Features
- Made
neuro completion patchidempotent. (#1760)
Bugfixes
- Suppress connection errors when cluster is not available in
neuro config show. (#1763)
Neuromation 20.9.24 (2020-09-24)
Features
-
Fragment, query, user, password and port parts are not allowed now in URIs (these parts were silently ignored before).
Fixed support of local file paths containing characters like "#", "%", ":", "?", "@" and "~". (#1531) -
Implemented disks management commands. (#1716)
-
neuro runallows now to specify disk volumes using-v disk:<DISK>:<PATH>:<RW_FLAG>. (#1721) -
Added support of
created_atandlast_usagefield of disks. Added--long-formatoption toneuro disk ls. (#1729) -
Memory amount parsing now supports of both
bandBsuffixes for specifying decimal
quantities. Improvedneuro disk createdocs. (#1731) -
Added a
--life-spanargument toneuro disk create. Added alife_spanargument inclient.disks.create(). (#1734) -
Added output to
neuro disk rmandneuro secret rmwhen-v/--verboseglobal flag is set. (#1738) -
Quite mode command
neuro -q disk lsnow prints simple list of disk ids. (#1740) -
Command
neuro image tagsoutputs now a list of tags instead of a list of images. (#1741) -
Added support of
--full-uritoneuro disk get. (#1747) -
Show a deprecation warning for
--life-span=0inneuro runcommand. (#1749) -
Change the color scheme for job statuses. The yellow color is for the cancellation, cyan is for pending jobs. (#1752)
Neuromation 20.9.3 (2020-09-03)
Bugfixes
-
Commands
neuro image lsandneuro image tagsand corresponding APIimages.ls()andimages.tags()can now return more than 100 items. (#1606) -
Make
neuromation.api.SecretFileclass public (#1714)
Neuromation 20.9.2 (2020-09-02)
Features
-
Added support of
CANCELEDstate. (#1696) -
Added support of error messages in streamed delete response. (#1697)
-
Colorize
neuro psoutput. (#1698) -
Added way to destroy browser session by during
neuro logout. (#1699) -
Remove
--volume=ALLoption from CLI and move volume and env variable parsing from CLI module to theParserclass in API (#1707) -
Command
neuro acl listaccepts now a URI prefix for filtering. API functionsusers.get_acl()andusers.get_shares()accept now the uri argument. (#1708) -
neuro runsupports now multiple--env-fileoptions. (#1710)
Neuromation 20.8.19 (2020-08-19)
Features
-
Show add available jobs counts (cluster capacity) in
neuro config showcommand. (#1687) -
Make JobStatus calculation forward-compatible;
JobStatus.UNKNOWNis returned for
unknown statuses but the code doesn't raiseValueErrorat least. (#1688)
Neuromation 20.8.14 (2020-08-14)
- Pin
yarlversion dependency to 1.5.1+.
Neuromation 20.8.13 (2020-08-13)
Features
-
Implement
FileStatus.uriproperty. (#1648) -
Add support of plugin-defined config parameters (#1657)
-
Added
find_project_rootfunction (#1660) -
Added
neuro rm --progressandprogressargument toStorage.rmfor tracking delete progress (#1664) -
Added
internal_hostname_namedtoJobDescriptionand to output ofneuro job status. (#1675) -
Added logging of
X-Errorerror description inneuro port-forward. (#1676) -
Added printing of documentation link to
nuero logincommand (#1680) -
Added
neuro admin show-cluster-optionscommand for displaying possible cluster configuration options. (#1681)
Neuromation 20.7.28 (2020-07-28)
Features
-
neuro pssupports now columns "created", "started" and "finished" (hidden by default). (#1020) -
neuro statusshows now the job's http port. (#1375) -
Long list of tags for
neuro statusis now wrapped. (#1408) -
neuro pssupports now the "life_span" column (hidden by default). (#1448) -
Command aliases are now supported if not logged in. (#1480)
-
Added support of the
--schedule-timeoutoption inneuro run. (#1499) -
Added commands for adding and removing roles:
neuro acl add-roleandneuro acl remove-role. (#1582) -
Support expansion of the user home directory ("~") in the file path argument in
neuro secret add. (#1610) -
Put
--helpoption first in the help output for a command or command group (#1627) -
Officially support Python 3.8. (#1638)
-
Create a topic about secrets management and usage. (#1640)
Bugfixes
-
Fixed "division by zero" error when copy from
/dev/stdinto storage. (#1129) -
Fixed support of local images whose name starts with Neuro registry prefix, e.g.
registry.neu.ro/alice/imagename. (#1159) -
Fixed support of relative image URIs with numeric name, like
image:5000. (#1631) -
When resolve job URI with other user's name and job name (like
job:/bob/test-name), the owner name no longer ignored when the shared job is not found. (#1633)
Deprecations and Removals
- Removed support of
--volume=HOMEinneuro run. (#1202)
Neuromation 20.7.14 (2020-07-14)
Features
-
Implement secrets management commands. (#1545)
-
neuro runallows now to specify secrets: either as a file-v secret:<KEY>:<PATH>or as an environment variable-e <NAME>=secret:<KEY>. (#1558) -
Support azure cluster config file generation. (#1577)
-
Implement
--port-forwardoption forrunandattachcommands. (#1601) -
Take Secrets Service URL from
/config. (#1607)
Deprecations and Removals
- Deprecate and hide
submitcommand. (#1602)
Neuromation 20.7.9 (2020-07-09)
Bugfixes
-
Always set "LESS=-R" env variable to fix outputs with scrolling, e.g. "neuro help" (#1595)
-
Fix a warning raised by
neuro job port-forwardcommand on Python 3.6 (#1592)
Neuromation 20.7.3 (2020-07-03)
Bugfixes
- Increase timeout for waiting for jobs exit after finishing attached session from 15
seconds to 15 minutes. (#1584)
Neuromation 20.6.23 (2020-06-23)
Features
-
A
.neuroignorefile specifies files thatneuro cpshould ignore when upload directories to the storage or object storage. Syntax and semantic are similar to.gitignorefiles. (#1446) -
API:
Client.jobs.run()supports now relative storage URIs for volumes. (#1464) -
Explicit options
--excludeand--includeno longer disable the defaults from the storage.cp-exclude configuration variable. Use explicit--exclude="*" or --include="*"to override default patterns. (#1489) -
Support leading and trailing slashes (
/) in filters. Leading slash prevents matching in subdirectories, e.g./*.txtmatchesspam.txt, but notdir/spam.txt, while*.txtmatches both of them. Patterns with trailing slash match only directories, while patterns without trailing slash match both directories and files. (#1490) -
Implement attach/exec/interactive-run using WebSockets. (#1497)
-
Implement port forwarding over WebSockets. (#1555)
-
Added the
--exclude-from-filesoption inneuro cp.API: Added the optional parameter
ignore_file_namesin theupload_dir()methods ofstorageandblob_storage. (#1560)
Bugfixes
- Fix swallowing underscores in
neuro status. (#1565)
Deprecations and Removals
- Drop deprected and hidden
neuro storage loadcommand. (#1542)
Neuromation 20.6.10 (2020-06-10)
Bugfixes
- Suppress annoying message about improperly handled GeneratorExit exception. (#1525)
Neuromation 20.6.2 (2020-06-02)
Features
-
API:
Storage.ls()is an asynchronous generator now. (#1457) -
Added the
--restartoption toneuro runandneuro submitand API. (#1459) -
API:
Jobs.list()is an asynchronous generator now. (#1473) -
neuro psnow outputs local date instead of UTC and interprets--sinceand--untiloptions as local time if the timezone is not specified. (#1477) -
autocomplete job name/id (#1485)
-
Unencodable characters are now replaced with
?orU+FFFEwhen output to the stdout. (#1502)
Bugfixes
-
Fixed downloading a file when it is restarted for some reasons. The newly downloaded data no longer appended to a previously downloaded data, but overwrites it. (#1521)
-
Fixed parsing image URIs with the single slash after scheme, like
image:/otheruser/imagename. (#1505)
Neuromation 20.4.15 (2020-04-15)
Features
- Added
--sinceand--untiloptions toneuro ps. (#1461)
Bugfixes
- Make exit code of
job runcommand more reliable. (#1470)
Neuromation 20.4.6 (2020-04-06)
Features
-
Commands
neuro ps,neuro job status,nauro image listandneuro acl listoutput now URIs in the short form if possible. Use the new--full-urioption to get full qualified URIs. (#1330) -
Changed interpretatation of cluster related URIs (with schemes
storage:,image:andjob:) with missed host and path started with/.storage:/user/pathis expanded now tostorage://{defaultcluster}/user/path, so you do not need to specify the cluster name when refer to other user's resources on the same cluster. (#1424) -
Implement
neuro storage treecommand for displaying the directory tree on storage. (#1435) -
Filter patterns are now more compatible with
.gitignore. Added support of**which matches zero or more path components.?and*no longer match/. Patterns which does not contain/at the beginning or middle matches now files in subdirectories. (#1444)
Neuromation 20.3.23 (2020-03-23)
Bugfixes
- Bump
typing_extensionsdependency version to satisfy CLI requirements. (#1421)
Neuromation 20.3.20 (2020-03-20)
Bugfixes
- Fix
--pass-configerror: File exists: '/root/.neuro'. (#1415)
Neuromation 20.3.18 (2020-03-18)
Features
-
Support job run-time limit:
neuro run --life-span "1d2h3m". (#1325) -
For cluster-specific resources (with schemes
storage,imageandjob) client now use URIs containing the cluster name, e.g.storage://{clustername}/{username}/{path}instead ofstorage://{username}/{path}. Relative URIstorage:{path}will be expanded to absolute URI containing the current cluster name and the user name:storage://{clustername}/{username}/{path}. Same forimageandjobschemes. (#1341) -
Added 'neuro image ls -l' option, which also prints Docker URL-s (#1354)
-
Added the
-uoption inneuro acl listto specify a role or user to which resources are available and for which they are shared. (#1355) -
Sort
neuro admin get-cluster-usersby name. (#1359) -
Steal config files on
neuro job --pass-config. (#1361) -
Support hidden files on the storage. Hide names started with a dot by default, provide
neuro ls --alloption to show all files. (#1362) -
Add HTTP tracing of neuro login commands. (#1387)
-
Support job tags:
neuro run --tag=experiment-1,neuro ps --tag=experiment-1. (#1393) -
Support job tags listing:
neuro job tags. (#1396) -
Optionally display job's tags in
neuro ps(the feature needs to be explicitly enabled in.neuro.tomlconfig file). (#1406)
Bugfixes
-
Fix the alias finding routine when user is not logged in. (#1360)
-
neuro killexits now non-zero code if it failed to kill any job in the list. (#1272) -
Support un-quoted commands for neuro-exec:
neuro exec bash -c "ls && pwd"is now a valid syntax. (#1321)
Neuromation 20.2.24 (2020-02-24)
Features
-
Support custom columns format for
neuro pscommand. (#1288) -
Support custom aliases. (#1320)
-
Removed support of
~in URIs (likestorage://~/path/to). Relative URIs can be used instead (likestorage:path/to). Support of tilde in local file paths (like~/path/to) has been preserved. (#1329)
Neuromation 20.01.22 (2020-01-22)
Features
-
--env-filenow allows blank lines and comments (lines starting with "#") in the file. (#1208) -
Send the usage statistics to Google Analytics (#1286)
-
Use Sqlite for saving the
~/.neuro/dbconfiguration file. (#1298)
Bugfixes
-
Fix columns width and aligning for
neurp ps --format=<>command. (#1302) -
Fix ps-format documentation issues. (#1303)
-
Parameters specified in ps-format now always override default values.
widthtakes priority overminandmax,maxtakes priority overmin. (#1310)
Neuromation 20.01.15 (2020-01-15)
Features
-
Add
neuro admin add-user-quotaandneuro admin set-user-quotacommands to control user quotas (#1142) -
Added options
--excludeand--includeinneuro storage cp. (#1182) -
Adjust NAME column of
neuro psso that grep by name works. (#1189) -
Read
neuro ps --formatspec from config files if present. (#1294) -
Read
neuro cpfilters from user configuration file. (#1295)
Neuromation 19.12.19 (2019-12-19)
Features
-
Now
neuro imagesdo not require the installed Docker. (#1071) -
Implement
neuro config get-clusterscommand. (#1177) -
Convert configuration file into configuration directory, now it is
~/.neurofolder. (#1183) -
Implement
neuro config switch-clusterfor switching between available clusters. (#1217) -
Implement
neuro admin get-clusterscommand. (#1223) -
Implement
neuro admin add-clustercommand. (#1224) -
Add
neuro admin generate-cluster-configcommand. (#1227) -
neuro project initnow supports argument to set default value for generated project directory (#1230)
Bugfixes
- Correctly process both quoted command arguments (
neuro run python:latest "python3 -c 'import os'") as well as unquoted version (neuro run python:latest python3 -c 'import os'`). (#1229)
Neuromation 19.11.20 (2019-11-20)
Features
-
Trace sent HTTP requests and received replies to stderr if
--traceflag is passed. (#467) -
Display
Clusterfield for job status and listing commands. (#874) -
Display
Entrypointfield for job status command. (#924) -
Display volumes information for
neuro statuscommand. (#1003) -
Option
--volume=HOMEdeprecated. (#1009) -
Provide client.presets property, update docs. (#1078)
-
Retry storage operations in case of some errors. (#1107)
-
neuro killwill continue work if multiple jobs specified but you haven't required permissions for some of them. (#1122) -
Introduce
neuro config show-quota. (#1141) -
Use pager for long lists. (#1152)
-
Add global option '--hide-token/--no-hide-token' to be used together with '--trace' for preventing the user's token from being printed to stderr for safety reasons. (#1158)
-
Suppress security checks for config files if NEUROMATION_TRUSTED_CONFIG_PATH environment variable is on. (#1173)
Bugfixes
-
When running a job with
--detachoptionneuronow returns an error status if job fails to start at all (e.g., when cluster scale up fails). If job starts successfully (regardless of its run result)neuro runwith--detachreturns 0 like before. (#1059) -
Provide default arguments for api.Resources constructor to keep broken backward compatibility. (#1070)
-
Fix help message for
neuro project init: in fact, the command does not accept an argument. (#1080) -
Process 502 Bad Gateway as a separate exception, don't miss it with 400 Bad Request. (#1111)
-
Wait for
ThreadPoolExecutorfinish befor exit from the program. (#1144)
Neuromation 19.9.23 (2019-09-23)
Features
-
Introduce
neuro project initfor scaffolding an empty project. (#1043) -
neuro cp -rnow works with non-directories. (#1053) -
Disable logging of annoying SSL errors. (#1065)
-
Make image commands work on Windows. (#1067)
-
Fix bug with job-name resolution introduced in release 19.8.19: do not print annoying warning messages if more than one job with specified name was found. (#1034)
-
Fix
neuro job savetiming out too early. (#1062)
Neuromation 19.9.10 (2019-09-10)
Features
- Improved displaying a progress of copying many files. (#1034)
Deprecations and Removals
- Deprecate
neuro storage loadcommand. (#1028)
Neuromation 19.9.2 (2019-09-02)
Features
-
Due to
certifiupdate delays, show certifi package error not earlier than two weeks after the latest version was released. (#944) -
Support streaming output for
neuro-savecommand. (#946) -
Implement mounting all available volumes:
neuro run --volume=ALL. (#974) -
Uploading/downloading of a directory containing many small files is now 4-10 times faster. (#981)
-
Support Cloud TPU: new cli options
--tpu-type,--tpu-sw-versionadded. (#982) -
Support job operations via job-URI (e.g.,
neuro status job://owner-name/job-name). (#988) -
Support job filtering by owner:
neuro ps -o user-1 --owner=user-2. (#990) -
Added the
--updateoption inneuro storage cp. It makes the command copying the source file only when it is newer than the destination file or when the destination file is missing. (#1007) -
Added the
-d(--directory) option inneuro storage lswhich makes the command to list directories themselves, not their contents. (#1012)
Neuromation 19.8.23 (2019-08-23)
Features
FileStatus.permissionnow isAction, wasstr. (#963)
Bugfixes
- Fix regression: restore port-forward functionality. (#979)
Neuromation 19.8.19 (2019-08-19)
Features
-
Change default interactivity option for
neuro exec: by default, interactive--ttywill be used. (#942) -
Use
Optional[datetime]inJobStatusHistory.created_at,.started_at,.finished_atinstead ofstr. (#955) -
neuro storage cpis now up to 2 times faster for a directory with many small files. (#958) -
Refactor port forwarding api to use async context manager for controlling a time of port
forwarding process. (#959)
Bugfixes
- Support remote images with registry
host:port. (#939)
Neuromation 19.8.1 (2019-08-01)
Features
-
The
-p/--non-preemptibleparameter forneuro runhas been removed in favor in embedding it into presets coming from the server. (#928) -
Show progress for
neuro cpby default. (#933) -
Use dataclasses in image progress API (#935)
Neuromation 19.7.26 (2019-07-26)
Features
-
Add option
ps --all, deprecateps -s all. (#538) -
Forbid mixing arguments and CLI options in
run,submitandexeccommands. Options (parameters starting from dash or double dash, e.g.-nand--name) should prepend arguments (e.g.image:ubuntu:latest). All tailed options belong to executed container command, not to neuro CLI itself. (#927)
Neuromation 19.7.17 (2019-07-17)
Features
-
The behavior of
neuro storage mvis now closer to the behavior of themvcommand. It moves now files inside the target directory if it exists and moves a file under the new name otherwise. Added also options--target-directory(-t) and--no-target-directory(-T). (#203) -
neuro job submitandneuro job runcommand now support--pass-configoption. This option ensures your local neuromation config file is uploaded to your job allowing you to executreneurocommands from the container. (#827) -
Add
neuro image tagscommand to list all tags for a given image (#852) -
Stabilize jobs API (#879)
-
neuro storage cp,neuro storage mvandneuro storage rmsupport now globbing for source arguments. Globbing can be disabled by specifying new option--no-glob. Added commandneuro storage globwhich lists resources matching patterns. (#889)
Neuromation 19.7.4 (2019-07-04)
Features
-
Implemented
neuro job browse. Added the--browseflag toneuro job submitandneuro job run. (#571) -
Added the global
--quietoption, opposite to--verbose. Both options are additive. The--quiteoptions forneuro jobandneuro imageare deprecated now. (#848) -
Drop
neuromation.api.NetworkPortForwardingfor the sake ofneuromation.api.HTTPPort(#861) -
The output of "storage" commands in verbose mode is now more similar to the output of corresponding POSIX command. In particular
neuro -v storage cp -routputs a line for every copied file or directory. (#869) -
The behavior of the
neuro storage cpis now closer to the behavior of thecpcommand. It now copies files inside the target directory if it exists and copies a file under the new name otherwise. Added also options--target-directory(-t) and--no-target-directory(-T). (#870)
Bugfixes
- Fix certifi upgrade suggestion text. (#845)
Neuromation 19.6.12 (2019-06-12)
Features
- Make non-preemtible mode default. (#829)
Neuromation 19.6.10 (2019-06-10)
Bugfixes
- Improve storage operations stability by supporting sticky sessions. (#832)
Neuromation 19.6.5 (2019-06-05)
Bugfixes
- Relax pyyaml version requirement to don't force users to upgrade it if pyyaml was installed by anaconda or another non-pip installer. (#828)
Neuromation 19.6.4 (2019-06-04)
Bugfixes
- Don't run version checks if config is not loaded by CLI command. (#826)
Neuromation 19.6.3 (2019-06-03)
Features
-
Changes in
neuro store mkdirbehavior: fails if the directory already exists or parent directories do not exist. Add option--parentsto make parent directories as needed and ignore existing directories. (#131) -
Changes in
neuro store rmbehavior: removes only files by default, add option--recursiveto remove directories. (#354) -
Storage commands (
neuro storage ls,neuro storage cp,neuro storage mv,neuro storage rm) accept now variable number of arguments. This allows to copy or remove several files by one command. (#784) -
Implement
neuro config login-headlesscommand. (#793) -
Changes in interpretation URIs with absolute path and without host name.
storage:///foo/barmeans now the same asstorage://foo/barinstead ofstorage://{currentuser}/foo/bar, andstorage:///can be used for access to the storage root directory. (#808) -
neuro storage cpnow supports copying to/from non-regular files like character devices and named pipes. In particular this allows to output the file to the stdout or get the input from the stdin (/dev/stdoutand/dev/stdinon Linux,CONon Windows). (#813) -
Relax certifi required version. Raise a warning if the package should be updated. (#819)
Bugfixes
- Allow to logout even if config file is broken. (#792)
Neuromation 19.5.13 (2019-05-13)
Features
-
Print exposed HTTP for named jobs (#736)
-
Support retrieving server config for authorized users. (#766)
Neuromation 19.4.23 (2019-04-23)
Features
- Implement job run command. (#652)
Bugfixes
- Fix image name parser to substitute lastest tag automatically. (#729)
Neuromation 19.4.16 (2019-04-16)
Features
-
New option
--neuromation-configfor using alternative config file location. Environment variableNEUROMATION_CONFIGcan be used as option.
New commandneuro config dockerallows to usedocker image push/pullcommands with platform registry. (#381) -
neuro port-forwardcommand now accepts multiple local-remote port pairs in order to forward several ports by a single command. (#632) -
Support job names. (#648)
-
Make progress argument for storage API optional. (#687)
-
Rename neuromation.client to neuromation.api (#688)
-
Implement
neuro config login-with-token TOKEN URLcommand. (#712)
Bugfixes
-
Don't allow to submit image names starting with dash. (#526)
-
Respect
--network-timeoutoption inlogsandcpoperations. (#703)
Deprecations and Removals
- Remove deprecated functionality:
neuro model,neuro config id_rsaandneuro job submit --sshoption. (#700)
Neuromation 0.7.2 (2019-03-25)
Features
- Change the default API endpoint to
https://staging.neu.ro/api/v1(#666)
Neuromation 0.7.1 (2019-03-15)
Bugfixes
- Fix incorrect
--volumeparsing under windows (#635)
Neuromation 0.7.0 (2019-03-14)
Features
- New flag
--http-auth/--no-http-authwhich controls authentication for forwarded HTTP port. Enabled by default. (#604)
Neuromation 0.6.2 (2019-03-07)
Bugfixes
-
Increase wait time to finish on POSIX platforms. It dignificantly decreases a chance of error report after CLI command executions. (#597)
-
Fix forward compatibility with platform server. (#599)
Neuromation 0.6.1 (2019-03-04)
Bugfixes
-
Close version checker properly in case of error in a command execution. (#586)
-
Pin aiohttp to 3.5+ to satisfy minimal supported CLI version. (#587)
Neuromation 0.6.0 (2019-03-01)
Features
-
Extended '/dev/shm' space (
--extshm) turned on by default (#449) -
Add support for server-side job list filtering (speedup of the
neuro ps) (#474) -
Several UX improvements. (#486)
-
neuro store lsnow supports colored output, LS_COLORS(GNU) or LSCOLORS(BSD) environment variable required. (#487) -
Improve shell completion logic, make shell type argument mandatory. (#506)
-
Add Http URL to neuro job submit output (#527)
-
Added neuro port-forward command to forward a port of a job exposed during job submit to a local one. (#535)
-
Support Windows platform (#548)
Bugfixes
Neuromation 0.4.0 (2019-02-12)
Features
-
Check the lastest PyPI neuromation release, suggest to upgrade if PyPI has a newer version. (#308)
-
Changes in
neuro store lsbehavior: display files by columns by default, add option-lfor long output, display one per line for pipes by default. (#427) -
Set up the platform to work with the new platform DNS names. (#495)
Bugfixes
-
Use colored mode only if all stdin, stdout, and stderr are tty. (#473)
-
Improved login error reporting (#477)
Neuromation 0.3.0 (2019-02-01)
Features
-
Add
-p/-Pshortcuts for--preemtible/--non-preemtibleforneuro submitcommand. (#458) -
Wait for job start/failure on job submit. (#356)
-
Support
-vas a shortcut for--volumeinneuro submit ...command. (#383) -
Improve resource URI normalization and print normalized URIs back to the user. (#457)
-
Re-organize CLI commands for better UI/UX experience. Obsolete commands are hidden but still supported. (#460)
Neuromation 0.2.2 (2019-01-31)
Features
-
Add top-level aliases for the most frequent commands. (#439)
-
Better formatting for examples section. (#446)
Bugfixes
-
Bump
clickversion to7.0+. (#437) -
Temporary disable scary logging about unhandled exception. (#438)
-
Fix an error in local path normalization. (#443)
Neuromation 0.2.1 (2019-01-29)
Features
-
Implement
neuro job top(#412) -
Pretty format output for
neuro config showcommand, print current authentication token byneuro config show-token. (#426) -
Check
~/.nmrcconfig file for strict0o600permissions. (#430)
Deprecations and Removals
- Drop
--tokenand--urlparameters from the root command, useneuro loginandneuro config urlto setup config parameters. (#430)
Neuromation 0.2.0 (2019-01-28)
Features
-
Deep refactor
neuro storecommand and corresponding API client. (#324) -
Default API URL switched to HTTPS for neuro cli (#325)
-
Job resource output formatting for command
neuro job statuschanged (#328) -
neuro image pull/pushcommand improved for support different names/tags for images, introduced 'image://' scheme for image referencing. (#349) -
Implement --show-traceback command line option to show python traceback in case of top-level error (#365)
-
Added new option
--insecurefor storing auth in plain text file instead system keyring. (#366) -
New
neuro image lscommand for listing custom images available on platform repository. (#367) -
Added new command
neuro job execto execute commands in already running job without ssh server. (#373) -
Display Preemptible in job status output (#393)
-
Make the client work on Python 3.7 (#402)
-
Implement
neuro job top(#412)
Deprecations and Removals
-
Jobs datastructure refactored (#320)
-
Removed keyrings.cryptfile from project dependencies. Please remove it self if upgrade neuromation. (#366)
Misc
neuro-extras v21.9.3 (2021-09-03)
Features
- Support Python 3.8 and 3.9 (#249)
neuro-extras v21.7.23 (2021-07-23)
Features
- Reduce neuro-extras image size, add neuro-flow into the image and include GitHub ssh key to known hosts. (#290)
Bugfixes
- Image transfer now works even if it was initiated not from SRC cluster. (#295)
neuro-extras v21.7.2 (2021-07-02)
Features
- Make
neuro-extras data cpaccept preset name and migrate code to useneuro.jobs.startmethod in the SDK (#218)
Bugfixes
- Downgrade Kaniko to v1.3.0 due to OOMKills (#287)
Neuro_Extras 21.3.19 (2021-03-19)
Bugfixes
-
Fix
neuro-extras data transferjob lifespan (set to 10 days), add usage hints, fix seldon init container user ID (#187) -
Fix connection issues in image build jobs by relying on neuro-cli instead of neuro-sdk, add support of job tags for image build jobs. (#205)
Misc
Neuro_Extras 20.12.16 (2020-12-16)
No significant changes.
Neuro_Extras 20.12.15 (2020-12-15)
No significant changes.
Neuro_Extras 20.11.20 (2020-11-20)
No significant changes.
Neuro_Extras 20.11.13 (2020-11-13)
Features
-
Reduce verbosity for image building (to turn it back on:
neuro-extras image build --verbose ...). (#84) -
Add
--presetparameter toneuro-extras image buildsubcommand in order to specify preset (#136) -
Add support for HTTP(S) data ingestion (#150)
Bugfixes
- Speedup image build by Kaniko downgrade to v1.1.0 (COPY layers caching), replace /workspace context dir to /kaniko_context. (#157)
Neuro_Extras 20.11.1 (2020-11-01)
Features
- Bump neuromation to >=20.10.30 (#141)
Neuro_Extras 20.10.28 (2020-10-28)
Bugfixes
-
Fix exit-code for image builder job (#82)
-
Support full storage URI for both SRC and DST in
neuro-extras data transfer(#112) -
Fix data ingestion to/from GCP (move GCS auth to entrypoint) & add hints to CLI commands. (#115)
-
data cp: fix source archive removal if SRC is a local file; add flag for optional TMP folder usage (#118)
-
Fix image transfer: switch cluster properly (#130)
Neuro_Extras v20.10.16 (2020-10-16)
Features
- Add
-c/--compressoption todata cpto support data packing before sending to destination (#38)
Neuro_Extras v20.9.30.2 (2020-09-30)
No significant changes.
Neuro_Extras v20.9.30 (2020-09-30)
Features
- Change image's entrypoint from
neurotobash. (#81)
Neuro_Extras v20.9.29a2 (2020-09-29)
Features
- Add
towncrierfor release notes management (#78)
Neuro Flow 21.9 (2021-09-29)
Features
- Renamed
inheritsyaml property tomixins. (#560) - Added support project level
mixins. Mixins defined inproject.ymlavailable both for live and batch configurations,
so they cannot define any live or batch specific properties. (#562) - Added command
neuro-flow delete-project <project-id>that allows complete removal of project. (#581)
Bugfixes
- Fix crash with global images in batch mode. (#544)
Misc
Neuro Flow 21.7.9 (2021-07-09)
Features
- Added new sections
defaults,images,volumesto theproject.ymlfile. The work the same as the do inlive/batchexcept they are global -- everything defined inproject.ymlapplies to all workflows. (#506)
Neuro Flow 21.7.7 (2021-7-7)
Features
-
Added modules feature: a module is simillar to action but has following differneces:
- only local files support (
ws:scheme), github located modules are forbidden. - the module content has access to workflow global defaults. The default env/volumes/preset
is inherited, and expressions can access top level contexts such asflow.
Calling a module is similar to calling an action, except for use of
moduleproperty
instead ofactionproperty:Live module call:
jobs: test: module: ws:live-module args: arg1: val 1Batch module call:
tasks: - id: test module: ws:batch-module args: arg1: val 1 ``` (#464) - only local files support (
-
Add support of mixins in live and batch mode.
Mixins allow to define and reuse some common parts of jobs in live mode and tasks in batch mode.
To define a mixin, use top levelmixinssections:... mixins: credentials: volumes: - secret:some_key:/var/some_key env: KEY_LOCATION: /var/some_key ...Mixins can define the same properties as "job" and "task" do, except for "id" field in batch mode.
To apply a mixin, useinheritsproperty:... jobs: test_a: inherits: [ credentials ] ...When applied, all fields defined in mixin will be merged into job definition.
You can apply multiple mixins simultaneously. If some of applied mixins share the same property,
or/and it is defined in task, the following rules are applied:- If property is scalar (int/string/bool), then job will use value defined in job definition. If it is absent,
the value from the rightmost of the mixins that define this property will be used:
mixins: mix1: image: example_mix1 mix2: image: example_mix2 jobs: job1: inherits: [mix1, mix2] image: example job2: inherits: [mix1, mix2]The
job1will useexampleimage, andjob2will useexample_mix2image.- If property is list, that all lists will be concatenated.
- If property is dict, that rule for scalars will be applied for dict values separately.
Mixins can inherit from each other:
mixins: mix1: env: TEST: 1 mix2: inherits: [ mix1 ] image: example ``` (#498) - If property is scalar (int/string/bool), then job will use value defined in job definition. If it is absent,
Bugfixes
- Improved performance of
neuro flow bakesit will now print only new rows instead of re-rendering all table (#501)
Neuro Flow 21.6.23 (2021-6-23)
Features
- Implement retry on NDJSON errors (#493)
Neuro Flow 21.6.18.1 (2021-6-18)
Bugfixes
- Fix cache key calculation: now it doesn't depend on top-level contexts but on a task calculated parameters plus "needs" and "state" for stateful actions only.
Neuro Flow 21.6.18 (2021-6-18)
Bugfixes
- Fix READ retry logic: increase delay between retries (was decreasing to zero in
21.6.17 release by mistake).
Neuro Flow 21.6.17 (2021-6-17)
Features
-
Added command to clear cache of a single task:
neuro-flow clear-cache <batch> <task_id>. (#452) -
Added support in live jobs params. The following contexts are now available under
jobs.<job-id>.params:
project,flow,env,tags,volumes,images. (#457) -
Generate default live job name as '--[<MULTI_SUFFIX>]' if not set. (#462)
-
Retry operations inside a batch runner if possible; it increase baking stability. (#483)
Bugfixes
-
Fixed bug when executor ignored bake cancellation. (#449)
-
Fixed wrong filename of action config file in logs. (#450)
-
Fixed missing id of initial job for cached tasks. (#451)
-
Don't attach to live job in dry-run mode. (#463)
Neuro Flow 21.6.2 (2021-6-2)
Bugfixes
- Fixed hanging when executor tried to build an image in batch mode. (#448)
Neuro Flow 21.5.31 (2021-05-31)
Bugfixes
-
Fix broken cache when using images: now remote context dir name is based on image ref instead of random name. (#422)
-
Fix a error that leads to bakes cache check miss even if the record is present in cache actually. (#441)
Neuro Flow 21.5.25 (2021-05-25)
Features
-
Support shared projects. Shared project should have parameters
ownerorroleset inproject.yml. (#373) -
Add bake id to
neuro-flow inspect. (#396) -
Added support of
storage:urls inimages.<image-id>.contextandimages.<image-id>.dockerfile. (#402) -
Added image building functionality to batch mode.
Theimagesyaml section entries withcontextanddockerfileare now allowed
both in batch and batch action config files.
Image build starts automatically when task that uses it is ready to be run. (#412) -
Added automatic creation of parent directories in
neuro-flow uploadcommand. (#416) -
Added cancellation of image build jobs if bake is cancelled or failed. (#423)
-
Added
force_rebuildflag to image section in yaml config. (#424) -
Added new options to neuro-flow bakes:
--since DATE_OR_TIMEDELTAto show bakes that were created after specified moment--until DATE_OR_TIMEDELTAto show bakes that were created before specified moment--recent-first/--recent-lastto alter ordering in the result table (#428)
-
Pre-fetch the last attempt in bakes list to speed up the command. (#429)
Bugfixes
-
Fixed auto-generation of suffixes for multi jobs in live mode. (#415)
-
Fixed overriding param with empty value,
--param name ""works properly now. (#417) -
Fixed EvalError when tried to access
ref,ref_rw,ref_roof volume context. (#418)
Neuro Flow 21.5.19 (2021-05-19)
Bugfixes
- Fix a bug with processing SKIPPED task
Neuro Flow 21.5.17 (2021-05-17)
Features
-
Neuro Flow now uses the dedicated Platform API to store the flow database. The storage is still supported but will be removed in a few months.
-
Added new expressions functions:
values(dict_instance): get values of dictionary (similar to python'sdict_instance.values())str(any): convert any object to stringreplace(string, old, new): replace all occurrences ofoldinstringwithnew.join(separator, array): concatenate array of strings insertingseparatorin between. (#357)
-
Added support of default volumes similar to default env: both in live and batch modes, you can
specify them underdefaultssection:defaults: volumes: - storage:some/dir:/mnt/some/dir - storage:some/another/dir:/mnt/some/another/dir- In live mode such volumes will be added to all jobs.
- In batch mode such volumes will be added to all tasks.
Default volumes are not passed to actions (same as default env). (#359)
-
Added passing of global options (
-v,-q,--show-traceback) to neuro cli and executor. (#360) -
Added
--dry-runflag forneuro-flow runthat enables prints job command instead of running it. (#362) -
Added support of tagging bakes.
To tag a bake:
neuro bake --tag tag1 --tag tag2 batch_nameTo retrieve bakes by tags:
neuro bakes --tag tag1 ``` (#382)
Bugfixes
-
Fixed bug that led to crash in
neuro-flow inspectwhen bake had cached task. (#358) -
Support click 8.0 (#407)
Neuro Flow 21.4.5 (2021-04-05)
Features
-
Mark cached task in
neuro-flow inspect <bake>as "cached" instead of "succeeded". (#318) -
Auto create parent directories in "upload()" expression function. (#319)
-
Add bake_id tag to jobs started by bake inside neuro platform. (#320)
-
Add tags to remote executor jobs. The tags are: "project:project_id", "flow:flow_name", "bake:bake_id",
"remote_executor". (#321) -
Print name of the action in error about unexpected needs entry, for example:
ERROR: Action 'ws:some_action' does not contain task 'wrong_task_name' ``` (#323) -
Added printing of filename in expression evaluation errors. (#324)
-
Dropped
outputs.needsin batch actions. Made all action task results available for calculation action needs.
This avoids confusing behavior when action can succeed even when some of its tasks have failed. (#325) -
Add support of empty list and dict (
[]and{}) in expressions. (#333) -
Added validation of tasks
needsproperty. (#334) -
Added validation of action arguments before starting a bake. (#336)
-
Implemented marking of bake as failed when an error happens during the batch execution. If the error is caused
because of SIGINT, the bake will be marked as cancelled instead of failed. (#338) -
Allow to specify timeout for executor job in yaml and increase default lifespan to 7d. Example:
kind: batch life_span: 30d tasks: ... ``` (#339) -
Add support of local actions inside of batch actions if they do not depend on any remote tasks. (#340)
Bugfixes
- Use 1-based indexes instead of 0-based for lines and columns in error messages. (#335)
Neuro Flow 21.3.17 (2021-03-17)
Bugfixes
- Fix executor restart when there is a action that should be marked as ready. (#315)
Neuro Flow 21.3.3 (2021-03-03)
Features
- Add support of parsing batch params from file. (#295)
Bugfixes
-
Added proper error message for the hosted on GitHub actions, which reference is wrong (URL leads to 404). (#294)
-
Fix processing of bake that has actions that use another bake action. (#302)
Neuro Flow 21.2.16 (2021-02-16)
Bugfixes
- Fixed parsing of needs in actions
Neuro Flow 21.2.11.1 (2021-02-11)
Bugfixes
- Enable restarting of remote executor jobs on failure.
Neuro Flow 21.2.11 (2021-02-11)
Features
- Support dependencies on running tasks along with finished ones in batch mode. (#255)
Bugfixes
- Fix windows path issue. (#261)
Neuro Flow 21.1.4 (2021-01-04)
Features
- Implement
inspect_job()expression function. (#255)
Bugfixes
- Fix ignoring of workdir in batch mode. (#261)
Neuro Flow 20.12.16 (2020-12-16)
Bugfixes
-
Fixed operator precedence: previously all operators had same precedence. Made
orandand
operate as logical operators instead of bitwise. (#239) -
Forbid passing args into a job, volumes into an action etc. (#241)
Neuro Flow 20.12.8 (2020-12-08)
Features
-
Allow schedule timeout parameterization in the flow description; useful in cases, when the job should be launched on scarce resources. (#202)
-
Allow image overwrite by forwarding the
--force-overwriteflag to the underlyingneuro-extras image buildcommand. (#203) -
Support of preset parameterization for image build job; now user could change the hardware environment for image build. (#204)
-
Implement
parse_volume()expression function. (#217) -
Support compound expressions for
volumes,tags,env,port_forwardattributes:jobs: job_a: volumes: "${{ ['ubuntu', volumes.volume_a.ref] }}" ``` (#236)
Neuro Flow 20.11.24 (2020-11-24)
Bugfixes
- Fix
hash_files()function: it is faster, hashes the whole file instead of the first 256 KiB, and includes processed filenames into the hash. (#190)
Neuro Flow 20.11.10 (2020-11-10)
Features
- Rework output of
neuro bakecommand; now with timestamps and progress bars. (#172)
Neuro Flow 20.11.3 (2020-11-03)
Features
-
Added validation of
outputs.needsin batch actions. (#163) -
Store a JSON with live jobs configuration on every run job start. (#170)
-
Implement
lower()andupper()expression functions, e.g.ref: image:${{ lower(flow.project_id) }}:v1.0(#174)
Bugfixes
- Don't raise an error in
neuro-flow runif the remote folder for the project already exists (#184)
Neuro Flow 20.10.26 (2020-10-26)
Features
- Improve inspect command: sort output by task creation time, add columns with task start and task finish times. (#156)
Bugfixes
-
Fix variable substitution for printed text for bake cancellation (#152)
-
Add forgotten restart command (#160)
Neuro Flow 20.10.21 (2020-10-21)
Features
-
Sort bakes by creation time. (#147)
-
Support pass_config: true YAML option for task/job (#151)
Bugfixes
- Ignore hidden files and folders (e.g. .cache) when getting the list of bakes (#146)
Neuro Flow 20.10.19 (2020-10-19)
Features
-
Added
--show-tracebackoption. (#134) -
Tune a message about bake starting (#135)
Bugfixes
-
Fix noisy error report for
neuro kill ALLcommand. (#136) -
Fix invariant by saving both started and finished records for cached task (#139)
Neuro Flow 20.10.16 (2020-10-16)
Features
-
Added --param option to
neuro-flow bakecommand that allows to pass arguments toparamssection
of the config file. (#128) -
Added --param option to
neuro-flow runcommand that allows to pass arguments toparamsection
of the job in config file. (#132) -
Added
upload()function to re-upload volumes just before starting job in live mode. (#133)
Neuro Flow 20.10.14 (2020-10-14)
No significant changes.
Neuro Flow 20.10.12 (2020-10-12)
Bugfixes
-
Fix inspect command when there is a started but not finished action (#122)
-
Fixed not marking cached task as done (#123)