gitlab-development-kit部署gitlab《二》

gitlab-development-kit部署gitlab《一》

环境

mac 12.7.4

xcode 14.2

gdk 0.2.16

gitlab-foss 13.7

QA

Brewfile 注释的可以手动安装

复制代码
brew "cmake"
brew "coreutils"
brew "docutils"
brew "dpkg"
brew "exiftool"
brew "git"
#brew "git-lfs"
#brew "gitleaks"
brew "gnupg"
brew "gpgme"
brew "graphicsmagick"
brew "icu4c"
brew "libiconv"
brew "libssh2"
#brew "openssl@1.1", link: :force
brew "pkg-config"
brew "re2"
brew "runit"
brew "sqlite"
#brew "vale"
#brew "vault"
brew "yamllint"
#cask "chromedriver"

brew install chromedriver --cask

  • go:linkname must refer to declared function or variable

    https://stackoverflow.com/questions/71507321/go-1-18-build-error-on-mac-unix-syscall-darwin-1-13-go253-golinkname-mus

    cd gitlab/workhorse
    get -u golang.org/x/sys

  • gitaly gem install charlock_holmes warning: implicit conversion loses integer precision: 'long' to 'int32_t'

    https://ruby-china.org/topics/40931

  • gitlabhq_development_ci exists, nothing to do here.
    req: Unknown digest addext
    req: Use -help for summary.
    make: *** [localhost.key] Error 1

    openssl req -newkey rsa:4096 -new -nodes -x509 -days 3650 -out testdata/gitalycert.pem -keyout testdata/gitalykey.pem -subj "/C=US/ST=California/L=San Francisco/O=GitLab/OU=GitLab-Shell/CN=localhost" -addext "subjectAltName = IP:127.0.0.1, DNS:localhost"

    brew install openssl@3.0

    vim ~/.zshrc

    export PATH="/usr/local/opt/openssl@3.0/bin:$PATH"
    export LDFLAGS="-L/usr/local/opt/openssl@3.0/lib"
    export CPPFLAGS="-I/usr/local/opt/openssl@3.0/include"

  • git diff Makefile

    diff --git a/Makefile b/Makefile
    index eec70e5f..f41031fd 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -1,3 +1,4 @@
    +VERBOSE = 1
    .NOTPARALLEL:

    START_TIME := (shell date "+%s") @@ -38,7 +39,8 @@ export GDK_QUIET = (gdk_quiet)
    include support/makefiles/*.mk

    ifeq ((platform),darwin) -OPENSSL_PREFIX := (shell brew --prefix openssl@1.1)
    +#OPENSSL_PREFIX := (shell brew --prefix openssl@1.1) +OPENSSL_PREFIX := (shell brew --prefix openssl@3.0)
    OPENSSL := {OPENSSL_PREFIX}/bin/openssl else OPENSSL := (shell command -v openssl 2> /dev/null)
    @@ -80,7 +82,7 @@ openldap-setup
    prom-setup
    object-storage-setup
    gitlab-elasticsearch-indexer-setup
    -gitlab-metrics-exporter-setup
    +#gitlab-metrics-exporter-setup
    grafana-setup
    gitlab-ui-setup
    gitlab-docs-setup
    @@ -113,7 +115,7 @@ gitlab-k8s-agent-update
    gitaly-update
    gitlab-update
    gitlab-elasticsearch-indexer-update
    -gitlab-metrics-exporter-update
    +#gitlab-metrics-exporter-update
    object-storage-update
    jaeger-update
    grafana-update \

  • git diff Brewfile

    --- a/Brewfile
    +++ b/Brewfile
    @@ -4,20 +4,20 @@ brew "docutils"
    brew "dpkg"
    brew "exiftool"
    brew "git"
    -brew "git-lfs"
    -brew "gitleaks"
    +#brew "git-lfs"
    +#brew "gitleaks"
    brew "gnupg"
    brew "gpgme"
    brew "graphicsmagick"
    brew "icu4c"
    brew "libiconv"
    brew "libssh2"
    -brew "openssl@1.1", link: :force
    +#brew "openssl@1.1", link: :force
    brew "pkg-config"
    brew "re2"
    brew "runit"
    brew "sqlite"
    -brew "vale"
    -brew "vault"
    +#brew "vale"
    +#brew "vault"
    brew "yamllint"
    -cask "chromedriver"
    +#cask "chromedriver"

相关推荐
张小凡vip6 小时前
数据挖掘(五) -----JupyterHub 使用gitlab的账号体系进行认证
人工智能·数据挖掘·gitlab
沛沛老爹1 天前
Web开发者转型AI:Agent Skills团队知识共享机制实战——从GitLab到AI技能库
java·人工智能·gitlab·rag·企业转型·web转ai
Apex Predator1 天前
gitlab备份与恢复
运维·gitlab
一念一花一世界1 天前
Arbess项目实战 - 基于GitLab搭建.net项目自动化流水线
ci/cd·gitlab·.net·arbess
techzhi2 天前
Apifox CLI + GitLab CI:接口自动化测试实施记录
java·ci/cd·kubernetes·gitlab·yapi·运维开发·fastapi
kida_yuan2 天前
【Linux】在树莓派上搭建自建 Git 服务(基于 GitLab)- 实战笔记与运维清单
运维·gitlab·树莓派
魏波.2 天前
使用A账号生成gitlab上某项目的token,如果A账号把修改密码,那token会失效吗?
gitlab·token
ICT董老师2 天前
在Ubuntu 22.04上使用GitLab和Jenkins部署CI/CD的完整过程
ubuntu·ci/cd·kubernetes·gitlab·jenkins
liux35282 天前
DevOps 实践指南:GitLab与Jenkins部署
gitlab·jenkins·devops
一念一花一世界3 天前
Arbess项目实战 - 基于GitLab搭建Node.js项目自动化流水线
ci/cd·node.js·自动化·gitlab·arbess