flyingcircusio / batou

batou is a universal, fractal deployment utility using Python.
https://batou.readthedocs.org
Other
47 stars 11 forks source link

Better reporting of invalid revision range when using git-bundle #290

Closed sweh closed 9 months ago

sweh commented 2 years ago
('fatal: Refusing to create empty bundle.\n', 'host00')
('fatal: Refusing to create empty bundle.\n', 'host33')
('fatal: Refusing to create empty bundle.\n', 'host21')
('fatal: Refusing to create empty bundle.\n', 'host03')
('fatal: Refusing to create empty bundle.\n', 'host01')
('fatal: Refusing to create empty bundle.\n', 'host46')
('fatal: Refusing to create empty bundle.\n', 'host47')
('fatal: Invalid revision range 7b7aeb0c5d0ef8480d60469205c39bb4ecc5d2fb..testing\n', 'clxstagc60')
('fatal: Refusing to create empty bundle.\n', 'host61')
ERROR: git fetch batou-bundle
Return code: 128
STDOUT

STDERR
fatal: invalid gitfile format: batou-bundle.git
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

============================================================================================== Waiting for remaining connections ... ==============================================================================================

ERROR: Unexpected exception
    Traceback (most recent call last):
    File ".appenv/80112659/lib/python3.8/site-packages/batou/deploy.py", line 252, in main
    getattr(deployment, step)()
    File ".appenv/80112659/lib/python3.8/site-packages/batou/deploy.py", line 182, in deploy
    [c.join() for c in self.connections]
    File ".appenv/80112659/lib/python3.8/site-packages/batou/deploy.py", line 182, in <listcomp>
    [c.join() for c in self.connections]
    File ".appenv/80112659/lib/python3.8/site-packages/batou/deploy.py", line 50, in join
    raise exc_value.with_traceback(exc_tb)
    File ".appenv/80112659/lib/python3.8/site-packages/batou/deploy.py", line 42, in run
    self.host.start()
    File ".appenv/80112659/lib/python3.8/site-packages/batou/host.py", line 287, in start
    env.repository.update(self)
    File ".appenv/80112659/lib/python3.8/site-packages/batou/repository.py", line 246, in update
    self._ship(host)
    File ".appenv/80112659/lib/python3.8/site-packages/batou/repository.py", line 332, in _ship
    host.rpc.git_unbundle_code()
    File ".appenv/80112659/lib/python3.8/site-packages/batou/host.py", line 99, in call
    raise RuntimeError(
    RuntimeError: host.fcio.net: Remote exception encountered.
================================================================================================ DEPLOYMENT FAILED (during deploy) ================================================================================================