Skip to content

Test buildbox-worker --validate-parameters option

Santiago Gil requested to merge santigl/worker-validate-runner-command into master

Before raising this MR, consider whether the following are required, and complete if so:

  • Unit tests
  • Metrics
  • Documentation update(s)

If not required, please explain in brief why not.

Description

buildbox-worker!93 (merged) proposes making the worker validate the runner command when it starts. If the path to the runner is not valid, or if there are missing or unknown arguments, the worker will exit immediately.

Changes proposed in this merge request:

  • Add a step in the bin/end-to-end-test.sh script that asserts that the worker exits immediately when the runner is given an argument that it does not support.

(Requires the changes in buildbox-worker!93 (merged))

Edited by Santiago Gil

Merge request reports