mikemadison13/blt-azure-pipelines 问题修复 & 功能扩展

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

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

mikemadison13/blt-azure-pipelines

Composer 安装命令:

composer require mikemadison13/blt-azure-pipelines

包简介

Azure Pipelines integration for Acquia BLT.

README 文档

README

This is an Acquia BLT plugin providing Azure Devops Pipelines integration.

This plugin is community-created and community-supported. Acquia does not provide any direct support for this software or provide any warranty as to its stability.

Installation and usage

To use this plugin, you must already have a Drupal project using BLT 11.3 (or higher). While the Environment Detector was added in BLT 10, the fix to properly subclass was not introduced until this commit (and released in 11.3)

In your project, require the plugin with Composer:

composer require mikemadison13/blt-azure-pipelines

Initialize the Azure integration by calling recipes:ci:azure:init, which is provided by this plugin:

blt recipes:ci:azure:init

This will copy a template version of the azure-pipelines.yml to your project root directory. Make sure to commit this as well as your updated composer.json to Git.

Note: the template YAML file assumes standard BLT steps for builds (and is similar to the templated Travis CI and Acquia Piplines files). Modifications can be made as necessary! Build scripts can also be modified by copying them out of this plugin and changing the file path as needed in the YAML file.

SSH / Deploy Configuration

By default, this plugin uses the InstallSSHKey@0 at the front of the build to prep for the eventual deployment (on merges into the upstream repository).

We have provided sensible default variables (for the known_hosts entry and public key) and secure file name (for the private key).

In order to set the variables, see the docs for Azure Pipelines. However, we strongly urge setting the variables via the UI (classic) as opposed to placing the public key directly in your YAML file.

The private key should be uploaded via secure files (in the Pipelines library, see the docs for Azure Pipelines.

Variable / File Names

  • Create a variable called "host" and paste the complete known_hosts entry for your server into this variable.
  • Create a variable called "public" and paste the complete public key into this variable
  • Create a secure file called "private" and paste the complete private key into this variable

Note for variables: we advise setting the "Keep this value secret" option on creation of variables.

Note for secure files: you will have to either authorize the use of the secure file for the appropriate pipeline(s) before the build(s) will have acccess to the file.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

mikemadison13/blt-azure-pipelines 适用场景与选型建议

mikemadison13/blt-azure-pipelines 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 183.48k 次下载、GitHub Stars 达 6, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 mikemadison13/blt-azure-pipelines 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 mikemadison13/blt-azure-pipelines 我们能提供哪些服务?
定制开发 / 二次开发

基于 mikemadison13/blt-azure-pipelines 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 183.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 17
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 未知