Giter Club home page Giter Club logo

go-atomci / atomci Goto Github PK

View Code? Open in Web Editor NEW
199.0 6.0 47.0 6.67 MB

🐳 为**企业而来,以应用为中心的云原生cicd平台

Home Page: https://go-atomci.github.io/atomci-press/

License: Apache License 2.0

Shell 0.26% Dockerfile 0.06% Makefile 0.12% Go 50.04% JavaScript 12.84% HTML 0.05% Vue 31.85% CSS 4.21% SCSS 0.56%
kubernetes cicd jenkins jenkins-pipeline cd devops continous-deployment continuous-delivery continuous-integration golang

atomci's Introduction

介绍

AtomCI 一款云原生CICD平台,致力于让中小企业快速落地Kubernetes,支持k8s/reigstry/jenkins/代码源的轻松集成,高并发的流水线,云原生yaml支持,多环境灵活管理,权限控制等, 代码均已开源, 您的star 是我们开源的动力,非常感谢(:

为什么选择 atomci

  • 多代码源轻松集成( gitlab/gihub/gitee/gitea/gogs )
  • 强大的服务集成(不论是阿里云 /腾讯云,还是自建 k8s ;不管是自建 harbor 还是公有镜像仓库;均可以轻松集成)
  • 流水线灵活自定义
  • 支持原生的 yaml 应用编排
  • 环境灵活新增 /删除
  • 部署方式简单
  • 更多期待你的体验...

架构图

┌─────────┐
│         │
│ Git Scm ├──────┐      ┌───────────────────────┐    ┌──────────┐   ┌───────────────────────┐
│         │      │      │ AtomCI                │    │          │   │                       │
└─────────┘      │      │                       │    │          │   │  ┌────────────────┐   │
                 │      │      Frontend (Vue)   │    │          │   │  │ jnlp-agent pod1│   │
                 ├──────►                       ├────►          │   │  └────────────────┘   │
┌──────────┐     │      │                       │    │          ├───►                       │
│          │     │      │      Backend (Go)     ◄────┤  Jenkins │   │  ┌────────────────┐   │
│ Registry ├─────┤      │                       │    │          │   │  │ jnlp-agent pod2│   │
│          │     │      │                       │    │          │   │  └────────────────┘   │
└──────────┘     │      └──────────┬────────────┘    │          │   │        ....           │
                 │                 │                 │          │   │  ┌────────────────┐   │
┌───────────┐    │      ┌──────────┴────────────┐    ├──────────┤   │  │ jnlp-agent podn│   │
│           │    │      │                       │    │k8s/docker│   │  └────────────────┘   │
│ Kubernetes│    │      │        MySQL          │    │   or     │   │                       │
│           ├────┘      │                       │    │ warfile  │   │ agent on kubernetes   │
└───────────┘           └───────────────────────┘    └──────────┘   └───────────────────────┘

在线体验

在线体验

账号 密码
admin 123456

:

  • 体验帐户为授权用户,不显示“系统管理”的配置页面, 可本地安装完整体验。
  • 因k8s资源有限,部署的服务会定时清理,避免资源过分占用

视频演示

  1. 概述及如何安装部署 视频链接
  2. 介绍及快速开始 视频链接
  3. 5分钟全流程体验 视频链接

快速开始

一键部署最新版本

  1. 准备一台可以正常运行的linux服务器(支持MacOS)
  2. 安装Docker 和 Docker Compose
curl -sSL https://raw.githubusercontent.com/go-atomci/atomci/master/deploy/docker-compose/quick_start.sh | bash

如何本地运行

前置条件

  • go 1.18+
  • node v14.20.0
  • yarn v1.22.5
  • mysql 5.7

创建数据库

> create database atomci character set utf8mb4;

修改配置

# conf/app.conf
[DB]
url = root:root@tcp(127.0.0.1:3306)/atomci?charset=utf8mb4

[notification]
dingEnable = 1 # 启用钉钉通知;0:不启用,1:启用
ding = 钉钉机器人

mailEnable = 1 # 启用邮件通知;0:不启用,1:启用
smtpHost = SMTP服务器
smtpPort = 465
smtpAccount = 邮件账号
smtpPassword = 邮件密码

注: 对于[ldap],[jwt], [atomci]可以参照附录-『配置说明』进行修改

启动后端

# linux/mac环境
$ make run  

# windowns环境,或是没有make命令
$ go build -o atomci  cmd/atomci/main.go; ./atomci

启动前端

$ cd web
# 安装依赖
$ yarn install  #仅首次运行时需要执行  
# 运行
$ yarn run dev

访问

# 默认用户名/密码 admin/123456
http://your-ip:8081

如何构建镜像

前端

$ cd web
$ pwd
# ./atomci/web/
$ cd web ; docker build . 

后端

$ pwd
# ./atomci
$ docker build .

如果你使用 docker-compsoe方式部署的话,可以通过替换镜像地址的方式,即可使用master分支的最新代码.

贡献代码

可查阅AtomCI项目计划,在对应issues中回复认领,或者直接提交PR,感谢你对AtomCI的贡献
贡献包括但不限于以下方式:

  • 帮助文档
  • Bug修复
  • 新功能提交
  • 代码优化
  • 测试用例完善

请参阅Contribution Guide 获取更多的信息.

互动交流

AtomCI开发者


已知问题

Issues是本项目唯一的沟通渠道,如果在使用过程中遇到问题,请先查阅文档,如果仍无法解决,请查看相关日志,保存截图信息,给我们提交 issue,我们会及时标记、修复。

AtomCI 因你而变。


AtomCI 用户交流群

可添加 微信Wechat 邀请入群

附录

配置说明

配置项 默认值 说明
default::appname atomci 应用名
default::httpport 8080 应用侦听端口
default::runmode dev 运行模式dev|prod
default::copyrequestbody true 是否允许在 HTTP 请求时,返回原始请求体数据字节
日志配置
log::logfile log/atomci.log 日志文件
log::level 7 日志级别
log::separate ["error"] 分隔error独立一个文件, 默认是atomci.error.log
DB配置信息
DB::url root:root@tcp(127.0.0.1:3306)/atomci?charset=utf8mb4 数据库的链接信息
DB::debug false 是否开启debug
DB::rowsLimit 5000
DB::maxIdelConns 100
DB::maxOpenConns 200
LDAP 配置信息
ldap::host ldap.xxx.com
ldap::port 389
ldap::bindDN [email protected]
ldap::bindPassword Xxx..,
ldap::userFilter (samaccountname=%s)
ldap::baseDN OU=Xxx,DC=xx,DC=com
JWT 配置
jwt::secret changemeforsecurity  jwt的加密使用的字段,建议修改

atomci::url http://localhost:8080 AtomCI 回调地址 

atomci's People

Contributors

colynn avatar craigzero avatar fanhousanbu avatar gosszhang avatar liuzilong66666 avatar sampsonye avatar yoyofx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

atomci's Issues

首次配置后配置项较多,期望可以添加配置指引

您有什么需求,是否与某个功能或问题相关? 请描述
From: @chianoceanwhale , 首次安装后,需要配置『服务集成』的基础信息,项目信息、项目流程等,是否可以添加指引方便用户首次使用

你想要的解决方案是什么

前端 - 新增配置指引

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

项目升级时如何同步配置变更?- 引入 migrate 工具

运行环境

  • 应用版本:
    • atomci-frontend: latest
    • atomci: latest
  • Kubernetes: v1.23.1

问题描述

latest新增了通知功能,更新后发现本地的app.config中并没有自动生成对应的配置
如何“人性化”地在升级过程中将新的配置告知使用者呢?

截图

casbin rbac policy use mysql adapter

您有什么需求,是否与某个功能或问题相关? 请描述
The casbin file adapter is not very friendly for developers using windows pc.

你想要的解决方案是什么

Change casbin file adapter to MySQL adapter

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

建议增加通知模块

您有什么需求,是否与某个功能或问题相关? 请描述
当前应用构建、部署及各种人工审核的任务,需要团队内的协作,期望可以增加通知模块,提高协作效率

你想要的解决方案是什么

新增邮件或其他通知模板

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

构建日志页面建议弹窗显示

您有什么需求,是否与某个功能或问题相关? 请描述

image

你想要的解决方案是什么

查看构建日志页面会弹出新的页面显示,体感不好,建议在原页面弹窗显示

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

是否考虑支持将 阿里云容器服务作为镜像仓库?

您有什么需求,是否与某个功能或问题相关? 请描述
目前我们镜像统一托管在阿里云的镜像仓库中,具备很好的性能以及扩展性

你想要的解决方案是什么
在除支持harbor之外,还能支持阿里云(腾讯云?)等流行平台的镜像仓库

代码仓库为gitea时 默认显示的url不会

运行环境

  • 应用版本:
    • atomci-frontend: latest
    • atomci: latest
  • Kubernetes:

问题描述

代码仓库为gitea类型时,私有化部署gitea的场景较多,可以将域名的定义开放出来

截图

image

compile env edit failed

运行环境

  • 应用版本:
    • atomci-frontend:
    • atomci: 1.5
  • Kubernetes:

问题描述

编辑“编译环境”,将类似“启动命令”、“启动参数”等条件置空时无效

截图

unnecessary, will be fixed soon

应用支持自定义 dockerfile路径

您有什么需求,是否与某个功能或问题相关? 请描述
有些项目Dockerfile并不位于根目录下,so I hope can define the path of Dockerfile.

你想要的解决方案是什么

应用新增dockerfile的属性
image

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

希望后面支持CI,CD分离

您有什么需求,是否与某个功能或问题相关? 请描述

你想要的解决方案是什么

目前仅出镜像的操作还需要配置应用的Yaml文件,期望可以将CI和CD分离,支持push自定义镜像路径。

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

调整“代码源集成”至 “系统管理”页面下,新增“代码源集成”

您有什么需求,是否与某个功能或问题相关? 请描述
如标题,原型图如下
https://axhub.im/pro/09f7c1cefa188a03/#g=1&p=%E4%BB%A3%E7%A0%81%E6%BA%90%E9%9B%86%E6%88%90

你想要的解决方案是什么
基于sys_integrate_setting 添加gitlab/github/gitea/gitee的集成

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

应用纬度的发布记录及发布回滚

您有什么需求,是否与某个功能或问题相关? 请描述
发布后出现生产Bug,需要应急回滚,该如何处理

你想要的解决方案是什么
支持回滚

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Atomci显示构建流水页面存在jenkins暴露风险

您有什么需求,是否与某个功能或问题相关? 请描述
a244de3b97fc1e07a13ec73a8b71ed3

该页面直接暴露了Jenkins的服务地址,而我们的Jenkins又必须设计为 可匿名访问 此处存在风险

你想要的解决方案是什么
应对Atomci的使用者屏蔽Jenkins的所有信息

990f0f65e07a70add6cb758973c153b

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

【用户管理】添加子用户的约束,项目成员仍只显示admin一人

运行环境

  • 应用版本:
    • atomci-frontend:
    • atomci:
  • Kubernetes:

问题描述

1、在admin账户下添加子用户的约束后,子用户可以看到此项目并可以操作,但项目成员仍然只有admin一人。

2、添加个人约束时,项目的类型,需要填写project_id,此id需要去sql里看,不直观。

截图

image

服务集成中的服务名称名字不受k8S命名限制,自由设计

您有什么需求,是否与某个功能或问题相关? 请描述
服务集成中的服务名称名字不受k8S命名限制,自由设计

你想要的解决方案是什么
生成k8s相关资源时,不以服务名字作为最终名称,而考虑采用Id作为名称

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

应用资源对象的纬度调整

您有什么需求,是否与某个功能或问题相关? 请描述

因为目前『应用』是定义在『项目』之下的, 对于应用的唯一性就不好校验,而且也不太符合 『项目』的初衷,故期望将『应用』也调整为一种资源独立管理,项目只是基于原有应用做一层关联。

你想要的解决方案是什么

详见 Discussions #49

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

有状态服务部署-支持

您有什么需求,是否与某个功能或问题相关? 请描述
目前已经deployment的部署,对于es/mysql这种有状态的服务是否可以考虑支持部署。

你想要的解决方案是什么
完善core/kuberesstatefulset 类型的资源解析及创建逻辑

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

相同deployment不能在不同命名空间部署

运行环境

  • 应用版本:
    • atomci-frontend: latest
    • atomci:latest
  • Kubernetes: k3s v1.21.0

问题描述

相同deployment不能在不同命名空间部署

deploy application occur error: Error: 500, InternalServerError, internal server error, quant-first-blood-3-deployment:the application(quant-first-blood-3-deployment) is existed in namespace [blood] of cluster Tencent-K8S, and you have no right to cover the old application, cluster: Tencent-K8S, namespace: test-blood

截图

image

构建部署的详细更友好的展示

您有什么需求,是否与某个功能或问题相关? 请描述
目前采用iframe 展示构建/部署的详细日志,存在一些不友好的干扰项,期望可以解决

你想要的解决方案是什么

原展示
image

期望
image

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

[Support]We need support gitee

您有什么需求,是否与某个功能或问题相关? 请描述
作为国内最佳开放源代码托管平台,是否可以考虑支持一下gitee?

你想要的解决方案是什么

另外

  1. v1.2.2 还不支持添加github源
  2. 是否可以支持账号密码/SSH公钥方式同步仓库?

Redefining the directory structure of project based on golang project-laybout

您有什么需求,是否与某个功能或问题相关? 请描述

as in the title

你想要的解决方案是什么

https://github.com/golang-standards/project-layout

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

接入更多的登录方式

您有什么需求,是否与某个功能或问题相关? 请描述
From: @chianoceanwhale 当前已经支持本地、LDAP, 期望可以接入gitlab/钉钉等

你想要的解决方案是什么

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

简化 atomci的部署方式

您有什么需求,是否与某个功能或问题相关? 请描述
安装步骤有些复杂,期望可以通过install.sh 一键安装

你想要的解决方案是什么

类似于: curl -SsL downloadurl/install | bash

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

gitlab token/ k8s 验证信息均是明文存储的,有安全风险

您有什么需求,是否与某个功能或问题相关? 请描述

From: @chianoceanwhale , gitlab token/ k8s conf 等配置均是明文直接落库的,期望可以加盐存储,提高安全性

你想要的解决方案是什么

期望可以加盐存储,提高安全性

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

从历史版本升级(1.4.0)通过变更镜像升级时,migrate 无法被正常触发

运行环境

  • 应用版本:
    • atomci-frontend: v1.5.0-feat-app-refactor
    • atomci: v1.5.0-feat-app-refactor
  • Kubernetes: none

问题描述

从历史版本升级上来时,migrate 无法被正常触发, 但是 last_migration_date 会被更新为最新的migrate 文件。

截图

image

如果复现

  1. 先安装后 1.4.0的release 包
  2. 然后通过变更docker-compose.yml的镜像至1.5.0,
    * colynn/atomci:1.5.0
    * colynn/atomci-frontend:1.5.0
  3. 重启服务
$ docker-compose stop atomci frontend
$ docker-compose up -d atomci frontend
  1. 查看数据表即可看到如截图数据

use drone/go-scm replace fork it

您有什么需求,是否与某个功能或问题相关? 请描述
目前采用是fork drone/go-scm , 但是这样对于上流的新的功能特性及问题修复就不能直接应用过来了。

你想要的解决方案是什么
期望可以调整为使用drone/go-scm

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

基于“我的项目”- “应用代码” 独立出 “我的应用”的表

您有什么需求,是否与某个功能或问题相关? 请描述
如题:
https://axhub.im/pro/09f7c1cefa188a03/#g=1&p=%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8

你想要的解决方案是什么

  1. 基于pub_project_app 新增 scm_app 表,并完成scm_app表的增拆改查.
  2. 调整 pub_project_app 添加 scm_app_id表,调整pub_publish_app内对于project_app_id的依赖关联

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

conf缺少k8s配置

运行环境

  • 应用版本:
    • atomci-frontend:
    • atomci:
  • Kubernetes:

问题描述

conf缺少k8s配置

截图

image

支持helm部署

您有什么需求,是否与某个功能或问题相关? 请描述
期望支持helm部署

你想要的解决方案是什么

应用添加helm的override配置,丰富应用的部署形式。

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

If you are interested in working on this issue or have submitted a pull request, please leave a comment

新增代码 单元测试样例

您有什么需求,是否与某个功能或问题相关? 请描述
当前项目单元测试严重缺失,新功能的引入,也会带来很多不稳定性,需要新增单元测试样例

你想要的解决方案是什么

  1. 引入单元测试样例
  2. 集成至github action

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

接入http的gitlab代码源提示401

运行环境

  • 应用版本:
    • atomci-frontend: v1.5.0
    • atomci: v1.5.0
  • Kubernetes:

问题描述

创建token后,接入http的 gitlab代码源,提示 401 Unauthorized

截图

image

image

应用yaml的配置复杂,期望可以简化 | WYSIWYG yaml editor

您有什么需求,是否与某个功能或问题相关? 请描述
对于普通开发者直接写k8s yaml 形式的『应用编排』有些困难,期望可以简化

你想要的解决方案是什么

期望『应用编排』支持两种形式
1. 云原生的yaml
2. from: @sampsonye 还有简化版的 图形化配置

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

构建和部署分开

您有什么需求,是否与某个功能或问题相关? 请描述

你想要的解决方案是什么
如果构建和部署能够分开,或者构建和构建+部署有类似于两套流程,让用户选择更好

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

编译环境支持更多的参数定义

您有什么需求,是否与某个功能或问题相关? 请描述
如题

你想要的解决方案是什么
当前编译环境只支持镜像启动命令启动参数的定义, 比如对于 volume的挂载也期望可以支持

Screen Shot 2022-03-12 at 10 40 53 AM

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

gitlab配置时使用http地址报错

  • 应用版本:
    • atomci-frontend: 1.3.0
    • atomci: 1.3.0
  • Kubernetes: 1.21
    如图,配置的gitlab地址是http的,为何报错信息中显示的是https的地址呢?我并没有配置https
    image
scmclient get repositories list error: Get "https://180.76.53.109/api/v4/projects?membership=true&page=1&per_page=100": dial tcp 180.76.53.109:443: connect: connection refused

启动时添加对应的代码版本信息及问题反馈方式

您有什么需求,是否与某个功能或问题相关? 请描述
如题,为方便解决问题及用户快速找到组织,建议在应用启动时添加应用的版本信息及帮助链接

你想要的解决方案是什么

应用版本信息:类似: master-[commit-id]
帮助链接:使用github.com/go-atomci/atomci或是使用部署文档的page

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

建议k8s的服务集成支持url+token

您有什么需求,是否与某个功能或问题相关? 请描述
如题

你想要的解决方案是什么
目前采用kubernetes的conf文件来作为验证信息,对于权限、安全性控制有些不够灵活

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

变更casbin_rule 的orm adapter

您有什么需求,是否与某个功能或问题相关? 请描述

beegorm的casbin_rule 适配器在SavePolicy时会先将表drop再创建,可能会导致尚未落库的policy条目丢失

你想要的解决方案是什么

更改orm适配器,可以参考harbor

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

前端vue- sidebar 显示问题、项目详情页面不支持刷新

您有什么需求,是否与某个功能或问题相关? 请描述
如题,

  1. sidebar 根据屏幕的大小存在显示问题
  2. 项目详情页面不支持刷新(强制刷新后 project id信息会丢失,需要从项目列表重新进入)

你想要的解决方案是什么

暂无

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

构建部署查看详细日志白屏

运行环境

  • 应用版本:
    • atomci-frontend: 1.3.0
    • atomci:1.3.0
  • Kubernetes:1.21.0

问题描述

查看构建部署的日志白屏

截图

image

经分析,应该是js语法错误导致无法显示
image

[Approve]添加关联仓库时,输入的是完整的仓库地址,而不是gitlab的host时,jenkins端拉取代码会失败

您有什么需求,是否与某个功能或问题相关? 请描述
添加关联仓库时,输入的是完整的仓库地址,而不是gitlab的host时,jenkins端拉取代码会失败

你想要的解决方案是什么
考虑友好提示用户确认输入的是gitlab服务端baseURL 或者服务端自行裁剪(需要明确知道baseURL才行,注意二级目录的影响)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.