本地可使用的的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: 密码
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.1.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.1.0.tar.gz.
File metadata
- Download URL: FlawlessCICD-0.1.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 |
cf26d2ad3141b56884ec198a2c1c2fe3f37670b9ddc2d8c8cb690d23ae371d98
|
|
| MD5 |
cc7659baeec4abf54fc0fdf38ad69b35
|
|
| BLAKE2b-256 |
b0d949bdd4b1eaca49e1b1d393ca57641da4b076072ff3354daaa74f75cd6295
|
File details
Details for the file FlawlessCICD-0.1.0-py3-none-any.whl.
File metadata
- Download URL: FlawlessCICD-0.1.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 |
67fa0cbf69aafa77d1b1ab65817443c8898488e2aca8ce32e4e0b6fe7808ecae
|
|
| MD5 |
7e5ac410fabc17685ba66f199bc6a0e3
|
|
| BLAKE2b-256 |
d1255bca82aeafb5a9b0a139a1c1de508f752c6f504bdb0533555d12a222879b
|