-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Given example 1
$ deploy build config.yaml
Building hello-1.0.0...
hello> + echo 'src: binary.sh'
hello> + echo 'out: output/prefix/.store/b033b3db0f59c98af8760ed4da70204c0ba56fc6-hello-1.0.0'
hello> + mkdir -p output/prefix/.store/b033b3db0f59c98af8760ed4da70204c0ba56fc6-hello-1.0.0/bin
hello> src: binary.sh
hello> out: output/prefix/.store/b033b3db0f59c98af8760ed4da70204c0ba56fc6-hello-1.0.0
hello> + cp binary.sh output/prefix/.store/b033b3db0f59c98af8760ed4da70204c0ba56fc6-hello-1.0.0/bin/
Created symlink: output/prefix/1.0.0 -> 1.0.0-1
Created symlink: output/prefix/1.0 -> 1.0.0
Created symlink: output/prefix/1 -> 1.0
Created symlink: output/prefix/latest -> 1.0.0-1
Created symlink: output/prefix/stable -> latest
$ deploy build config.yaml
Ignoring hello-1.0.0: Already built at output/prefix/.store/b033b3db0f59c98af8760ed4da70204c0ba56fc6-hello-1.0.0
Environment already exists at output/prefix/1.0.0-1
Traceback (most recent call last):
File "/Users/LPHA/GitProjects/cirrus-deploy/.venv/bin/deploy", line 10, in <module>
sys.exit(cli())
^^^^^
File "/Users/LPHA/GitProjects/cirrus-deploy/.venv/lib/python3.11/site-packages/click/core.py", line 1485, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/LPHA/GitProjects/cirrus-deploy/.venv/lib/python3.11/site-packages/click/core.py", line 1406, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/LPHA/GitProjects/cirrus-deploy/.venv/lib/python3.11/site-packages/click/core.py", line 1873, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/LPHA/GitProjects/cirrus-deploy/.venv/lib/python3.11/site-packages/click/core.py", line 1269, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/LPHA/GitProjects/cirrus-deploy/.venv/lib/python3.11/site-packages/click/core.py", line 824, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/LPHA/GitProjects/cirrus-deploy/src/deploy/commands/build.py", line 323, in subcommand_build
builder.build()
File "/Users/LPHA/GitProjects/cirrus-deploy/src/deploy/commands/build.py", line 232, in build
self._build_envs()
File "/Users/LPHA/GitProjects/cirrus-deploy/src/deploy/commands/build.py", line 242, in _build_envs
assert path is not None
^^^^^^^^^^^^^^^^
AssertionError
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers