Forget building and maintaining your own custom docs platform. With GitBook you get beautiful documentation for your users, and a branch-based Git workflow your team will love.
一般来说,构建任务都会占用很多的系统资源 (譬如编译代码),而 GitLab CI 又是 GitLab 的一部分,如果由 GitLab CI 来运行构建任务的话,在执行构建任务的时候,GitLab 的性能会大幅下降。 GitLab CI 最大的作用是管理各个项目的构建状态,因此,运行构建任务这种浪费资源的事情就交给 GitLab Runner 来做拉! 因为G...
Forget building and maintaining your own custom docs platform. With GitBook you get beautiful documentation for your users, and a branch-based Git workflow your team will love.
3. 安装 Gitlab Runner 下载二进制包 sudo curl -L --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 添加执行权限 sudo chmod +x /usr/local/bin/gitlab-runner (可选)如果使用Docker,安装Docker curl -sSL https:/...
本文主要是在 gitlab 上集成 gitbook 实现提交时 gitbook 自动刷新部署 ,以及在 linux 环境上搭建 gitlab gitbook,集成 GitLab CI 实现一个企业级或个人的 Wiki 系统 环境准备 1.一台 linux 服务器 2.安装 node 以及 npm 环境 (这里注意 node 环境不要过高 不然在安装 gitbook 时会有报错 推荐:v12.16.3)...
.gitlab-ci.yml文件,用自己创建的镜像实现,不需要写SUMMAY.md .gitlab-ci.yml generateSummary.js文件 generateSummary.js 本地安装node环境,直接直接运行: node generateSummary.js 也能生成Summary。 提交代码之后,gitlab-ci也可以自动生成gitbook。 然后windows系统里设置hosts文件,浏览器访问 ...
.gitlab-ci.yml文件,用自己创建的镜像实现,不需要写SUMMAY.md .gitlab-ci.yml generateSummary.js文件 generateSummary.js 本地安装node环境,直接直接运行: node generateSummary.js 也能生成Summary。 提交代码之后,gitlab-ci也可以自动生成gitbook。 然后windows系统里设置hosts文件,浏览器访问 ...
GitLab是一个用于仓库管理系统的开源项目,基于Git实现在线仓库托管软件,你可以使用GitLab搭建一个类似于Github一样的系统,并在此基础上搭建起来的Web服务。 一个基于GIT的源码托管解决方案。 基于Ruby on rails开发。 集成了Nginx Redis PostgreSQL Sidekiq Prometheus等组件。 GitLab官方地址:https://about.gitlab.com...
为了搭建一个gitbook+github的团队协作文档系统,然后通过jenkins实现持续集成,也就是当你在gitlab上修改文档以后,jenkins会自动build此项目,这个时候你再通过浏览器访问就是修改后的内容。 技术栈说明 Gitbook: 是一个基于 Node.js 的命令行工具,可使用 Github/Git和 Markdown 来制作精美的电子书,GitBook 并非关于 Gi...
于是使用gitlab,jenkins,和nginx配合gitbook使用。 基本的流程是这样的,每本书作为项目托管到gitlab上,每次提交,gitlab会触发jenkins,jenkins会把仓库的内容拉下来,gitbook build 并复制到Web server(Nginx)的目录下,并加上可读权限,然后局域网内的人就都可以直接访问了。