nspcc-dev / gh-push-to-neofs

GitHub action to push things into NeoFS
MIT License
7 stars 2 forks source link

Fails without LIFETIME specified #8

Closed roman-khimov closed 1 year ago

roman-khimov commented 1 year ago

Current Behavior

https://github.com/nspcc-dev/gh-push-to-neofs/actions/runs/6548797941/job/17784274766

usage: push-to-neofs.py [-h] --neofs_domain NEOFS_DOMAIN --wallet WALLET --cid
                        CID [--attributes ATTRIBUTES]
                        [--url_path_prefix URL_PATH_PREFIX] --files-dir
                        FILES_DIR [--lifetime LIFETIME]
                        [--put-timeout PUT_TIMEOUT]
push-to-neofs.py: error: argument --lifetime: invalid int value: ''
Error: Process completed with exit code 2.

Expected Behavior

Uploads/tests working fine without LIFETIME.

Possible Solution

Fix the damn thing.

Steps to Reproduce

Run tests or setup an action user that doesn't set LIFETIME.

roman-khimov commented 1 year ago

Duplicates #7.