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

Add cloudbuild trigger InSpec resource #1274

Merged
merged 4 commits into from
Jan 22, 2019

Conversation

slevenick
Copy link
Contributor

Add InSpec support for CloudBuild trigger


[all]

[terraform]

[terraform-beta]

[ansible]

[inspec]

@modular-magician
Copy link
Collaborator

I am a robot that works on MagicModules PRs!

I built this PR into one or more PRs on other repositories, and when those are closed, this PR will also be merged and closed.
depends: modular-magician/inspec-gcp#82

@modular-magician
Copy link
Collaborator

I am (still) a robot that works on MagicModules PRs!

I just wanted to let you know that your changes (as of commit 9baedb6) have been included in your existing downstream PRs.

@@ -593,7 +593,7 @@ def get_type(type)
def property_ns_prefix
[
'Google',
@__resource.__product.api_name.camelize(:upper),
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 believe this was a bug in all providers that used this type system that was never surfaced because they didn't support Cloud Build.

Basically, it was turning "Cloud Build" to Cloudbuild rather than CloudBuild for module names on the ruby classes.

Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't look like it affects anyone else, so I guess we're fine.

We should have a MM-wide conversation about what to do with these 'property_class' methods (which is what this is used for). It feels weird to have them in api/.

@modular-magician
Copy link
Collaborator

I am (still) a robot that works on MagicModules PRs!

I just wanted to let you know that your changes (as of commit b354208) have been included in your existing downstream PRs.

@@ -593,7 +593,7 @@ def get_type(type)
def property_ns_prefix
[
'Google',
@__resource.__product.api_name.camelize(:upper),
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't look like it affects anyone else, so I guess we're fine.

We should have a MM-wide conversation about what to do with these 'property_class' methods (which is what this is used for). It feels weird to have them in api/.

@modular-magician modular-magician force-pushed the inspec-cloud-build-trigger branch from 78127b4 to 5499923 Compare January 22, 2019 18:50
@modular-magician modular-magician merged commit 58d6733 into master Jan 22, 2019
@slevenick slevenick deleted the inspec-cloud-build-trigger branch April 15, 2019 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants