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

Fixes configuration for Azure integrationt tests #2941

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

dmccown
Copy link
Contributor

@dmccown dmccown commented Apr 10, 2018

Updates some calls in train so we can access the configuration options
for some integration tests.

Signed-off-by: David McCown dmccown@chef.io

@dmccown dmccown requested a review from a team as a code owner April 10, 2018 22:40
Rakefile Outdated
@@ -162,7 +162,9 @@ namespace :test do
sh("cd #{integration_dir}/build/ && terraform workspace new #{tf_workspace}")

# Generate Azure crendentials
creds = Train.create('azure').connection.connect
connection = Train.create('azure').connection
connection.connect
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahh nice catch. I'll update.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I updated and confirmed it works without the explicit connect.

Updates some calls in train so we can access the configuration options
for some integration tests.

Signed-off-by: David McCown <dmccown@chef.io>
@dmccown dmccown force-pushed the dwm/fix-az-integration-tests branch from fa1dcb9 to 86e7d5d Compare April 11, 2018 15:04
Copy link
Contributor

@TrevorBramble TrevorBramble left a comment

Choose a reason for hiding this comment

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

Awesome!

Copy link
Contributor

@jquick jquick left a comment

Choose a reason for hiding this comment

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

Thanks @dmccown

@jquick jquick merged commit 3c2ab65 into master Apr 11, 2018
@jquick jquick deleted the dwm/fix-az-integration-tests branch April 11, 2018 19:13
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.

4 participants