{"id":22351873,"url":"https://github.com/screwdriver-cd/store","last_synced_at":"2025-07-30T07:31:54.135Z","repository":{"id":10854282,"uuid":"67196672","full_name":"screwdriver-cd/store","owner":"screwdriver-cd","description":"Pluggable Artifact Store (for logs, shared steps, templates, etc).","archived":false,"fork":false,"pushed_at":"2024-09-06T22:36:18.000Z","size":268,"stargazers_count":3,"open_issues_count":0,"forks_count":16,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-11-17T06:16:27.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/screwdrivercd/store/","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/screwdriver-cd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-09-02T06:34:07.000Z","updated_at":"2024-09-06T22:34:04.000Z","dependencies_parsed_at":"2024-03-12T02:29:29.751Z","dependency_job_id":"f893002e-e814-4c7f-97aa-b374fd265438","html_url":"https://github.com/screwdriver-cd/store","commit_stats":{"total_commits":160,"total_committers":33,"mean_commits":4.848484848484849,"dds":0.90625,"last_synced_commit":"52592c03b80566c280cf4e076563c251c052e99e"},"previous_names":[],"tags_count":113,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/screwdriver-cd","download_url":"https://codeload.github.com/screwdriver-cd/store/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228106387,"owners_count":17870438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-04T12:16:08.573Z","updated_at":"2024-12-04T12:16:09.327Z","avatar_url":"https://github.com/screwdriver-cd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Artifact Store\n[![Version][npm-image]][npm-url] [![Pulls][docker-pulls]][docker-url] [![Stars][docker-stars]][docker-url] [![Build Status][status-image]][status-url] [![Open Issues][issues-image]][issues-url] [![Vulnerabilities][vul-image]][vul-url] ![License][license-image]\n\n\u003e Pluggable Artifact Store (for logs, shared steps, templates, etc).\n\nThis system provides a simple interface for builds to use the existing JWT to write artifacts (logs,\ntest results, etc).  By default, it uses a simple in-memory storage (which is destroyed on restart).\nIt can easily be configured to use alternative storage locations like S3.\n\n## Usage\n\n### Prerequisites\n\n- Node v8.9.0 or higher\n\n### From Source\n\n```bash\n$ git clone git@github.com:screwdriver-cd/store.git ./\n$ npm install\n$ vim ./config/local.yaml # See below for configuration\n$ npm start\ninfo: Server running at http://localhost\n```\n\n### Pre-built Docker image\n\n```bash\n$ vim ./local.yaml # See below for configuration\n$ docker run --rm -it --volume=`pwd`/local.yaml:/config/local.yaml -p 8080 screwdrivercd/store:latest\ninfo: Server running at http://localhost\n```\n\n## Configuration\n\nScrewdriver already [defaults most configuration](config/default.yaml), but you can override defaults using a `local.yaml` or environment variables.\n\n### Yaml\n\nExample overriding `local.yaml`:\n\n```yaml\nstrategy:\n    plugin: memory\n\nhttpd:\n    port: 8080\n```\n\n### Environment\n\nExample overriding with environment variables:\n\n```bash\n$ export STRATEGY=memory\n$ export PORT=8080\n```\n\nAll the possible environment variables are [defined here](config/custom-environment-variables.yaml).\n\n## Storage Strategies\n\nRight now we're using [catbox](https://github.com/hapijs/catbox) for storage, so we can support any of their plugins (Redis, S3, Memcached, etc.).  We only installed the [memory](https://github.com/hapijs/catbox-memory) and [S3](https://github.com/fhemberger/catbox-s3) ones for now.\n\nOr if you want to use [`disk`](https://github.com/mirusresearch/catbox-disk) strategy as to persist cache, you can config as following, please be sure to create `./store-data` as a local directory though\n\n```\nstrategy:\n    plugin: disk\n    disk:\n        cachePath: './store-data'\n        cleanEvery: 3600000\n        partition : 'cache'\n```\n\n## Testing\n\n```bash\n$ npm test\n```\n\n## License\n\nCode licensed under the BSD 3-Clause license. See LICENSE file for terms.\n\n[npm-image]: https://img.shields.io/npm/v/screwdriver-store.svg\n[npm-url]: https://npmjs.org/package/screwdriver-store\n[vul-image]: https://snyk.io/test/github/screwdriver-cd/store.git/badge.svg\n[vul-url]: https://snyk.io/test/github/screwdriver-cd/store.git\n[docker-pulls]: https://img.shields.io/docker/pulls/screwdrivercd/store.svg\n[docker-stars]: https://img.shields.io/docker/stars/screwdrivercd/store.svg\n[docker-url]: https://hub.docker.com/r/screwdrivercd/store/\n[license-image]: https://img.shields.io/npm/l/screwdriver-store.svg\n[issues-image]: https://img.shields.io/github/issues/screwdriver-cd/screwdriver.svg\n[issues-url]: https://github.com/screwdriver-cd/screwdriver/issues\n[status-image]: https://cd.screwdriver.cd/pipelines/24/badge\n[status-url]: https://cd.screwdriver.cd/pipelines/24\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrewdriver-cd%2Fstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fstore/lists"}