8000 build cache mixes Git versions · Issue #1606 · hpc/charliecloud · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.
This repository was archived by the owner on May 27, 2025. It is now read-only.
build cache mixes Git versions #1606
Closed
@j-ogas

Description

@j-ogas

Some systems have /var/tmp -> /tmp. In this case, when using the default storage path of /var/tmp, you can hit errors with the build cache.

$ ch-image pull --arch=ppc64le --tls-no-verify nvcr.io/nvidia/cuda:11.8.0-devel-ubi8
[...]
environment: {'GIT_DIR': '/var/tmp/sly1.ch/img/nvcr.io%nvidia%cuda+11.8.0-devel-ubi8/ch/git', 'GIT_WORK_TREE': '/var/tmp/sly1.ch/img/nvcr.io%nvidia%cuda+11.8.0-devel-ubi8'}
fatal: Not a git repository: /tmp/sly1.ch/bucache/worktrees/nvcr.io%nvidia%cuda+11.8.0-devel-ubi8
error: command failed with code 128: git add -A

perhaps set CH_IMAGE_STORAGE to the deferenced path, in this case, /tmp, to avoid issue?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0