Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broadcast: settings in file #2108

Closed
matthewrmshin opened this issue Jan 11, 2017 · 1 comment
Closed

broadcast: settings in file #2108

matthewrmshin opened this issue Jan 11, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@matthewrmshin
Copy link
Contributor

While the --set=[SEC]ITEM=VALUE option to broadcast is good enough for most cases, it can be quite difficult for:

  • multi-line values
  • values with lots of shell meta characters.
  • many values

It should be possible to support broadcast options from a file that looks like a suite.rc fragment (with 2 section levels removed?)

Either:

[runtime]
    [[__BROADCAST__]]
        script = printenv FOOBAR
        [[[environment]]]
            FOOBAR=foobar

Or:

# Broadcast
script = printenv FOOBAR
[environment]
    FOOBAR=foobar

We'll then do cylc broadcast SUITE --file=FILE?

@matthewrmshin matthewrmshin added this to the soon milestone Jan 11, 2017
@matthewrmshin matthewrmshin self-assigned this Jan 11, 2017
@hjoliver
Copy link
Member

Good idea.

@matthewrmshin matthewrmshin modified the milestones: next release, soon Jan 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants