本地可使用的的CI/CD持续集成(Continuous Integration)和持续交付/部署(Continuous Delivery/Deployment),以最方便快捷的方式将本地项目部署到服务器上
Project description
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"})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FlawlessCICD-0.2.0.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file FlawlessCICD-0.2.0.tar.gz.
File metadata
- Download URL: FlawlessCICD-0.2.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebe25fa9179e83b570a15d869f555441380a6a6de7f385f222e6df1517932371
|
|
| MD5 |
5c6dfa96b94e3c33c92f87a1cf78d276
|
|
| BLAKE2b-256 |
e9da03f63e2b115832c5cc9048c7740f80e0d40bbfeec42e1bf14fa9bb5f8463
|
File details
Details for the file FlawlessCICD-0.2.0-py3-none-any.whl.
File metadata
- Download URL: FlawlessCICD-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c97edc1a2573a1c6262b361d870949bab20705de51d645df5730bd92abbd212b
|
|
| MD5 |
64219e77d53935ca7b60705e9c1bad2a
|
|
| BLAKE2b-256 |
99cc59f425112e0b58bae9247176b9190c5dd06b1572b55ab51c0a56b246d218
|