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"

相关推荐
HIT_Weston4 小时前
66、【Ubuntu】【Gitlab】拉出内网 Web 服务:Gitlab 配置审视(十)
前端·ubuntu·gitlab
小池先生4 小时前
docker 安装gitlab
docker·容器·gitlab
pblh12315 小时前
本地局域网部署的gitlab使用教程
gitlab
一念一花一世界1 天前
Arbess从基础到实践(25) - 集成GitLab+阿里云OSS实现Java项目自动化构建并将制品上传Aliyun OSS
java·阿里云·gitlab·cicd·arbess
一念一花一世界2 天前
Arbess从基础到实践(23) - 集成GitLab+Hadess实现Java项目构建并上传制品
java·gitlab·cicd·arbess·制品库
HIT_Weston3 天前
63、【Ubuntu】【Gitlab】拉出内网 Web 服务:Gitlab 配置审视(七)
前端·ubuntu·gitlab
HIT_Weston3 天前
65、【Ubuntu】【Gitlab】拉出内网 Web 服务:Gitlab 配置审视(九)
前端·ubuntu·gitlab
victory04313 天前
GitLab部署报告
gitlab
HIT_Weston3 天前
64、【Ubuntu】【Gitlab】拉出内网 Web 服务:Gitlab 配置审视(八)
前端·ubuntu·gitlab
HIT_Weston3 天前
62、【Ubuntu】【Gitlab】拉出内网 Web 服务:Gitlab 配置审视(六)
前端·ubuntu·gitlab