• 持续交付部署

    在此之前,应该准备好Mysql、Harbor、Gitlab、Minio,Chartmuseum这些组件的信息。按以下搭建顺序进行搭建,请不要随意调整搭建顺序。

    添加choerodon chart仓库

    helm repo add c7n https://openchart.choerodon.com.cn/choerodon/c7n/
    helm repo update
    

    创建数据库

    部署 workflow service

      env:
        open:
          EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://register-server.c7n-system:8000/eureka/
          SPRING_CLOUD_CONFIG_URI: http://register-server.c7n-system:8000/
          SPRING_DATASOURCE_PASSWORD: password
          SPRING_DATASOURCE_URL: jdbc:mysql://c7n-mysql.c7n-system.svc:3306/workflow_service?useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai
          SPRING_DATASOURCE_USERNAME: choerodon
          SPRING_REDIS_DATABASE: 8
          SPRING_REDIS_HOST: c7n-redis.c7n-system.svc
      preJob:
        timeout: 1800
        preInitDB:
          datasource:
            password: password
            url: jdbc:mysql://c7n-mysql.c7n-system.svc:3306/workflow_service?useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai
            username: choerodon
    

    部署 gitlab service

    部署 devops service