• GitLab使用


    版本:GitLab Community Edition 8.9.9

    1.配置权限

    public,private
    developer,master,owner

    project
    groups

    2.ssh免密码登录
    ssh-keygen -t rsa -C "your_email@youremail.com"

    git config --global user.name "John Doe"
    git config --global user.email johndoe@example.com

    etc/gitconfig

    添加ssh pub

    Profile Settings /SSH Keys

    修改ssh端口22->xxx,如65520
    gitlab_rails['gitlab_shell_ssh_port'] = 65520

    3.新增邮箱通知

    /etc/gitlab/gitlab.rb

     #Sending application email via SMTP
     gitlab_rails['smtp_enable'] = true
     gitlab_rails['smtp_address'] = "smtp.qiye.163.com"
     gitlab_rails['smtp_port'] = 25
     gitlab_rails['smtp_user_name'] = "yyy@xxx.com"
     gitlab_rails['smtp_password'] = "Aaq1w2e3r4"
     gitlab_rails['smtp_domain'] = "mail.xxx.com"
     gitlab_rails['smtp_authentication'] = "login"
     gitlab_rails['smtp_enable_starttls_auto'] = true
    
    
     #修改gitlab配置的发信人
     gitlab_rails['gitlab_email_from'] = "yyy@xxx.com"
     user["git_user_email"] = "yyy@xxx.com"
    

    重启配置
    gitlab-ctl reconfigure
    gitlab-ctl restart

    再设置通知邮箱。

  • 相关阅读:
    电源设计考虑的问题
    板级隔离电源
    浪涌特性
    LED
    电荷泵
    ps抠图
    cadence pcb 导入logo
    allegro pcb 设置快捷键
    【成长】今天,我也是个面试官(BIOS面试)
    【成长】---一枚研发狗的自我认知历程
  • 原文地址:https://www.cnblogs.com/lynclynn/p/6066614.html
Copyright © 2020-2023  润新知