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

Update typespec to support all Terraform Recipe Providers and Env #7202

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

ytimocin
Copy link
Contributor

@ytimocin ytimocin commented Feb 27, 2024

Description

  • Updated TypeSpec by adding Providers and EnvVariables to Environment resource (w/o Secrets)
  • Updated Data Models by adding Providers and EnvVariables to Environment resource (w/o Secrets)
  • Updated the Environment Conversion logic and its tests
  • Updated RecipeConfigProperties

Note: Secrets for both Providers and EnvSecrets will be added in another PR.

Design doc: radius-project/design-notes#39

Type of change

@ytimocin ytimocin requested review from a team as code owners February 27, 2024 22:42
// EnvironmentVariables represents the environment variables to be set for the recipe execution.
type EnvironmentVariables struct {
// AdditionalProperties represents the non-sensitive environment variables to be set for the recipe execution.
// Environment variables that contain sensitive values are specified in the Secrets and are fetched from the `Applications.Core/secretStores` resource.
Copy link
Contributor

@lakshmimsft lakshmimsft Feb 27, 2024

Choose a reason for hiding this comment

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

this comment is not applicable for now..otherwise LGTM

@radius-functional-tests
Copy link

radius-functional-tests bot commented Feb 27, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository ytimocin/radius
Commit ref b0e0822
Unique ID df0eca59ba
Image tag pr-df0eca59ba
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/functional/shared/recipes/<name>:pr-df0eca59ba
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-df0eca59ba
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-df0eca59ba
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-df0eca59ba
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

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 datastoresrp functional tests...
⌛ Starting samples functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting ucp functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting shared functional tests...
✅ msgrp functional tests succeeded
✅ samples functional tests succeeded
✅ kubernetes functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ ucp functional tests succeeded
✅ daprrp functional tests succeeded
✅ shared functional tests succeeded

lakshmimsft
lakshmimsft previously approved these changes Feb 27, 2024
Copy link
Contributor

@kachawla kachawla left a comment

Choose a reason for hiding this comment

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

Please make sure to merge the bicep PR after this is merged.

@radius-functional-tests
Copy link

radius-functional-tests bot commented Feb 28, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository ytimocin/radius
Commit ref 3ef04be
Unique ID 10e4c5730f
Image tag pr-10e4c5730f
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/functional/shared/recipes/<name>:pr-10e4c5730f
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-10e4c5730f
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-10e4c5730f
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-10e4c5730f
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

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 kubernetes functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting samples functional tests...
⌛ Starting ucp functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting shared functional tests...
⌛ Starting datastoresrp functional tests...
✅ kubernetes functional tests succeeded
✅ msgrp functional tests succeeded
✅ samples functional tests succeeded
✅ ucp functional tests succeeded
✅ daprrp functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ shared functional tests succeeded

@radius-functional-tests
Copy link

radius-functional-tests bot commented Feb 28, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository ytimocin/radius
Commit ref 65b6749
Unique ID 13fd9e734e
Image tag pr-13fd9e734e
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/functional/shared/recipes/<name>:pr-13fd9e734e
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-13fd9e734e
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-13fd9e734e
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-13fd9e734e
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

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 kubernetes functional tests...
⌛ Starting shared functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting ucp functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting datastoresrp functional tests...
⌛ Starting samples functional tests...
✅ kubernetes functional tests succeeded
✅ msgrp functional tests succeeded
✅ samples functional tests succeeded
✅ daprrp functional tests succeeded
✅ ucp functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ shared functional tests succeeded

Signed-off-by: ytimocin <ytimocin@microsoft.com>
@radius-functional-tests
Copy link

radius-functional-tests bot commented Feb 28, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository ytimocin/radius
Commit ref 933682a
Unique ID 8b511678c1
Image tag pr-8b511678c1
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/functional/shared/recipes/<name>:pr-8b511678c1
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-8b511678c1
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-8b511678c1
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-8b511678c1
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

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 samples functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting shared functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting ucp functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting datastoresrp functional tests...
✅ kubernetes functional tests succeeded
✅ samples functional tests succeeded
✅ msgrp functional tests succeeded
✅ ucp functional tests succeeded
✅ daprrp functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ shared functional tests succeeded

Copy link
Contributor

@kachawla kachawla left a comment

Choose a reason for hiding this comment

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

Should the original PR #7199 be closed now?

@ytimocin
Copy link
Contributor Author

Should the original PR #7199 be closed now?

Yes, I will close that.

@ytimocin ytimocin merged commit 3cc1f92 into radius-project:main Feb 28, 2024
17 checks passed
willdavsmith pushed a commit to willdavsmith/radius that referenced this pull request Mar 4, 2024
…dius-project#7202)

# Description
* Updated TypeSpec by adding Providers and EnvVariables to Environment
resource (w/o Secrets)
* Updated Data Models by adding Providers and EnvVariables to
Environment resource (w/o Secrets)
* Updated the Environment Conversion logic and its tests
* Updated RecipeConfigProperties

Note: **Secrets** for both **Providers** and **EnvSecrets** will be
added in another PR.

Design doc: radius-project/design-notes#39

## Type of change
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
Fixes: part of radius-project#6539

Signed-off-by: ytimocin <ytimocin@microsoft.com>
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.

None yet

3 participants