国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Git引起的 gitlab-runner 報錯

這篇具有很好參考價值的文章主要介紹了Git引起的 gitlab-runner 報錯。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

在查看gitlab CI作業(yè)時,發(fā)現(xiàn)意外報錯

重新初始化現(xiàn)存的 Git 版本庫于 /home/gitlab-runner/builds/nzfEHD8s/0/devops/dig/.git/
fatal: git fetch-pack: expected shallow list
fatal: The remote end hung up unexpectedly
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: exit status 1

cleaning up project directory and file based variables,錯誤問題解決,git,gitlab,github

?報錯時由于git版本引起的,查看git版本

[root@bt dig]# git version
git version 1.8.3.1

使用yum?list | grep git,yum默認(rèn)阿里云源里面最新的版本就是1.18.3?

我們需要升級git 的版本

1、安裝源

yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm

2、更新git軟件

yum install git -y

3、檢查版本測試

[root@bt dig]# git --version
git version 2.31.1

版本已經(jīng)更新最2.31了,再次執(zhí)行g(shù)itlab CI作業(yè),報錯已經(jīng)解決了。

cleaning up project directory and file based variables,錯誤問題解決,git,gitlab,github

?文章來源地址http://www.zghlxwxcb.cn/news/detail-519758.html

到了這里,關(guān)于Git引起的 gitlab-runner 報錯的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進(jìn)行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • kubernetes基于helm部署gitlab-runner

    kubernetes基于helm部署gitlab-runner

    這篇博文介紹如何在 Kubernetes 中使用helm部署 GitLab-runner。 先決條件: 已運行的 Kubernetes 集群 已運行的 gitlab 實例 項目地址:https://gitlab.com/gitlab-org/charts/gitlab-runner 官方文檔:https://docs.gitlab.com/runner/install/kubernetes.html 1、登陸UI創(chuàng)建新的runner 選擇Your work– Admin Area 2、選擇CI/

    2024年02月13日
    瀏覽(13)
  • Docker中g(shù)itlab以及gitlab-runner的安裝與使用

    Docker中g(shù)itlab以及gitlab-runner的安裝與使用

    1、本文主要講述如何使用Docker安裝gitlab以及gitlab-runner,并且會講述gitlab-runner如何使用 2、gitlab部分不需要修改過多的配置即可使用,本文未講述https配置,如有需求,可自行百度 3、 Docker如何安裝可以自行百度 1、使用命令直接安裝gitlab最新版本(建議安裝最新版本,更加安

    2024年02月14日
    瀏覽(18)
  • 【基于 GitLab 的 CI/CD 實踐】02、gitlab-runner 實踐

    【基于 GitLab 的 CI/CD 實踐】02、gitlab-runner 實踐

    目錄 一、gitlab-runner 簡介 1.1 要求 1.2 特點 二、GitLab Runner 安裝 2.1 使用 GItLab 官方倉庫安裝 2.2 使用 deb/rpm 軟件包 2.3 在容器中運行 GitLab Runner 三、GitLab Runner 注冊 3.1 GitLabRunner 類型 3.2 獲取 runner token 獲取?shared?類型 runner token ? ?獲取?group?類型的 runner token ? ?獲取?speci

    2024年02月16日
    瀏覽(23)
  • gitlab-runner 中的 Docker-in-Docker

    筆者個人理解:gitlab-runner 安裝后就是一個監(jiān)聽狀態(tài)的 runner,而通過 gitlab-runner register 注冊的“實例”其實只是預(yù)定義的配置節(jié),當(dāng)消息抵達(dá)后,gitlab-runner 根據(jù)消息內(nèi)容選擇相應(yīng)的配置節(jié)啟動執(zhí)行線程。為了方便闡述和理解,本文也將每個 配置節(jié)/執(zhí)行線程 稱為 runner 實例

    2024年02月05日
    瀏覽(16)
  • 【Unity報錯】Some objects were not cleaned up when closing the scene.

    【Unity報錯】Some objects were not cleaned up when closing the scene.

    Unity結(jié)束運行的時候報錯Some objects were not cleaned up when closing the scene. (Did you spawn new GameObjects from OnDestroy?) 結(jié)束運行的時候突然報錯,有概率,有時候有有時候沒有 結(jié)束運行的時候在OnDestroy中調(diào)用了Mono的單例類,但是呢OnDestroy調(diào)用次序是不同的,有可能A先B后,也有可能是B先

    2024年02月02日
    瀏覽(29)
  • docker 報錯“Encountered errors while bringing up the project”,實測有效

    docker 報錯“Encountered errors while bringing up the project”,實測有效

    最近在安裝開源數(shù)據(jù)可視化工具 DataEase 服務(wù)時,遇到了報錯,報錯截圖如下: 報錯內(nèi)容: ?解決方案: 當(dāng)這種報錯時,dectl reload、dectl restart 都不生效,那么出現(xiàn)錯誤的原因是什么呢? 錯誤出現(xiàn)的原因是,之前啟動的?docker-compose 沒有關(guān)閉。 此時只需要進(jìn)行 docker-compose 的關(guān)

    2024年02月14日
    瀏覽(20)
  • git 報錯(nothing to commit, working tree clean)

    ? ? ? ? 首先說一下git 的幾個區(qū): ? ? ? ? 1)工作區(qū): 也就是本地文件區(qū)域 ? ? ? ? 2)版本庫中的暫存區(qū): 將本地工作區(qū)文件加到暫存區(qū),也就是 git add .? 之后 ? ? ? ? 3)? 版本庫當(dāng)前分支:? 暫存區(qū)的東西提交到當(dāng)前分支,也就是 git commit -m 之后 這里出現(xiàn)這個錯誤的

    2024年02月10日
    瀏覽(20)
  • gitee(碼云)git did not exit cleanly (exit code 1)報錯解決辦法

    gitee(碼云)git did not exit cleanly (exit code 1)報錯解決辦法

    git did not exit cleanly (exit code 1) 用之前看是否為此錯誤 ?。?! 相信很多小伙伴在使用gitee時都碰到過這個問題,網(wǎng)上的解決辦法有的看著很復(fù)雜,那么我在這里分享一個簡單的辦法。 [親測有效] 一 出現(xiàn)的問題 二 解決辦法 ?1 先把之前clone的本地倉庫放進(jìn)回收站(防止文件找不

    2024年04月26日
    瀏覽(22)
  • gitlab CI/CD 安裝 gitlab runner

    gitlab CI/CD 安裝 gitlab runner

    一、為什么需要安裝gitlab runner ? 極狐GitLab Runner 是在流水線中運行作業(yè)的應(yīng)用,與極狐GitLab CI/CD 配合運作。 說白了就是你部署的一個agent。 二、如何安裝? 1.介紹通過helm部署github runner 2.helm添加倉庫 helm repo add gitlab https://charts.gitlab.io 3.拉取chars helm pull gitlab/gitlab-runner -- 拉

    2024年02月14日
    瀏覽(33)
  • gitlab runner

    # install ``` # Download the binary for your system sudo curl -L --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 # Give it permission to execute sudo chmod +x /usr/local/bin/gitlab-runner # Create a GitLab Runner user sudo useradd --comment \\\'GitLab Runner\\\' --create-home gitlab-r

    2024年02月07日
    瀏覽(16)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包