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"

相关推荐
jasnet_u11 小时前
如何重置Gitlab的root用户密码
gitlab
全栈工程师修炼指南1 天前
告别手动构建!Jenkins 与 Gitlab 完美协作,根据参数自动化触发CI/CD流水线实践
运维·ci/cd·自动化·gitlab·jenkins
xiaok2 天前
分支管理提交代码
git·gitlab·github
*老工具人了*3 天前
Terraform整合到GitLab+Jenkins工具链
gitlab·jenkins·terraform
走上未曾设想的道路4 天前
中标麒麟7.4为gitlab添加Registry
gitlab
韩zj5 天前
docker部署Gitlab社区版,步骤以及外网访问出现502的解决方式
docker·容器·gitlab
走上未曾设想的道路5 天前
gitlab流水线与k8s集群的联通
kubernetes·gitlab
走上未曾设想的道路5 天前
中标麒麟7.4部署gitlab-runner
gitlab
xiaok5 天前
把代码上传到gitee的时候,怎么忽略node_modules文件夹
git·gitlab·github
deeper_wind6 天前
OpenEuler部署gitlab(小白的“升级打怪”成长之路)
gitlab