eelzee/circleci-build-scripts
Composer 安装命令:
composer require eelzee/circleci-build-scripts
包简介
CircleCI devops scripts for Eelzee.
README 文档
README
This repository contains scripts used in the Eelzee CircleCI build process. The scripts are meant to execute in a customized CircleCI Docker container.
Prerequisites:
The most recent version of this script executes an OAuth2 request against
Bitbucket to retrieve information about the current pull request being
executing. In order to retrieve this information, a CircleCI context has been
established named 'eelzeedev-global' that contains credentials for the
request. You should add a "workflows" section to your config.yml file to
include this context and gain access to these variables. See example_config.yml
for an example of this declaration (at the bottom).
The variables BITBUCKET_CLIENT_KEY and BITBUCKET_CLIENT_SECRET are declared externally. These variables are used to authenticate (via OAuth) to Bitbucket during processing. Speak with Eelzee staff if you need to learn more about these variables.
Usage:
Note: If CircleCI has never before been run for this project, you may need to initialize it by choosing "Set up project" for the repo in question at https://circleci.com/add-projects/bb/eelzeedev.
To set up a project to use Version 2 of the CircleCI automation and our build scripts:
Add a CircleCI configuration file to the repo, and a variables file.
- Create a
.circlecifolder in your project root. - Copy the contents of
example_config.ymlin this repo to.circleci/config.ymlin your repo, and update as appropriate for your project.- Defaults work fine in most cases. Pay attention to the image being used. You should be choosing a valid php 5.6 or 7.1 eelzee circle-ci repo image from those listed here.
- Copy the contents of
example_script_variables.ymlto.circleci/script_variables.ymlin your repo, and update as appropriate for your project.
Additional info:
- See also the associated DockerHub Images.
- See also the eelzee build scripts Packagist Entry.
- It is often useful to test builds locally before pushing to the remote repository. You may use the CircleCI cli tool to test a local build. Not all variables are defined for local builds, but you may supply values for theme here if you need them. Note that setup and usage of that tool is not necessary to use CircleCI, so documentation for doing so is not included here.
eelzee/circleci-build-scripts 适用场景与选型建议
eelzee/circleci-build-scripts 是一款 基于 Python 开发的 Composer 扩展包,目前已累计 11.37k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 03 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 eelzee/circleci-build-scripts 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 eelzee/circleci-build-scripts 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 11.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-06