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

Fix for updating the dapr bicep files to remove mode. #5688

Merged
merged 5 commits into from
Jun 13, 2023

Conversation

vishwahiremat
Copy link
Contributor

@vishwahiremat vishwahiremat commented Jun 9, 2023

Description

Added cahnges to remove mode for dapr secret store bicep files.

Issue reference

Fixes: #issue_number

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Adds necessary unit tests for change
  • Adds necessary E2E tests for change
  • Unit tests passing
  • Extended the documentation / Created issue for it

Auto-generated summary

🤖 Generated by Copilot at 997d47d

Summary

📝🐹📄

Add a period to the doc comment for the DaprSecretStoreProperties model in the Applications.Link namespace. This improves the documentation and consistency of the cadl models and the generated Go and OpenAPI files.

DaprSecretStore
Adding periods for docs
Winter of cadl

Walkthrough

  • Add a period to the doc comment and description of the DaprSecretStoreProperties model and its generated counterparts in Go and OpenAPI (link, link, link)

@vishwahiremat vishwahiremat requested a review from a team as a code owner June 9, 2023 00:14
@github-actions
Copy link

github-actions bot commented Jun 9, 2023

You are editing files which require a docs update. Please ensure you've made the appropriate changes to the docs and submitted a PR.

  • Swagger changes require reference edge docs to be updated here
  • Make sure to create a branch and submit a PR into the edge branch instead of the default latest branch, as the swagger changes will not be available until the next release.

For more information on contributing to docs please visit https://docs.radapp.dev/contributing/docs/.

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

Radius functional test overview

🔍 Go to test action run

Name Value
Repository project-radius/radius
Commit ref 997d47d
Unique ID 68aa618a2d
Image tag pr-68aa618a2d
Click here to see the list of tools in the current test run
  • KinD: v0.18.0
  • Dapr: 1.10.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.0.0
  • recipe location radiusdev.azurecr.io/test/functional/corerp/recipes/<name>:pr-68aa618a2d
  • appcore-rp test image location: radiusdev.azurecr.io/appcore-rp:pr-68aa618a2d
  • ucp test image location: radiusdev.azurecr.io/ucpd:pr-68aa618a2d

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp functional tests...
⌛ Starting corerp functional tests...
⌛ Starting samples functional tests...
✅ samples functional tests succeeded
✅ ucp functional tests succeeded
✅ corerp functional tests succeeded

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

Test Results

2 687 tests  ±0   2 680 ✔️ ±0   1m 59s ⏱️ +2s
   239 suites ±0          7 💤 ±0 
       1 files   ±0          0 ±0 

Results for commit 6bd12c9. ± Comparison against base commit 02f19d9.

This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.
github.com/project-radius/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/091db6c0-2116-4921-a0e7-de5e2e7f7f01
github.com/project-radius/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/091db6c0-2116-4921-a0e7-de5e2e7f7f01#01
github.com/project-radius/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/4df5366e-76eb-4e2b-9f2b-a7e8c3aeb86a
github.com/project-radius/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/4df5366e-76eb-4e2b-9f2b-a7e8c3aeb86a#01

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

64.5

For the detailed report, please go to Checks tab, click Build and Test, and then download unit_test_coverage artifact at the bottom of build page.

  • Your PR branch coverage: 64.5 %
  • main branch coverage: 64.5 %
  • diff coverage: 0 %

The coverage result does not include the functional test coverage.

@vishwahiremat vishwahiremat changed the title [DO NOT MERGE] PR to generate Bicep PR Fix for updating the dapr bicep files to remove mode. Jun 9, 2023
@github-actions

This comment has been minimized.

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

64.5

For the detailed report, please go to Checks tab, click Build and Test, and then download unit_test_coverage artifact at the bottom of build page.

  • Your PR branch coverage: 64.5 %
  • main branch coverage: 64.5 %
  • diff coverage: 0 %

The coverage result does not include the functional test coverage.

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

⌛ Building Radius and pushing container images for functional tests...

✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp functional tests...
⌛ Starting samples functional tests...
⌛ Starting ucp functional tests...
✅ samples functional tests succeeded
✅ ucp functional tests succeeded

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

Radius functional test overview

🔍 Go to test action run

Name Value
Repository project-radius/radius
Commit ref a4d20bf
Unique ID ef251038e8
Image tag pr-ef251038e8
Click here to see the list of tools in the current test run
  • KinD: v0.18.0
  • Dapr: 1.10.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.0.0
  • recipe location radiusdev.azurecr.io/test/functional/corerp/recipes/<name>:pr-ef251038e8
  • appcore-rp test image location: radiusdev.azurecr.io/appcore-rp:pr-ef251038e8
  • ucp test image location: radiusdev.azurecr.io/ucpd:pr-ef251038e8

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp functional tests...
⌛ Starting samples functional tests...
⌛ Starting ucp functional tests...
✅ samples functional tests succeeded
✅ ucp functional tests succeeded
✅ corerp functional tests succeeded

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

64.5

For the detailed report, please go to Checks tab, click Build and Test, and then download unit_test_coverage artifact at the bottom of build page.

  • Your PR branch coverage: 64.5 %
  • main branch coverage: 64.5 %
  • diff coverage: 0 %

The coverage result does not include the functional test coverage.

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

Radius functional test overview

🔍 Go to test action run

Name Value
Repository project-radius/radius
Commit ref fbe4188
Unique ID 267816f75e
Image tag pr-267816f75e
Click here to see the list of tools in the current test run
  • KinD: v0.18.0
  • Dapr: 1.10.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.0.0
  • recipe location radiusdev.azurecr.io/test/functional/corerp/recipes/<name>:pr-267816f75e
  • appcore-rp test image location: radiusdev.azurecr.io/appcore-rp:pr-267816f75e
  • ucp test image location: radiusdev.azurecr.io/ucpd:pr-267816f75e

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp functional tests...
⌛ Starting corerp functional tests...
⌛ Starting samples functional tests...
✅ samples functional tests succeeded
✅ ucp functional tests succeeded
✅ corerp functional tests succeeded

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

64.5

For the detailed report, please go to Checks tab, click Build and Test, and then download unit_test_coverage artifact at the bottom of build page.

  • Your PR branch coverage: 64.5 %
  • main branch coverage: 64.5 %
  • diff coverage: 0 %

The coverage result does not include the functional test coverage.

@@ -3,7 +3,7 @@
"name": "daprSecretStore0",
"type": "Applications.Link/daprSecretStores",
"properties": {
"mode": "values",
"resourceProvisioning": "manual",
Copy link
Contributor

Choose a reason for hiding this comment

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

Any idea how we missed this before? Is this possible because of #5501

Copy link
Contributor Author

Choose a reason for hiding this comment

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

its because "resourceProvisioning" is not a required property and "version" is a valid property on resourceProvisioning type recipe as well.

@@ -9,9 +9,6 @@ param magpieImage string
@description('Specifies the port for the container resource.')
param magpiePort int = 3000

@description('Specifies the environment for resources.')
param environment string = 'test'
Copy link
Contributor

Choose a reason for hiding this comment

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

unused?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, it was not used

@github-actions
Copy link

github-actions bot commented Jun 13, 2023

Radius functional test overview

🔍 Go to test action run

Name Value
Repository project-radius/radius
Commit ref 6bd12c9
Unique ID 0b17e2061a
Image tag pr-0b17e2061a
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.18.0
  • Dapr: 1.10.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.0.0
  • recipe location radiusdev.azurecr.io/test/functional/corerp/recipes/<name>:pr-0b17e2061a
  • appcore-rp test image location: radiusdev.azurecr.io/appcore-rp:pr-0b17e2061a
  • ucp test image location: radiusdev.azurecr.io/ucpd:pr-0b17e2061a

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp functional tests...
⌛ Starting corerp functional tests...
⌛ Starting samples functional tests...
✅ ucp functional tests succeeded
✅ samples functional tests succeeded
✅ corerp functional tests succeeded

@github-actions
Copy link

63.5

For the detailed report, please go to Checks tab, click Build and Test, and then download unit_test_coverage artifact at the bottom of build page.

  • Your PR branch coverage: 63.5 %
  • main branch coverage: 63.5 %
  • diff coverage: 0 %

The coverage result does not include the functional test coverage.

@vishwahiremat vishwahiremat merged commit c569939 into main Jun 13, 2023
@vishwahiremat vishwahiremat deleted the vishwahiremat/generateBicepForSecretStores branch June 13, 2023 16:55
nithyatsu pushed a commit that referenced this pull request Jun 21, 2023
# Description

Added cahnges to remove mode for dapr secret store bicep files.

## Issue reference

<!--
We strive to have all PR being opened based on an issue, where the
problem or feature have been discussed prior to implementation.
-->

Fixes: #issue_number

## Checklist

Please make sure you've completed the relevant tasks for this PR, out of
the following list:

* [x] Code compiles correctly
* [ ] Adds necessary unit tests for change
* [ ] Adds necessary E2E tests for change
* [x] Unit tests passing
* [ ] Extended the documentation / Created issue for it

## Auto-generated summary

<!--
GitHub Copilot for docs will auto-generate a summary of the PR
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at 997d47d</samp>

### Summary
📝🐹📄

<!--
1. 📝 - This emoji represents a change related to documentation,
comments, or descriptions. It can be used to indicate that a change
improves the clarity, accuracy, or completeness of the documentation for
a model, type, schema, or API.
2. 🐹 - This emoji represents a change related to the Go language or
code. It can be used to indicate that a change affects the generated Go
code for a package, module, or service. It may also imply that the
change is specific to the Go language or platform.
3. 📄 - This emoji represents a change related to the OpenAPI
specification or file. It can be used to indicate that a change affects
the generated OpenAPI JSON or YAML file for an API version, service, or
model. It may also imply that the change is related to the RESTful or
HTTP aspects of the API.
-->
Add a period to the doc comment for the `DaprSecretStoreProperties`
model in the `Applications.Link` namespace. This improves the
documentation and consistency of the cadl models and the generated Go
and OpenAPI files.

> _`DaprSecretStore`_
> _Adding periods for docs_
> _Winter of cadl_

### Walkthrough
* Add a period to the doc comment and description of the
`DaprSecretStoreProperties` model and its generated counterparts in Go
and OpenAPI
([link](https://github.com/project-radius/radius/pull/5688/files?diff=unified&w=0#diff-956ed27870b031f49618a9b6a8042d476f99d7e3138e4657581ffaeeba648ee6L44-R44),
[link](https://github.com/project-radius/radius/pull/5688/files?diff=unified&w=0#diff-061124b001db64301047fda4f1c0c2f1d4b947a0c0811aedbd975f9ee690c855L232-R232),
[link](https://github.com/project-radius/radius/pull/5688/files?diff=unified&w=0#diff-a01be26add36174c850eed56a34c2ba92a92c5d4a1795dded33a573263b846a6L1932-R1932))
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