clarity-tech/clarity-envoy-deploy
Composer 安装命令:
composer require clarity-tech/clarity-envoy-deploy
包简介
Deployment scripts for envoy standard zero deployments along with gitlab templates
README 文档
README
A standard failsafe zero downtime deployment scripts used in our projects at Clarity
step 1)
Go here https://gitlab.com/clarity-tech/dev-ops/pipelines
and read the ## Usage section
step 2)
create Envoy.blade.php on root of your project add below inside that file
@import('vendor/clarity-tech/clarity-envoy-deploy/src/Envoy.blade.php')
step 3)
update/replace the variables inside these files .gitlab/ci/.prepare-ssh-prod.yml and .gitlab/ci/.prepare-ssh-staging.yml
PROJECT_DIR
your-server-alias
step 4)
update ENV_PROD and ENV_STAGING as File variable as per your need in gitlab project CI/CD variables https://gitlab.com/clarity-tech/your-project-name/-/settings/ci_cd
and SSH_CONFIG as File variable with the config like below replace ip-of-the-server with your ip
Host clarity-server
HostName ip-of-the-server
User deployer
IdentitiesOnly yes
IdentityFile ~/.ssh/id_deployment
StrictHostKeyChecking no
lastly DEPLOYER_SSH_KEY_ID as File variable with the private key content file of the user that has access to the server
-----BEGIN OPENSSH PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
QyNTUxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxvPiD
egxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxw
AAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxLp
key-content-stripped-due-to-secuirty-xxxxxxxxxxxxxxx==
-----END OPENSSH PRIVATE KEY-----
clarity-tech/clarity-envoy-deploy 适用场景与选型建议
clarity-tech/clarity-envoy-deploy 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 99 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 01 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 clarity-tech/clarity-envoy-deploy 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 clarity-tech/clarity-envoy-deploy 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 99
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-17