Action not to perform if the build should be skipped
Apparently, if the build should be skipped, the recipe won't be retrieved, but there's no check here:
https://gitlab.idiap.ch/bob/bob.devtools/blob/master/bob/devtools/scripts/build.py#L142
Yielding the following error
Traceback (most recent call last):
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/bin/bdt", line 11, in <module>
sys.exit(main())
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/bdt.py", line 42, in _decorator
value = view_func(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/ci.py", line 404, in build
ci=True,
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/bdt.py", line 42, in _decorator
value = view_func(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/build.py", line 142, in build
rendered_recipe = get_parsed_recipe(metadata)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/build.py", line 174, in get_parsed_recipe
output = conda_build.api.output_yaml(metadata[0][0])
IndexError: list index out of range
Thanks !
Edited by Guillaume HEUSCH