Skip to content

Commit

Permalink
update to extensions
Browse files Browse the repository at this point in the history
Signed-off-by: sk593 <shruthikumar@microsoft.com>
  • Loading branch information
sk593 committed Jul 10, 2024
1 parent 8851054 commit 901d8c8
Show file tree
Hide file tree
Showing 113 changed files with 116 additions and 116 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ jobs:
node-version: '18'
- name: Generate Bicep extensibility types from OpenAPI specs
run: |
make generate-bicep-types VERSION=${{ env.REL_VERSION == 'edge' && 'latest' || env.REL_VERSION }}
make generate-bicep-types VERSION=${{ env.REL_CHANNEL == 'edge' && 'latest' || env.REL_CHANNEL }}
- name: Upload Radius Bicep types artifacts
uses: actions/upload-artifact@v4
with:
Expand All @@ -304,7 +304,7 @@ jobs:
- name: Publish bicep types
if: github.repository == 'radius-project/radius' && ((startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main'))
run: |
bicep publish-provider ./hack/bicep-types-radius/generated/index.json --target br:${{ env.BICEP_TYPES_REGISTRY }}/radius:${{ env.REL_VERSION == 'edge' && 'latest' || env.REL_VERSION }} --force
bicep publish-extension ./hack/bicep-types-radius/generated/index.json --target br:${{ env.BICEP_TYPES_REGISTRY }}/radius:${{ env.REL_CHANNEL == 'edge' && 'latest' || env.REL_CHANNEL }} --force
publish-release:
name: Publish GitHub Release
Expand Down
4 changes: 2 additions & 2 deletions bicepconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"experimentalFeaturesEnabled": {
"extensibility": true,
"providerRegistry": true,
"extensionRegistry": true,
"dynamicTypeLoading": true
},
"providers": {
"extensions": {
"radius": "br:biceptypes.azurecr.io/radius:latest",
"aws": "br:biceptypes.azurecr.io/aws:latest"
}
Expand Down
2 changes: 1 addition & 1 deletion build/validate-bicep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ do
# - Compiled output (ARM templates) go to rad-bicep's stdout
# - rad-bicep's stdout goes to /dev/null
# - rad-bicep's stderr goes to the variable
if grep -q "provider radius" $F
if grep -q "extension radius" $F
then
exec 3>&1
echo "running: $BICEP_PATH build $F"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param application string

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param application string

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider aws
extension aws

param creationTimestamp string
param dbSubnetGroupName string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider aws
extension aws

param creationTimestamp string
param dbSubnetGroupName string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider aws
extension aws

param creationTimestamp string
param bucketName string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider aws
extension aws

param creationTimestamp string
param bucketName string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider aws
extension aws

param creationTimestamp string
param filterName string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider aws
extension aws

param bucketName string

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider aws
extension aws

param creationTimestamp string
param bucketName string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param magpieimage string

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'eastus'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param bucketName string
param creationTimestamp string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param location string = resourceGroup().location

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Name of the Redis Cache resource.')
param redisCacheName string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// 3. Create Keyvault volume.
// 4. Create container which associated keyvault volume.

provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider kubernetes with {
extension kubernetes with {
namespace: 'corerp-mechanics-k8s-extensibility'
kubeConfig: ''
} as kubernetes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param location string
param environment string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param location string
param environment string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param magpieimage string
param environment string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param magpieimage string
param environment string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'local'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'local'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'global'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('The OCI registry for test Bicep recipes.')
param registry string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

param magpieimage string
param environment string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'local'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('ID of the Radius Environment. Passed in automatically via the rad CLI')
param environment string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
provider radius
extension radius

@description('Specifies the location for resources.')
param location string = 'local'
Expand Down
Loading

0 comments on commit 901d8c8

Please sign in to comment.