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

bump terraform provider version to v3.3.0 #167

Conversation

joeyorlando
Copy link
Contributor

Description of your changes

Closes grafana/oncall#4410

@joeyorlando joeyorlando requested a review from a team as a code owner July 8, 2024 17:22
@codecov-commenter
Copy link

codecov-commenter commented Jul 8, 2024

Codecov Report

Attention: Patch coverage is 0% with 552 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@5a6988e). Learn more about missing BASE report.

Files Patch % Lines
apis/sm/v1alpha1/zz_generated.deepcopy.go 0.00% 236 Missing ⚠️
apis/oncall/v1alpha1/zz_generated.deepcopy.go 0.00% 144 Missing ⚠️
apis/slo/v1alpha1/zz_generated.deepcopy.go 0.00% 63 Missing ⚠️
apis/alerting/v1alpha1/zz_generated.deepcopy.go 0.00% 24 Missing ⚠️
apis/oncall/v1alpha1/zz_generated.managed.go 0.00% 24 Missing ⚠️
...ll/v1alpha1/zz_usernotificationrule_terraformed.go 0.00% 14 Missing ⚠️
...oller/oncall/usernotificationrule/zz_controller.go 0.00% 13 Missing ⚠️
apis/oss/v1alpha1/zz_generated.deepcopy.go 0.00% 12 Missing ⚠️
apis/oss/v1alpha1/zz_generated.resolvers.go 0.00% 8 Missing ⚠️
apis/oncall/v1alpha1/zz_generated.managedlist.go 0.00% 5 Missing ⚠️
... and 5 more
Additional details and impacted files
@@          Coverage Diff           @@
##             main    #167   +/-   ##
======================================
  Coverage        ?   0.00%           
======================================
  Files           ?     198           
  Lines           ?   29396           
  Branches        ?       0           
======================================
  Hits            ?       0           
  Misses          ?   29396           
  Partials        ?       0           
Flag Coverage Δ
unittests 0.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Makefile Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

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

main change + that in go.mod/go.sum

"grafana_oncall_outgoing_webhook": ReplaceGroupWords("oncall", 1),
"grafana_oncall_route": ReplaceGroupWords("oncall", 1),
"grafana_oncall_schedule": ReplaceGroupWords("oncall", 1),
"grafana_oncall_user_notification_rule": ReplaceGroupWords("oncall", 1),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

main change

@joeyorlando
Copy link
Contributor Author

I'm not entirely sure if make generate is working 100% here? I get codegen'd results but an error when running the command:

❯ make generate
15:12:51 [ .. ] generating provider schema for grafana/grafana 3.3.0
15:12:51 [ OK ] generating provider schema for grafana/grafana 3.3.0
15:12:51 [ .. ] verify go modules dependencies have expected content
all modules verified
15:12:53 [ OK ] go modules dependencies verified
15:12:53 [WARN] the source directory is not relative to the GOPATH at /Users/joeyorlando/go or you are you using symlinks. The build might run into issue. Please move the source directory to be at /Users/joeyorlando/go/src/github.com/grafana/crossplane-provider-grafana
15:12:54 [ .. ] go generate linux_arm64

Generated 48 resources!
angryjet: error: error loading packages using pattern ./...: /Users/joeyorlando/coding/grafana/crossplane-provider-grafana/apis/cloud/v1alpha1/zz_generated.managed.go:11:11: undefined: APIKey
exit status 1
apis/generate.go:31: running "go": exit status 1
15:13:12 [FAIL]
make[1]: *** [go.generate] Error 1
make: *** [generate] Error 2

@julienduchesne julienduchesne merged commit 0f9fb07 into grafana:main Jul 9, 2024
8 checks passed
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.

Add ability to manage user notification policy resources via Terraform and Crossplane
3 participants