美文网首页
Use docker+gitlab to setup CI/CD

Use docker+gitlab to setup CI/CD

作者: cncl | 来源:发表于2018-07-05 16:25 被阅读0次

Introduction

最近做了一个人脸识别+物品识别的无人货架项目,项目的CI/CD是居于docker+gitlab-runner 去setup的,所以在此总结此文,希望能帮助到其他小伙伴并且记录一下。


Goal

在Ubuntu16.04 下使用python3.6+redis写一个小demo,并使它可以在我们建立的CI/CD环境下自动部署


Assumption

在本文中假定你对python,redis,docker,gitlab,linux等有一定了解,本文不会对一些细节做过多解释。


Get Start

1. install docker 

Ubuntu16.04下安装docker - 简书

2. install docker-compose

# step1:

sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose

# step2:

sudo chmod +x /usr/local/bin/docker-compos

# step3:

docker-compose --version

3. 搭建gitlab

docker pull gitlab/gitlab-ce

TO BE CONTINUE...

相关文章

  • Use docker+gitlab to setup CI/CD

    Introduction 最近做了一个人脸识别+物品识别的无人货架项目,项目的CI/CD是居于docker+git...

  • Prepare

    CI/CD The adoption of CI/CD has changed how developers an...

  • Jenkins 介绍

    Jenkins构建CI/CD CI/CD是什么? CI(Continuous integration,中文意思是持...

  • CI/CD/CD

    CI 持续集成CONTINUOUS INTEGRATION持续集成的环境中,开发人员会频繁提交代码到主干。持续集成...

  • Linux系统环境基于Docker搭建Jenkins实战

    关于CI,CD&CD CI->Continuous Integration:持续集成 CD->Continuous...

  • Auto DevOps之gitlab CI/CD

    @[toc] CI/CD介绍 CI(Continuous Integration)跟CD(Continuous D...

  • CI/CD

    CI / CD 主要指的三个概念,首先CI代表的意思是,continuous integration(持续集成)。...

  • CI/CD

    持续集成CI:代码合并,构建,部署,测试都在一起,不断的执行这个过程,并对结果反馈(针对于代码级别)持续交付CD:...

  • CI/CD

    1.jekins 平台(是一个平台,主要运行的是插件) jenkins以及持续集成简介 开发:编写代码并且进行源码...

  • GitLab CI CD实践 - .gitlab-ci.yml配

    图5.1 GitLab CI/CD流程图 GitLab CI/CD功能基于每个项目根目录下的.gitlab-ci....

网友评论

      本文标题:Use docker+gitlab to setup CI/CD

      本文链接:https://www.haomeiwen.com/subject/ioeeuftx.html