может кто-нибудь сталкивался?
Error: unable to resolve commit file "MyProjectI/werf-giterminism.yaml": unable to get commit tree entry "MyProject/werf-giterminism.yaml": bad commit "0a20004349dbdc1cbc6ca0b939c8a3a43b8fbdd6": object not found
Точно на 1.2 не воспроизводится? Мы эту часть при переходе не трогали.
Нам бы воспроизводимый пример 🙏
Интересно, воспроизвелось без всяких сабмодулей https://github.com/ch1seL/werf2-teamcity-problem-reproduce TeamCity: object ProblemReproduce : BuildType({ name = "Problem Reproduce" vcs { root(DslContext.settingsRoot) } steps { script { name = "Install werf" id = "Install_werf" scriptContent = """ #!/bin/bash curl -sSL https://werf.io/install.sh | bash -s -- --ci """.trimIndent() } script { name = "Werf build" id = "Werf_build" scriptContent = """ #!/bin/bash source "${'$'}(~/bin/trdl use werf 2 stable)" werf build --log-debug """.trimIndent() } } }) Лог: 12:07:11 Step 2/2: Werf build (Command Line) 12:07:11 Starting: /opt/teamcity-agent02/temp/agentTmp/custom_script3560570133022407196 12:07:11 in directory: /opt/teamcity-agent02/work/9868c23a0e010469 12:07:11 56.182466ms Version: v2.10.5 12:07:11 57.364243ms Running command "/usr/bin/git -c core.autocrlf=false -c gc.auto=0 -c commit.gpgsign=false version" 12:07:11 58.400722ms git version 2.47.0 12:07:11 59.077908ms Running ssh agent on unix sock: /opt/teamcity-agent02/temp/buildTmp/werf-ssh-agent/6f3b5c68-6b77-4ff1-9628-ea5c44903db4 12:07:11 59.711195ms Added private key /home/teamcityagent/.ssh/id_rsa to ssh agent ↵ 12:07:11 59.721095ms /opt/teamcity-agent02/temp/buildTmp/werf-ssh-agent/6f3b5c68-6b77-4ff1-9628-ea5c44903db4 12:07:11 59.817793ms Running command "/usr/bin/git -c core.autocrlf=false -c gc.auto=0 -c commit.gpgsign=false --git-dir ↵ 12:07:11 59.829393ms /opt/teamcity-agent02/work/9868c23a0e010469/.git rev-parse" 12:07:11 61.153366ms Running command "/usr/bin/git -c core.autocrlf=false -c gc.auto=0 -c commit.gpgsign=false --git-dir ↵ 12:07:11 61.163266ms /opt/teamcity-agent02/work/9868c23a0e010469/.git rev-parse --git-dir" 12:07:11 62.172646ms /opt/teamcity-agent02/work/9868c23a0e010469/.git 12:07:11 62.353342ms Running command "/usr/bin/git -c core.autocrlf=false -c gc.auto=0 -c commit.gpgsign=false show-ref --head" 12:07:11 63.653716ms 57b6f338562f551b270d97fe07e6ca83efee95c1 HEAD 12:07:11 63.658616ms 57b6f338562f551b270d97fe07e6ca83efee95c1 refs/heads/main 12:07:11 63.663616ms 57b6f338562f551b270d97fe07e6ca83efee95c1 refs/remotes/origin/main 12:07:11 70.631775ms Running time 0.01 seconds 12:07:12 Error: unable to resolve commit file "werf-giterminism.yaml": unable to get commit tree entry "werf-giterminism.yaml": bad commit "57b6f338562f551b270d97fe07e6ca83efee95c1": object not found 12:07:12 Process exited with code 1 12:07:12 Process exited with code 1 (Step: Werf build (Command Line)) 12:07:12 Step Werf build (Command Line) failed
Обсуждают сегодня