You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unused options error in make_docker_context.py #23
When running make_docker_context.py, it fails with an Unused options error
Environment
tag or commit hash on which this occured
master
OS version: <e.g. ubuntu-16.04>
CentOS 7
...
Minimal test code / Steps to reproduce the issue
Just run ./make_docker_context.py in build/fbcode_builder
What's the actual result?
/tmp/openr/build/fbcode_builder (master %=) > ./make_docker_context.py
INFO: Docker ccache not enabled
Traceback (most recent call last):
File "./make_docker_context.py", line 173, in <module>
config['github_project'],
File "./make_docker_context.py", line 154, in make_docker_context
dockerfile = builder.render(get_steps_fn(builder))
File "/tmp/openr/build/fbcode_builder/fbcode_builder.py", line 136, in render
.format(unused_options)
RuntimeError: Unused options: set([u'prefix', u'make_parallelism', u'projects_dir']) -- please check if you made a typo in any of them. Those that are truly not useful should be not be set so that this typo detection can be useful.
What's the expected result?
No error and the Dockerfile is generated.
Note: If I simply remove that unused options check the Dockerfile is generated (but I think it then ignores those 3 options).
this is a bit of ugliness. you need to run that command from the parent directory (openr/build/) to pick up the fbcode_builder_config.py that lives there. The one in openr/build/fbcode_builder is usesd so the command works for --help
Activity
jstrizich commentedon Mar 20, 2018
this is a bit of ugliness. you need to run that command from the parent directory (
openr/build/) to pick up the fbcode_builder_config.py that lives there. The one inopenr/build/fbcode_builderis usesd so the command works for --helpjeroen-dhollander commentedon Mar 21, 2018
Thank you, running it from the parent directory solved the errors.
add better error for passing config with no steps
add better error for passing config with no steps
add better error for passing config with no steps
add better error for passing config with no steps
add better error for passing config with no steps
add better error for passing config with no steps
GitHub Actions: fix running out of space on Ubuntu build workflow (#23)
Bugfix: fix kvstore stuck issue during desctruction sequence