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

Bicep compiler merge #7662

Merged
merged 13 commits into from
Aug 12, 2024
Merged

Bicep compiler merge #7662

merged 13 commits into from
Aug 12, 2024

Conversation

sk593
Copy link
Contributor

@sk593 sk593 commented Jun 4, 2024

Description

This PR contains all the changes for the Bicep compiler merge. The branch has had smaller PRs opened for specific features that can be found below:

  • Bicep types generator is updated to use the bicep-types repository as a submodule. This includes updating the types contract and adding support for resource methods (eg listSecrets): 43403fd . There was also a small update to how we handle flags on the location property
  • Update to build workflow to initialize the submodule and publish types to biceptypes.azurecr.io using the bicep publish-extension command: fed2462
  • Update validate bicep workflow to validate bicep files in the repository with the official Bicep compiler. This includes updating extension imports of all bicep files and adding a bicepconfig.json to the repository: Update validate bicep workflow #7702
  • Update functional test workflow to publish types to biceptypes.azurecr.io. This includes publishing the bicep types to a PR tag and adding a temporary bicepconfig.json to consume the PR-specific types [https://github.com/Update functional test workflow with test Bicep types #7730]
  • Update release workflow to publish types to a release-specific tag. This includes running a build in the bicep-types-aws repo to publish AWS types to a release tag
  • Updates to rad bicep download. This command will download the official Bicep binary instead of the Radius one. The install script calls this command so the official Bicep binary will be downloaded on a Radius install: bb8da88
  • Updates to rad init to generate a default bicepconfig.json. This will pull the Radius and AWS types in our ACR with the current release tag: Update rad init to generate bicep config #7664

Type of change

  • This pull request fixes a bug in Radius and has an approved issue (issue link required).
  • This pull request adds or changes features of Radius and has an approved issue (issue link required).
  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Fixes: #issue_number


Description

Please explain the changes you've made.

Type of change

  • This pull request fixes a bug in Radius and has an approved issue (issue link required).
  • This pull request adds or changes features of Radius and has an approved issue (issue link required).
  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Fixes: #issue_number

@sk593 sk593 had a problem deploying to functional-tests June 4, 2024 05:01 — with GitHub Actions Failure
Copy link

github-actions bot commented Jun 4, 2024

Unit Tests

3 297 tests  ±0   3 291 ✅ ±0   4m 3s ⏱️ +8s
  263 suites ±0       6 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 54f968d. ± Comparison against base commit 3d96ee6.

This pull request removes 8 and adds 8 tests. Note that renamed tests count towards both.
github.com/radius-project/radius/pkg/cli/tools ‑ TestGetValidPlatform
github.com/radius-project/radius/pkg/cli/tools ‑ TestGetValidPlatform/darwin-amd64
github.com/radius-project/radius/pkg/cli/tools ‑ TestGetValidPlatform/darwin-arm64
github.com/radius-project/radius/pkg/cli/tools ‑ TestGetValidPlatform/linux-amd64
github.com/radius-project/radius/pkg/cli/tools ‑ TestGetValidPlatform/linux-arm
github.com/radius-project/radius/pkg/cli/tools ‑ TestGetValidPlatform/linux-arm64
github.com/radius-project/radius/pkg/cli/tools ‑ TestGetValidPlatform/windows-amd64
github.com/radius-project/radius/pkg/cli/tools ‑ TestGetValidPlatform/windows-arm64
github.com/radius-project/radius/pkg/cli/bicep/tools ‑ TestGetValidPlatform
github.com/radius-project/radius/pkg/cli/bicep/tools ‑ TestGetValidPlatform/darwin-amd64
github.com/radius-project/radius/pkg/cli/bicep/tools ‑ TestGetValidPlatform/darwin-arm64
github.com/radius-project/radius/pkg/cli/bicep/tools ‑ TestGetValidPlatform/linux-amd64
github.com/radius-project/radius/pkg/cli/bicep/tools ‑ TestGetValidPlatform/linux-arm
github.com/radius-project/radius/pkg/cli/bicep/tools ‑ TestGetValidPlatform/linux-arm64
github.com/radius-project/radius/pkg/cli/bicep/tools ‑ TestGetValidPlatform/windows-amd64
github.com/radius-project/radius/pkg/cli/bicep/tools ‑ TestGetValidPlatform/windows-arm64

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Jun 4, 2024

Codecov Report

Attention: Patch coverage is 34.61538% with 17 lines in your changes missing coverage. Please review.

Project coverage is 61.06%. Comparing base (3d96ee6) to head (54f968d).

Files Patch % Lines
pkg/cli/bicep/tools/download_tools.go 0.00% 12 Missing ⚠️
pkg/cli/setup/application.go 69.23% 2 Missing and 2 partials ⚠️
pkg/cli/cmd/radinit/display.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7662      +/-   ##
==========================================
- Coverage   61.07%   61.06%   -0.01%     
==========================================
  Files         523      523              
  Lines       27434    27446      +12     
==========================================
+ Hits        16755    16760       +5     
- Misses       9203     9205       +2     
- Partials     1476     1481       +5     

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

@sk593 sk593 had a problem deploying to functional-tests June 4, 2024 16:07 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from b0c0b67 to edd635a Compare June 4, 2024 16:09
@sk593 sk593 had a problem deploying to functional-tests June 4, 2024 16:09 — with GitHub Actions Failure
@sk593 sk593 had a problem deploying to functional-tests June 4, 2024 16:10 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 8cd2aef to edd635a Compare June 4, 2024 16:12
@sk593 sk593 had a problem deploying to functional-tests June 4, 2024 16:12 — with GitHub Actions Failure
@sk593 sk593 had a problem deploying to functional-tests June 4, 2024 16:18 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 2f03113 to edd635a Compare June 4, 2024 16:40
@sk593 sk593 had a problem deploying to functional-tests June 4, 2024 16:40 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from edd635a to 262a6cf Compare June 4, 2024 16:40
@sk593 sk593 had a problem deploying to functional-tests June 4, 2024 16:40 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 262a6cf to d0cf79c Compare June 4, 2024 16:55
@sk593 sk593 had a problem deploying to functional-tests June 4, 2024 16:55 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from d0cf79c to f3326e9 Compare June 5, 2024 21:52
@sk593 sk593 had a problem deploying to functional-tests June 5, 2024 21:52 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from f3326e9 to 1fbf58f Compare June 12, 2024 16:52
@sk593 sk593 had a problem deploying to functional-tests June 12, 2024 16:53 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 1fbf58f to 5905aad Compare June 12, 2024 21:10
@sk593 sk593 had a problem deploying to functional-tests June 12, 2024 21:10 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 5905aad to 4a8e327 Compare June 12, 2024 21:31
@sk593 sk593 had a problem deploying to functional-tests June 12, 2024 21:31 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 4a8e327 to dd97afb Compare June 12, 2024 21:50
@sk593 sk593 had a problem deploying to functional-tests June 12, 2024 21:50 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from dd97afb to 66c3b66 Compare June 12, 2024 23:22
@sk593 sk593 had a problem deploying to functional-tests June 12, 2024 23:22 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 66c3b66 to 52a1a4b Compare June 12, 2024 23:27
@sk593 sk593 had a problem deploying to functional-tests June 12, 2024 23:27 — with GitHub Actions Failure
@sk593 sk593 had a problem deploying to functional-tests August 8, 2024 21:12 — with GitHub Actions Failure
@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 9a9394c to 2614e3a Compare August 8, 2024 21:24
@sk593 sk593 temporarily deployed to functional-tests August 8, 2024 21:24 — with GitHub Actions Inactive
@radius-functional-tests
Copy link

radius-functional-tests bot commented Aug 8, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 2614e3a
Unique ID func2c0dfbe8cc
Image tag pr-func2c0dfbe8cc
Click here to see the list of tools in the current test run
  • gotestsum 1.12.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/testrecipes/test-bicep-recipes/<name>:pr-func2c0dfbe8cc
  • 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-func2c0dfbe8cc
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func2c0dfbe8cc
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func2c0dfbe8cc
  • 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-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ datastoresrp-cloud functional tests succeeded
❌ corerp-cloud functional test failed. Please check the logs for more details

@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 2614e3a to 27688b3 Compare August 9, 2024 22:17
@sk593 sk593 temporarily deployed to functional-tests August 9, 2024 22:17 — with GitHub Actions Inactive
@radius-functional-tests
Copy link

radius-functional-tests bot commented Aug 9, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 27688b3
Unique ID func304a7b7979
Image tag pr-func304a7b7979
Click here to see the list of tools in the current test run
  • gotestsum 1.12.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/testrecipes/test-bicep-recipes/<name>:pr-func304a7b7979
  • 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-func304a7b7979
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func304a7b7979
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func304a7b7979
  • 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 corerp-cloud functional tests...
✅ corerp-cloud functional tests succeeded
⌛ Starting datastoresrp-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
✅ datastoresrp-cloud functional tests succeeded
✅ ucp-cloud functional tests succeeded

@sk593 sk593 force-pushed the feature-bicep-compiler-merge branch from 27688b3 to 54f968d Compare August 12, 2024 15:43
@sk593 sk593 temporarily deployed to functional-tests August 12, 2024 15:43 — with GitHub Actions Inactive
sk593 added 13 commits August 12, 2024 08:43
Update bicep generator to use bicep-types and new contract

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
# Description

Update rad bicep download to download the official bicep compiler

<img width="679" alt="Screenshot 2024-06-03 at 10 45 00 PM"
src="https://github.com/radius-project/radius/assets/42750942/70b36aef-701b-484e-aa25-d690146126ce">
[downloading the official release 0.27.1 instead of our release version
0.34]

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
# Description

Update build workflow to publish bicep types to ACR

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
# Description

Update release workflow to create a branch and tag during releases in
the `bicep-types-aws` repo. This will trigger the publish workflow in
the `bicep-types-aws` repo to publish types to ACR:
radius-project/bicep-types-aws#46

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
# Description

Update rad init to generate bicep configuration
<img width="413" alt="Screenshot 2024-06-03 at 10 45 14 PM"
src="https://github.com/radius-project/radius/assets/42750942/1fbe214d-91e6-435c-aec0-57e57485a70d">

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
Update validate bicep workflow

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
# Description

_Please explain the changes you've made._

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
# Description

location is not a required field in our Bicep templates since the DE
will inject it if it's missing. it is a required field in our API specs
so the generator has been treating it as required. this PR doesn't add
the required flag if the field is location

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
@radius-functional-tests
Copy link

radius-functional-tests bot commented Aug 12, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 54f968d
Unique ID func967ebfd77a
Image tag pr-func967ebfd77a
Click here to see the list of tools in the current test run
  • gotestsum 1.12.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/testrecipes/test-bicep-recipes/<name>:pr-func967ebfd77a
  • 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-func967ebfd77a
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func967ebfd77a
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func967ebfd77a
  • 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-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
✅ datastoresrp-cloud functional tests succeeded
✅ ucp-cloud functional tests succeeded
⌛ Starting corerp-cloud functional tests...
✅ corerp-cloud functional tests succeeded

@sk593 sk593 merged commit 5c10d92 into main Aug 12, 2024
31 of 32 checks passed
@sk593 sk593 deleted the feature-bicep-compiler-merge branch August 12, 2024 19:10
superbeeny pushed a commit to superbeeny/radius that referenced this pull request Aug 14, 2024
This PR contains all the changes for the Bicep compiler merge. The
branch has had smaller PRs opened for specific features that can be
found below:

- [x] Bicep types generator is updated to use the `bicep-types`
repository as a submodule. This includes updating the types contract and
adding support for resource methods (eg `listSecrets`):
radius-project@43403fd
. There was also a small update to how we handle flags on the `location`
[property](radius-project@19afe96)
- [x] Update to build workflow to initialize the submodule and publish
types to `biceptypes.azurecr.io` using the `bicep publish-extension`
command:
radius-project@fed2462
- [x] Update validate bicep workflow to validate bicep files in the
repository with the official Bicep compiler. This includes updating
extension imports of all bicep files and adding a `bicepconfig.json` to
the repository: radius-project#7702
- [x] Update functional test workflow to publish types to
`biceptypes.azurecr.io`. This includes publishing the bicep types to a
PR tag and adding a temporary `bicepconfig.json` to consume the
PR-specific types [radius-project#7730]
- [x] Update release workflow to publish types to a release-specific
tag. This includes running a build in the `bicep-types-aws` repo to
publish AWS types to a release tag
- [x] Updates to `rad bicep download`. This command will download the
official Bicep binary instead of the Radius one. The install script
calls this command so the official Bicep binary will be downloaded on a
Radius install:
radius-project@bb8da88
- [x] Updates to `rad init` to generate a default `bicepconfig.json`.
This will pull the Radius and AWS types in our ACR with the current
release tag: radius-project#7664

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

_Please explain the changes you've made._

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
superbeeny pushed a commit to superbeeny/radius that referenced this pull request Aug 14, 2024
This PR contains all the changes for the Bicep compiler merge. The
branch has had smaller PRs opened for specific features that can be
found below:

- [x] Bicep types generator is updated to use the `bicep-types`
repository as a submodule. This includes updating the types contract and
adding support for resource methods (eg `listSecrets`):
radius-project@43403fd
. There was also a small update to how we handle flags on the `location`
[property](radius-project@19afe96)
- [x] Update to build workflow to initialize the submodule and publish
types to `biceptypes.azurecr.io` using the `bicep publish-extension`
command:
radius-project@fed2462
- [x] Update validate bicep workflow to validate bicep files in the
repository with the official Bicep compiler. This includes updating
extension imports of all bicep files and adding a `bicepconfig.json` to
the repository: radius-project#7702
- [x] Update functional test workflow to publish types to
`biceptypes.azurecr.io`. This includes publishing the bicep types to a
PR tag and adding a temporary `bicepconfig.json` to consume the
PR-specific types [radius-project#7730]
- [x] Update release workflow to publish types to a release-specific
tag. This includes running a build in the `bicep-types-aws` repo to
publish AWS types to a release tag
- [x] Updates to `rad bicep download`. This command will download the
official Bicep binary instead of the Radius one. The install script
calls this command so the official Bicep binary will be downloaded on a
Radius install:
radius-project@bb8da88
- [x] Updates to `rad init` to generate a default `bicepconfig.json`.
This will pull the Radius and AWS types in our ACR with the current
release tag: radius-project#7664

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

_Please explain the changes you've made._

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
Reshrahim pushed a commit to Reshrahim/radius that referenced this pull request Aug 27, 2024
# Description

This PR contains all the changes for the Bicep compiler merge. The
branch has had smaller PRs opened for specific features that can be
found below:

- [x] Bicep types generator is updated to use the `bicep-types`
repository as a submodule. This includes updating the types contract and
adding support for resource methods (eg `listSecrets`):
radius-project@43403fd
. There was also a small update to how we handle flags on the `location`
[property](radius-project@19afe96)
- [x] Update to build workflow to initialize the submodule and publish
types to `biceptypes.azurecr.io` using the `bicep publish-extension`
command:
radius-project@fed2462
- [x] Update validate bicep workflow to validate bicep files in the
repository with the official Bicep compiler. This includes updating
extension imports of all bicep files and adding a `bicepconfig.json` to
the repository: radius-project#7702
- [x] Update functional test workflow to publish types to
`biceptypes.azurecr.io`. This includes publishing the bicep types to a
PR tag and adding a temporary `bicepconfig.json` to consume the
PR-specific types [radius-project#7730]
- [x] Update release workflow to publish types to a release-specific
tag. This includes running a build in the `bicep-types-aws` repo to
publish AWS types to a release tag
- [x] Updates to `rad bicep download`. This command will download the
official Bicep binary instead of the Radius one. The install script
calls this command so the official Bicep binary will be downloaded on a
Radius install:
radius-project@bb8da88
- [x] Updates to `rad init` to generate a default `bicepconfig.json`.
This will pull the Radius and AWS types in our ACR with the current
release tag: radius-project#7664

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

# Description

_Please explain the changes you've made._

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
Signed-off-by: Reshma Abdul Rahim <[email protected]>
superbeeny pushed a commit to superbeeny/radius that referenced this pull request Sep 1, 2024
This PR contains all the changes for the Bicep compiler merge. The
branch has had smaller PRs opened for specific features that can be
found below:

- [x] Bicep types generator is updated to use the `bicep-types`
repository as a submodule. This includes updating the types contract and
adding support for resource methods (eg `listSecrets`):
radius-project@43403fd
. There was also a small update to how we handle flags on the `location`
[property](radius-project@19afe96)
- [x] Update to build workflow to initialize the submodule and publish
types to `biceptypes.azurecr.io` using the `bicep publish-extension`
command:
radius-project@fed2462
- [x] Update validate bicep workflow to validate bicep files in the
repository with the official Bicep compiler. This includes updating
extension imports of all bicep files and adding a `bicepconfig.json` to
the repository: radius-project#7702
- [x] Update functional test workflow to publish types to
`biceptypes.azurecr.io`. This includes publishing the bicep types to a
PR tag and adding a temporary `bicepconfig.json` to consume the
PR-specific types [radius-project#7730]
- [x] Update release workflow to publish types to a release-specific
tag. This includes running a build in the `bicep-types-aws` repo to
publish AWS types to a release tag
- [x] Updates to `rad bicep download`. This command will download the
official Bicep binary instead of the Radius one. The install script
calls this command so the official Bicep binary will be downloaded on a
Radius install:
radius-project@bb8da88
- [x] Updates to `rad init` to generate a default `bicepconfig.json`.
This will pull the Radius and AWS types in our ACR with the current
release tag: radius-project#7664

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

_Please explain the changes you've made._

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).
- This pull request adds or changes features of Radius and has an
approved issue (issue link required).
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: sk593 <[email protected]>
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.

3 participants