当前位置: 首页 > 软件库 > Web应用开发 > >

circleci-docs

Documentation for CircleCI.
授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发
软件类型 开源软件
地区 不详
投 递 者 谭研
操作系统 未知
开源组织
适用人群 未知
 软件概览

CircleCI Documentation

This is the public repository for CircleCI Docs, astatic website generated by Jekyll. If you find anyerrors in our docs or have suggestions, please follow our ContributingGuide to submit an issue or pull request.

For Server 3.x documentation development, see the Server 3.x documentation section.

For minor changes like typos, you can click Suggest an edit to this page,located at the bottom of each article. This will take you to the source file onGitHub, where you can submit a pull request for your change through the UI.

For larger edits or new articles, you'll want to set up a local environment forediting. Please see our Local Developmentdocument to set that up.

If you have a question or need help debugging, please head to CircleCIDiscuss where our support team will help youout.

Preview

It is possible to build and serve the Jekyll docs locally (without ruby or jekyll installed) using Docker and docker compose.If you already configured Jekyll on your local machine, you need to delete vendor directory, before running the command.

$ docker-compose up

Documentation Components

This repository houses and manages several arms of documentation for CircleCI.This section will provide a brief overview of each "component" and how to getstarted with making changes.

/Jekyll - Main Site

This is the main CircleCI documentation site.This is built with Jekyll and houses the majority of our documentation. Otherbranches of documentation (src-api, src-crg, etc) eventually get moved intothis folder (in our build process) and integrated into the Jekyll Site. Followthe local development guide to get started withbuilding the Jekyll site.

We also have an automated code review tool setup, so it will run markdownlint on your PR and review for anymarkdown style violations. The rules are located at .markdownlint.jsonc.You can also fix most of the violations automatically. You can read morehere.

/src-api - API v1.1 and v2 Build Tooling

Our API documentation source can be found in this folder.

API v1 is written by hand, and compiled to work withSlate. The compilation and deployment ofv1 is handled by our .circleci/config.yml, which calls our build_api_docsscript. If you need to make changes to our V1 documentation, go tosrc-api/source/includes and make changes as needed in the markdown files.

API v2 is compiled from an OpenAPIspec. We useRedoc to compile our spec into a webpage. Tosee the compilation process, refer to build_api_docs.sh and our.circleci/config.yml. If you need to make changes to the output site, you willlikely need to make source code changes to the API, where the docs are generatedfrom.

This is the build folder we use for automatically generating documentation forthe CircleCI API v2. This uses Slate andWiddershins to create documentationwith a spec (that follows the Open API Spec) generated from the CircleCI codebase.

/src-js - Javascript Files

Some JavaScript files that make use of Webpack and bundles a Javascriptfile that eventually gets loaded into Jekyll. Our JavaScript files aresplintered between Jekyll's assets folder and here. We should be navigatingtoward one solution that will eventually aggregate all JS source code in one place.

/src-shared - Shared Assets with circleci.com

This is a git sub-module for shared content with the main CircleCIwebsite. The js folder within is symlinked intoJekyll's assets folder for JavaScript. Eventually, the JS here could/should beintegrated with a better JS bundle solution per above. Please see the localdevelopment guide for more information aboutpulling in the updates for the sub-module.

Server 3.x documentation

Server documentation is written in ASCIIDOC and built for the web and PDF usingjekyll-asciidoc and asciidoctor-pdf plugins.

Server capitalization

Server should not be capitalized, if it can be avoided.

Branch nomenclature for subsequent server releases

