Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-52349

Address "git: 'remote-https' is not a git command. See 'git --help'."

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None

      /build-and-push-container --build-arg OPENSHIFT_PYTHON_WRAPPER_COMMIT=<commit#> is no longer working for main branch. This is an imporant part to support.

      Resolved 128 packages in 2ms
      error: Git operation failed
        Caused by: failed to clone into: .cache/git-v0/db/531a759214059121
        Caused by: failed to fetch commit `74f9422e1bca817e59e4215654255a650957fbfe`
        Caused by: process didn't exit successfully: `/usr/bin/git fetch --force --update-head-ok 'https://github.com/RedHatQE/openshift-python-wrapper.git' '+74f9422e1bca817e59e4215654255a650957fbfe:refs/commit/74f9422e1bca817e59e4215654255a650957fbfe'` (exit status: 128)
      --- stderr
      git: 'remote-https' is not a git command. See 'git --help'.
      fatal: remote helper 'https' aborted session
      Error: building at STEP "RUN uv sync --locked   && uv export --no-hashes   && if [[ -n "${OPENSHIFT_PYTHON_WRAPPER_COMMIT}" ]]; then uv pip install git+https://github.com/RedHatQE/openshift-python-wrapper.git@$OPENSHIFT_PYTHON_WRAPPER_COMMIT; fi   && if [[ -n "${OPENSHIFT_PYTHON_UTILITIES_COMMIT}" ]]; then uv pip install git+https://github.com/RedHatQE/openshift-python-utilities.git@$OPENSHIFT_PYTHON_UTILITIES_COMMIT; fi   && rm -rf ${CNV_TESTS_DIR}/.cache   && rm -rf ${CNV_TESTS_DIR}/artifacts   && find ${CNV_TESTS_DIR}/ -type d -name "__pycache__" -print0 | xargs -0 rm -rfv": while running runtime: exit status 2
      make: *** [Makefile:28: build-container]
      

              rhn-support-dbasunag Debarati Basu-Nag
              rhn-support-dbasunag Debarati Basu-Nag
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: