nspcc-dev/Publish to NeoFS
This action allows you to publish files, tests reports, static web pages and etc. to NeoFS
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| NEOFS_WALLET | Base64-encoded NEP-6 Neo N3 wallet for NeoFS network access. See the README.md for more information | yes | — |
| NEOFS_WALLET_PASSWORD | N3 wallet password | yes | — |
| NEOFS_ENDPOINT | RPC endpoint for NeoFS node (e.g. grpcs://st1.storage.fs.neo.org:8082 or grpcs://private-node:9090). | no | grpcs://st1.storage.fs.neo.org:8082 |
| HTTP_URL_PREFIX | Full URL prefix used to build OUTPUT_CONTAINER_URL (e.g. https://rest.fs.neo.org/MYCID/ or https://reports.example.com/). If not set, the container URL will be built as https://rest.fs.neo.org/$STORE_OBJECTS_CID/ and if URL_PREFIX is set, it is appended to https://rest.fs.neo.org/$STORE_OBJECTS_CID/$URL_PREFIX/. | no | "" |
| STORE_OBJECTS_CID | Container ID for your data | yes | — |
| PATH_TO_FILES_DIR | Path to the directory with the files to be pushed | yes | — |
| NEOFS_ATTRIBUTES | User attributes in form of Key1=Value1,Key2=Value2 | no | — |
| URL_PREFIX | Prefix added to the FilePath attribute of each uploaded object (e.g. a run ID like "96-1697035975"). When HTTP_URL_PREFIX is not set, also appended to OUTPUT_CONTAINER_URL. | no | — |
| LIFETIME | Number of epochs for object to stay valid | no | 0 |
| REPLACE_OBJECTS | Replace existing objects with the same attributes in the container | no | True |
| REPLACE_CONTAINER_CONTENTS | Remove all the old existing objects in the container after the new objects are uploaded | no | False |
Outputs
| name | description |
|---|---|
| OUTPUT_CONTAINER_URL | Container URL |