clarity-tech/clarity-envoy-deploy 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clarity-tech/clarity-envoy-deploy

最新稳定版本:v1.0.4

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-----

统计信息

  • 总下载量: 99
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固