Note: If you are creating server documentation for subsequent releases (i.e., 3.0 to 3.1), pleasecreate a PR against the server/3.<NEW_VERSION_NUMBER>-preview branch (please create a branch withthis nomenclature, if you don't see one).

  • Prefacing a branch with server/ will generate PDFs built of the files described in the following section. The PDFs appear as build artifactsand can be accessed from the CircleCI App.
  • Appending -preview to a branch will deploy the preview site of the documentation updates.

Important files

Below are important files to note when updating server documentation:

  • _server-3-overview.adoc: This file "stitches" any Overview-related documentation together, such as overall architectureand components, the server changelog, and frequently asked questions. This file is not expected to be updated often.

  • _server-3-install-guide.adoc: This file "stitches" any Installation-related documentation together. Any brand-new sections must be added here.

  • _server-3-ops-guide.adoc: This file "stitches" any Operator-related documentation together. Any brand-new sections must be added here.

  • build_pdfs_asciidoc.sh: This is the shell script that is executed as a part of the pipeline when server documentationis built. It uses asciidoctor to build the three PDFs above. You should not have to update this file.

  • sidenav.yml: Defines links in the sidebar. Any brand-new sections must be added here. Links to the PDFs must also beupdated here with every new release. See the section named Server v3.x PDFs.

  • _config.yml: Update this file when you need to bump version numbers of serverversion (every new release),terraformversion, kubectlversion, helmversion, or kostversion. Consider these your global variables to use in anyserver documentation, (use the variable name in between two brackets, i.e. {serverversion}).

Server changelogs

To update the server changelog, you will need to update both the docs site and outer. JIRA tickets (and their associatedpull requests, details, etc.) are linked in the Server Release e-mail sent out monthly by Sara Meisburger, in theServer 3.x Release Plan document.

  • server-3-whats-new.adoc: Make sure the Known Issues section is up to date, and add a new section for the newrelease.

  • Outer changelog: the outer changelog is located in the private repository for circleci.com. Create a file containingthe contents of the previous changelog (located in changelog_ccie/). You will need to update the timestampand version values (and the Release header). Make sure the Known Issues section is up to date.

Note: For every new changelog, be sure to update the serverversion number in _config.yml and add the newlygenerated PDFs to your pull request. You will also need to change the links in sidenav.yml as described in Important files.

More server documentation specifics

For more information on server documentation development (this includes overall syntax suggestions, local development,and 2.x-specific information) check out the previous instructions here.

License Information

Documentation (guides, references, and associated images) is licensed asCreative Commons Attribution-NonCommercial-ShareAlike CC BY-NC-SA. The fulllicense can be foundhere, and thehuman-readable summaryhere.

Everything in this repository not covered above is licensed under the includedMIT license.

  • 我现在正在将CircleCI用于我的项目.我也在我的项目中实现新的constraintLayout.现在我被CircleCI大楼困住了.它在gradle -dependencies运行时向我显示: File /home/ubuntu/.android/repositories.cfg could not be loaded. FAILURE: Build failed with an except

  • 串行测试 并行测试 by Karel Rochelt 卡雷尔·罗切尔特(Karel Rochelt) 如何通过CircleCI测试并行性增加构建时间 (How to boost build time with CircleCI test parallelism) Providing an error-free API for a heavily developed project is not a

  • 概述 今天我想把博客什么的搬到 github 的 vuepress 上面。但是每次提交 md 文件需要手动打包然后再提交到 github 的 gh-pages,非常麻烦。所以我去研究了一下用 circleci 自动集成。总体来说还是比较简单的。我把新的记录下来,供以后开发时参考,相信对其他人也有用。 我的 vuepress 博客地址(目前还没什么内容) 集成步骤 1.把项目提交到 master 分

  • 尝试在CircleCI上构建项目时,在gradle构建期间发生以下错误.这个问题的原因是什么?我正在运行CircleCI 2.0. FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring project ‘:app’. SDK location not found. Defin

 相关资料
  • Ember-CircleCI CircleCI configuration generator for your Ember projects. The generated configuration is compatible with applications and addons.In addition, it uses parallel jobs to optimize CI time.

  • circleci-cli | Powerful CircleCI CLI via pure bash A pure bash, feature rich command line interface for CircleCI. Sample use cases: Programmatically interact with the CircleCI API OS X notification in

  • gradlew测试命令在CircleCI上失败。当我在本地执行相同的命令时,它工作正常,所有的测试用例都通过了。我附上yml文件,从CircleCI和我的测试类日志。 这是我的yml文件。 当我检查CircleCI的日志时,这些日志是: 执行转换IdtyTransform- com . mind valley . MVA . log in module . loginactivitytest co

  • 我已经集成了CircleCI来在我的应用程序上运行Espresso测试。我从另一个在线github存储库中获取了以下circle.yml文件,并将android构建工具和android版本更改为25。但是,当我在CircleCI服务器上运行构建时,我收到以下错误。我已经在yml文件中授予了执行权限。 我的应用回购结构是 circle.yml(圈.yml): gradle/wrapper/gradl

  • 我正在尝试使用circleci将一个示例应用程序部署到使用google cloudrun的gke。我在google cloud中创建了一个集群,并希望在容器中构建和部署一个映像。如果我手动操作,效果会很好。但我希望建立一个自动化的CI/CD管道,并因此使用CircleCI来实现。 现在跳过测试和代码覆盖部分,我想为gke部署构建一个管道 这是Circleci的config.yaml文件。我试图使用

  • 问题内容: 我正在尝试在Rails应用程序中使用Elasticsearch设置CircleCI。我认为已配置了映像,但是如何在CI中连接到该映像? 到目前为止,我已经尝试过… https://github.com/elastic/elasticsearch/issues/23866 错误信息 圈YAML配置 elasticsearch初始化器 问题答案: 来自Elastic的官方Docker映像预

相关阅读

相关文章

相关问答

相关文档