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

New Deployment Type: Azure Automation runbook #124

Open
FISHMANPET opened this issue May 22, 2019 · 2 comments
Open

New Deployment Type: Azure Automation runbook #124

FISHMANPET opened this issue May 22, 2019 · 2 comments

Comments

@FISHMANPET
Copy link

I'd like to use PSDeploy to deploy runbooks to Azure Automation so I'm going to write a new deployment type for that

@RamblingCookieMonster
Copy link
Owner

Awesome! Hit me up if you have any questions or run into any issues creating this!

@FISHMANPET
Copy link
Author

So I've been taking myself down a path where I'm writing runbooks and then also a bunch of functions that go specifically with that runbook. So I can pester test them, I've put the functions into another file so they can be tested without executing the whole runbook. I don't want to make them a module because they're too closely coupled with the code to be useful anywhere else.

To keep our Azure space clean my plan was to concatenate the runbook and it's functions into one file instead of deploying two runbooks, one of which will never be executed, only dot sourced.

Is this something that would be useful in PSDeploy? I haven't looked at the PSDeploy framework enough to know if it's something the module would support. I can just as easily put the files together in a script and then pass a single script to PSDeploy, but I'm thinking if it's valuable to me it might be valuable to others?

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 a pull request may close this issue.

2 participants