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"

相关推荐
陈逸轩*^_^*1 天前
Git与GitLab的企业实战 笔记(尚硅谷)
笔记·git·gitlab
獨枭2 天前
GitLab 部署和配置指南
gitlab
loserbai-4 天前
gitlab修改root密码详细详情,高版本通用
gitlab
极小狐4 天前
GitLab 如何降级?
gitlab·devsecops·devops·极狐gitlab·安全合规
binqian4 天前
【gitlab-ce】各组件介绍
gitlab
极小狐4 天前
极狐GitLab 发布安全补丁版本17.5.2, 17.4.4, 17.3.7
gitlab·devsecops·devops·极狐gitlab·安全合规
Vanish_ran4 天前
gitlab与jenkins
运维·gitlab·jenkins
Algorithm15765 天前
mac上使用docker搭建gitlab
macos·docker·gitlab
binqian5 天前
【CICD】GitLab Runner 和执行器(Executor
gitlab