该系统提供简单接口,供构建过程使用现有JWT写入制品(日志、测试结果等)。默认使用简单的内存存储(重启后数据会丢失),可轻松配置为使用S3等替代存储位置。
bash$ git clone git@github.com:screwdriver-cd/store.git ./ $ npm install $ vim ./config/local.yaml # 配置详见下文 $ npm start info: Server running at http://localhost
bash$ vim ./local.yaml # 配置详见下文 $ docker run --rm -it -v `pwd`/local.yaml:/config/local.yaml -p 8080 screwdrivercd/store:latest info: Server running at http://localhost
Screwdriver已默认大部分配置,但可通过local.yaml文件或环境变量覆盖默认值。
覆盖local.yaml的示例:
yamlstrategy: plugin: memory httpd: port: 8080
使用环境变量覆盖的示例:
bash$ export STRATEGY=memory $ export PORT=8080
所有可用环境变量详见此处。
当前系统使用https://github.com/hapijs/catbox%E8%BF%9B%E8%A1%8C%E5%AD%98%E5%82%A8%EF%BC%8C%E5%9B%A0%E6%AD%A4%E6%94%AF%E6%8C%81%E5%85%B6%E6%89%80%E6%9C%89%E6%8F%92%E4%BB%B6%EF%BC%88Redis%E3%80%81S3%E3%80%81Memcached%E7%AD%89%EF%BC%89%E3%80%82%E7%9B%AE%E5%89%8D%E5%B7%B2%E5%86%85%E7%BD%AEhttps://github.com/hapijs/catbox-memory%E5%92%8Chttps://github.com/fhemberger/catbox-s3%E6%8F%92%E4%BB%B6%E3%80%82
若需使用https://github.com/mirusresearch/catbox-disk%E7%AD%96%E7%95%A5%E4%BB%A5%E6%8C%81%E4%B9%85%E5%8C%96%E7%BC%93%E5%AD%98%EF%BC%8C%E5%8F%AF%E6%8C%89%E4%BB%A5%E4%B8%8B%E9%85%8D%E7%BD%AE%EF%BC%88%E9%9C%80%E5%85%88%E5%88%9B%E5%BB%BA%60./store-data%60%E6%9C%AC%E5%9C%B0%E7%9B%AE%E5%BD%95%EF%BC%89%EF%BC%9A
yamlstrategy: plugin: disk disk: cachePath: './store-data' cleanEvery: 3600000 partition: 'cache'
bash$ npm test
代码采用BSD 3-Clause许可证。详见LICENSE文件了解条款。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务