FlawlessCICD是什么:
本地可使用的的CI/CD持续集成(Continuous Integration)和持续交付/部署(Continuous Delivery/Deployment),以最方便快捷的方式将本地项目部署到服务器上
使用方法:
创建conf/FlawlessCICD.yaml配置文件,
内容:
images_repository_info: # 镜像仓库登录信息
username: 用户名
password: 密码
server_info: # 部署项目的服务器信息
host: ip
username: 用户名
password: 密码
安装:
pip install FlawlessCICD
使用:
fix:
如果报错docker.credentials.errors.StoreError: docker-credential-desktop not installed or not available in PATH
解决方法1:
先登录试试
解决方法2:
import os
os.environ['DOCKER_CREDENTIAL_HELPER'] = "/path/to/docker-credential-desktop"
self.client = docker.from_env()
解决方法3:
检查Docker配置: 检查~/.docker/config.json文件(在Windows上可能是%USERPROFILE%\.docker\config.json)
将credsStore设置成"",即:"credsStore": ""
解决方法4:
import docker
client = docker.from_env(credstore_env={"DOCKER_CREDENTIAL_HELPER": "/path/to/docker-credential-desktop"})
Metadata
Release files for FlawlessCICD 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| FlawlessCICD-0.2.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FlawlessCICD-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / FlawlessCICD-0.2.0.tar.gz
| Download URL | FlawlessCICD-0.2.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebe25fa9179e83b570a15d869f555441380a6a6de7f385f222e6df1517932371
|
|
BLAKE2b-256 checksum How to use checksums |
e9da03f63e2b115832c5cc9048c7740f80e0d40bbfeec42e1bf14fa9bb5f8463
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.6
|
Release files / FlawlessCICD-0.2.0-py3-none-any.whl
| Download URL | FlawlessCICD-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c97edc1a2573a1c6262b361d870949bab20705de51d645df5730bd92abbd212b
|
|
BLAKE2b-256 checksum How to use checksums |
99cc59f425112e0b58bae9247176b9190c5dd06b1572b55ab51c0a56b246d218
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.6
|