Skip to content

Commit

Permalink
Update references to sample images (#828)
Browse files Browse the repository at this point in the history
* Remove env-var howto guide

* Rename sample references

* Update docs/content/getting-started/index.md

Co-authored-by: Reshma Abdul Rahim <[email protected]>

---------

Co-authored-by: Reshma Abdul Rahim <[email protected]>
Signed-off-by: jasonviviano <[email protected]>
  • Loading branch information
2 people authored and jasonviviano committed Nov 6, 2023
1 parent 3da0726 commit afd016b
Show file tree
Hide file tree
Showing 21 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,10 +532,10 @@ You can also reference pages in your button as well:
You can link to a GitHub repo and path with the `githubRepo` and `githubPath` parameters:

```
{{</* button text="My Button" githubRepo="samples" githubPath="reference-apps" */>}}
{{</* button text="My Button" githubRepo="samples" githubPath="samples" */>}}
```

{{< button text="My Button" githubRepo="samples" githubPath="reference-apps" >}}
{{< button text="My Button" githubRepo="samples" githubPath="samples" >}}

#### Button colors

Expand Down
2 changes: 1 addition & 1 deletion docs/content/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ In addition to starting Radius services in your Kubernetes cluster, this initial

{{< rad file="snippets/app.bicep" embed=true markdownConfig="{linenos=table,linenostart=1}" >}}

> This file will run the `radius.azurecr.io/tutorial/webapp` image. This image is published by the Radius team to a public registry, you do not need to create it.
> This file will run the `radius.azurecr.io/samples/demo` image. This image is published by the Radius team to a public registry, you do not need to create it.
## 4. Run the app

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource demo 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorial/webapp:edge'
image: 'radius.azurecr.io/samples/demo:latest'
ports: {
web: {
containerPort: 3000
Expand Down
2 changes: 1 addition & 1 deletion docs/content/getting-started/snippets/app-with-redis.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource demo 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorial/webapp:edge'
image: 'radius.azurecr.io/samples/demo:latest'
ports: {
web: {
containerPort: 3000
Expand Down
2 changes: 1 addition & 1 deletion docs/content/getting-started/snippets/app.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource demo 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorial/webapp:edge'
image: 'radius.azurecr.io/samples/demo:latest'
ports: {
web: {
containerPort: 3000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
AWS_SECRET_ACCESS_KEY: aws_secret_access_key
AWS_DEFAULT_REGION: aws_region
}
image: 'radius.azurecr.io/reference-apps/aws:edge'
image: 'radius.azurecr.io/samples/aws:latest'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
AWS_SECRET_ACCESS_KEY: aws_secret_access_key
AWS_DEFAULT_REGION: aws_region
}
image: 'radius.azurecr.io/reference-apps/aws:edge'
image: 'radius.azurecr.io/samples/aws:latest'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
AWS_SECRET_ACCESS_KEY: aws_secret_access_key
AWS_DEFAULT_REGION: aws_region
}
image: 'radius.azurecr.io/reference-apps/aws:edge'
image: 'radius.azurecr.io/samples/aws:latest'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Begin by creating a file named `app.bicep` with a Radius Application and [contai

{{< rad file="snippets/1-app.bicep" embed=true >}}

The `quickstarts/volumes` container will display the status and contents of the `/tmpdir` directory within the container.
The `samples/volumes` container will display the status and contents of the `/tmpdir` directory within the container.

## Step 2: Deploy the app and container

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ resource container 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: app.id
container: {
image: 'radius.azurecr.io/quickstarts/volumes:edge'
image: 'radius.azurecr.io/samples/volumes:latest'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource container 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: app.id
container: {
image: 'radius.azurecr.io/quickstarts/volumes:edge'
image: 'radius.azurecr.io/samples/volumes:latest'
volumes: {
tmp: {
kind: 'ephemeral'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorials/webapp:edge'
image: 'radius.azurecr.io/samples/demo:latest'
ports: {
web: {
containerPort: 3000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorial/webapp:edge'
image: 'radius.azurecr.io/samples/demo:latest'
ports: {
web: {
containerPort: 3000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorial/webapp:edge'
image: 'radius.azurecr.io/samples/demo:latest'
ports: {
web: {
containerPort: 3000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorials/webapp:edge'
image: 'radius.azurecr.io/samples/demo:latest'
ports: {
web: {
containerPort: 3000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorials/webapp:edge'
image: 'radius.azurecr.io/samples/demo:latest'
ports: {
web: {
containerPort: 3000
Expand Down
2 changes: 1 addition & 1 deletion docs/content/tutorials/eshop/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ Adding Radius to the eShop on containers application allows teams to:
- Easily manage configuration and credentials between infrastructure and services, all within the app model
- Simplify deployment with Bicep and Azure Resource Manager (ARM)

{{< button text="View eShop reference app in samples" githubRepo="samples" githubPath="reference-apps/eshop" color="success" size="btn-lg" >}}
{{< button text="View eShop reference app in samples" githubRepo="samples" githubPath="samples/eshop" color="success" size="btn-lg" >}}

*Visit the [GitHub docs]({{< ref github >}}) if you need access to the organization*
4 changes: 2 additions & 2 deletions docs/content/tutorials/tutorial-dapr/snippets/dapr.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resource backend 'Applications.Core/containers@2023-10-01-preview' = {
application: app.id
container: {
// This image is where the app's backend code lives
image: 'radius.azurecr.io/quickstarts/dapr-backend:edge'
image: 'radius.azurecr.io/samples/dapr-backend:latest'
ports: {
orders: {
containerPort: 3000
Expand Down Expand Up @@ -59,7 +59,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
application: app.id
container: {
// This image is where the app's frontend code lives
image: 'radius.azurecr.io/quickstarts/dapr-frontend:edge'
image: 'radius.azurecr.io/samples/dapr-frontend:latest'
env: {
// An environment variable to tell the frontend container where to find the backend
CONNECTION_BACKEND_APPID: 'backend'
Expand Down
2 changes: 1 addition & 1 deletion docs/content/tutorials/tutorial-recipe/snippets/app.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorial/webapp:edge'
image: 'radius.azurecr.io/samples/demo:latest'
}
connections: {
// Define a connection to the redis container
Expand Down
4 changes: 2 additions & 2 deletions holding-pen/reference-apps/aws-sqs/snippets/app.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ resource producer 'Applications.Core/containers@2023-10-01-preview' = {
},
aws_credential
)
image: 'radius.azurecr.io/reference-apps/aws-sqs-sample:edge'
image: 'radius.azurecr.io/samples/aws-sqs:latest'
}
}
}
Expand All @@ -61,7 +61,7 @@ resource consumer 'Applications.Core/containers@2023-10-01-preview' = {
},
aws_credential
)
image: 'radius.azurecr.io/reference-apps/aws-sqs-sample:edge'
image: 'radius.azurecr.io/samples/aws-sqs:latest'
}
}
}
2 changes: 1 addition & 1 deletion holding-pen/reference-apps/eshop-dapr/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ Radius allows the eShop on Dapr application to:
- Simplify deployment with Bicep and Azure Resource Manager (ARM). No more custom deployment scripts or workflows.
- Automatically generate and apply the backing Dapr component configurations from the resources or values provided within the Dapr building block resource definitions.

{{< button text="View eShop reference app in samples" githubRepo="samples" githubPath="reference-apps/eshop-dapr" color="success" size="btn-lg" >}}
{{< button text="View eShop reference app in samples" githubRepo="samples" githubPath="samples/eshop-dapr" color="success" size="btn-lg" >}}

*Visit the [GitHub docs]({{< ref github >}}) if you need access to the organization*

0 comments on commit afd016b

Please sign in to comment.