Skip to content

Conversation

@Jswig
Copy link
Contributor

@Jswig Jswig commented Jul 13, 2020

This contains changes allowing to pass step-specific container options to the Docker runner.
Edited some tests to reflect new behavior.

"matching-rule": "any",
"mapping": {"regex;(.+)": {"type": "str"}},
},
"options": {"type": "map", "allowempty": True},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preferred to keep the yml validation simple as it would be unwieldy to specify all allowable options for all container runtimes


self._update_with_engine_config(args)

args.update(step.options)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after update_with_engine_config to ensure overall configuration is overriden

@Jswig Jswig marked this pull request as ready for review July 13, 2020 16:02
@Jswig Jswig changed the title Implementation of container options for Docker runner Implementation of Docker container options for steps Jul 13, 2020
Copy link
Collaborator

@ivotron ivotron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks great! The only other thing that it could be added is documentation. Would it be possible to include add a new attribute to this table, with a note specifying that this is only available for Docker.

Also, a couple of sentences can be included in the Custom Engine Configuration section that mention that this can be done at the level of a step.

@ivotron ivotron merged commit b672201 into getpopper:master Jul 16, 2020
@ivotron
Copy link
Collaborator

ivotron commented Jul 16, 2020

thanks @Jswig !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants