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"

相关推荐
月如琉璃7 小时前
0.gitlab ubuntu20.04 部署问题解决
gitlab
the丶only7 小时前
单点登录平台Casdoor搭建与使用,集成gitlab同步创建删除账号
linux·运维·服务器·docker·gitlab
书生-w7 小时前
Docker部署GitLab服务器
服务器·docker·gitlab
isolusion1 天前
gitlab安装
gitlab
Y编程小白1 天前
GitLab的安装和使用
gitlab
谢家小布柔1 天前
Gitlab
gitlab
catmes2 天前
使用docker compose安装gitlab
运维·docker·容器·gitlab·敏捷开发·devops
月如琉璃2 天前
2.利用docker进行gitlab服务器迁移
服务器·docker·gitlab
IT闫2 天前
【Git从入门到精通】——新版IDea集成Git、Idea集成Github、Gitee以及GItLab应用(看这一篇就够了)
git·gitee·gitlab·github·intellij-idea
lisenustc3 天前
在linux系统的docker中安装GitLab
linux·docker·gitlab