Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"ms-python.python",
"dunn.redis",
"GitHub.copilot",
"/tmp/rad-vscode-bicep.vsix"
"ms-azuretools.rad-vscode-bicep"
]
}
},
Expand Down
7 changes: 2 additions & 5 deletions .devcontainer/on-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ else
fi

if [ "$RADIUS_VERSION" = "edge" ]; then
wget -q "https://get.radapp.dev/tools/rad/install.sh" -O - | /bin/bash -s edge
wget -q "https://raw.githubusercontent.com/radius-project/radius/main/deploy/install.sh" -O - | /bin/bash -s edge
else
wget -q "https://get.radapp.dev/tools/rad/install.sh" -O - | /bin/bash
wget -q "https://raw.githubusercontent.com/radius-project/radius/main/deploy/install.sh" -O - | /bin/bash
fi

## Download Bicep extension
curl https://get.radapp.dev/tools/vscode-extensibility/$RADIUS_VERSION/rad-vscode-bicep.vsix --output /tmp/rad-vscode-bicep.vsix
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# text files use OS defaults on checkout, LF on checkin
* text eol=auto
# images are binary
*.png binary
*.png binary
*.ico binary
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
schedule: # 7:45 AM Pacific Time
- cron: "45 15 * * *"
env:
RAD_CLI_URL: https://get.radapp.dev/tools/rad/install.sh
RAD_CLI_URL: https://raw.githubusercontent.com/radius-project/radius/main/deploy/install.sh
RUN_IDENTIFIER: samplestest-${{ github.run_id }}-${{ github.run_attempt }}
jobs:
test:
Expand Down
5 changes: 5 additions & 0 deletions samples/demo/Chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
appVersion: "0.1.0"
version: 0.1.0
name: demo
description: A Helm chart for the Radius demo application.
25 changes: 25 additions & 0 deletions samples/demo/Chart/templates/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: webapp
namespace: {{ .Release.Namespace }}
spec:
selector:
matchLabels:
app: webapp
template:
metadata:
labels:
app: webapp
spec:
containers:
- name: webapp
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
env:
- name: CONNECTION_REDIS_URL
valueFrom:
secretKeyRef:
name: redis-secret
key: url
ports:
- containerPort: 3000
3 changes: 3 additions & 0 deletions samples/demo/Chart/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
image:
repository: ghcr.io/radius-project/samples/demo
tag: latest
8 changes: 4 additions & 4 deletions samples/eshop/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# eShop on Radius reference application

Visit the [Project Radius docs](https://radapp.dev/getting-started/reference-apps/eshop/) to learn more and try it out.
Visit the [Project Radius docs](https://docs.radapp.io/tutorials/eshop/) to learn more and try it out.

## Source

This reference app is a "radified" version of the [eShop on containers](https://github.com/dotnet-architecture/eShopOnContainers) .NET reference application.

## Deploy

1. Have a kubernetes cluster handy from the [supported clusters](https://docs.radapp.dev/operations/platforms/kubernetes/supported-clusters/).
1. Have a kubernetes cluster handy from the [supported clusters](https://docs.radapp.io/guides/operations/kubernetes/overview/#supported-kubernetes-clusters).
- (AWS only) Make sure that each of the Subnets in your EKS cluster Subnet Group are within the list of [supported MemoryDB availability zones](https://docs.aws.amazon.com/memorydb/latest/devguide/subnetgroups.html)
1. [Install the rad CLI](https://radapp.dev/getting-started/)
1. [Initialize a new Radius environment](https://radapp.dev/getting-started/)
1. [Install the rad CLI](https://docs.radapp.io/getting-started/)
1. [Initialize a new Radius environment](https://docs.radapp.io/getting-started/)
1. Clone the repository and switch to the app directory:
```bash
git clone https://github.com/radius-project/samples.git
Expand Down