Skip to content

Commit

Permalink
rebase to v0.26
Browse files Browse the repository at this point in the history
Signed-off-by: Will Tsai <[email protected]>
  • Loading branch information
willtsai committed Oct 23, 2023
2 parents f2341a9 + 12181fb commit 2d8a1d3
Show file tree
Hide file tree
Showing 22 changed files with 117 additions and 84 deletions.
4 changes: 4 additions & 0 deletions .github/config/en-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ CLI
CLIs
CMD
CNCF
CNCF
CQRS
CRDs
CRUDL
Expand All @@ -41,6 +42,7 @@ DocumentDB
EKS
eksClusterName
ElastiCache
ElastiCache
entrypoint
EOF
Extensibility
Expand Down Expand Up @@ -91,6 +93,7 @@ Pre
PubSub
ProjectRadius
radify
radify
RBAC
RabbitMQ
ResourceDeploymentClient
Expand Down Expand Up @@ -958,6 +961,7 @@ composable
CRD
nd
OSI
OSI
scaffolded
bb
df
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/redirect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Radius Redirect

on:
workflow_dispatch:
push:
branches:
- edge
- v*.*
paths:
- 'redirect/**'
- '.github/workflows/redirect.yml'
pull_request:
branches:
- edge
- v*.*
paths:
- 'redirect/**'
- '.github/workflows/redirect.yml'

jobs:
deploy-website:
name: Deploy Redirect Website
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: false
- name: Deploy staging site
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.SWA_REDIRECT_TOKEN }}
action: "upload"
app_location: "redirect/src"
skip_api_build: true
skip_app_build: true

close_pr_site:
name: Close PR Staging Site
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.SWA_REDIRECT_TOKEN }}
action: "close"
6 changes: 0 additions & 6 deletions .github/workflows/validate-bicep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ jobs:
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: az CLI login
run: |
az login --service-principal \
--username ${{ secrets.AZURE_SP_TESTS_APPID }} \
--password ${{ secrets.AZURE_SP_TESTS_PASSWORD }} \
--tenant ${{ secrets.AZURE_SP_TESTS_TENANTID }}
- name: Parse release version and set environment variables
run: python ./.github/scripts/get_docs_version.py
- name: Download rad-bicep
Expand Down
21 changes: 3 additions & 18 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
repository: radius-project/radius
ref: ${{ env.RELEASE_BRANCH }}
path: ./radius
token: ${{ secrets.GH_RAD_CI_BOT_PAT }}
- name: Setup Node
uses: actions/setup-node@v2
with:
Expand Down Expand Up @@ -122,29 +121,14 @@ jobs:
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.ENV_STATICWEBAPP_TOKEN }}
skip_deploy_on_missing_secrets: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
app_location: "site/"
api_location: "site/"
output_location: ""
skip_app_build: true
- name: Find SWA Comment
uses: peter-evans/find-comment@v2
id: fc
if: github.event_name == 'pull_request'
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: 'Azure Static Web Apps:'
direction: last
- name: Update SWA Comment
if: github.event_name == 'pull_request' && steps.fc.outputs.comment-id != ''
uses: peter-evans/create-or-update-comment@v3
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
body: |
**Password**: `Radiu$1234`


close_pr_site:
name: Close PR Staging Site
Expand All @@ -159,6 +143,7 @@ jobs:
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.ENV_STATICWEBAPP_TOKEN }}
skip_deploy_on_missing_secrets: true
action: "close"

algolia_index:
Expand Down
7 changes: 3 additions & 4 deletions docs/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
baseURL = "https://edge.docs.radapp.io/"
baseURL = "https://docs.radapp.io/"
languageCode = "en-us"
title = "Radius Docs"
theme = "docsy"
Expand Down Expand Up @@ -67,8 +67,7 @@ tag = "tags"

[params]
copyright = "Radius"

version = "edge"
version = "v0.26"
tag_version = "latest"
chart_version = "0.26.0"

Expand All @@ -78,7 +77,7 @@ algolia_docsearch = true
# GitHub Information
github_repo = "https://github.com/radius-project/docs"
github_subdir = "docs"
github_branch = "edge"
github_branch = "v0.26"
github_project_repo = "https://github.com/radius-project/radius"

# Versioning
Expand Down
2 changes: 1 addition & 1 deletion docs/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Radius is a cloud native application platform. It enables developers and IT ope
{{< /card >}}
{{< /cardpane >}}
{{< cardpane >}}
{{< card header="**💭 Concepts**" footer="[**Learn the concepts →**]({{< ref tutorials >}})" >}}
{{< card header="**💭 Concepts**" footer="[**Learn the concepts →**]({{< ref concepts >}})" >}}
Learn about the background and concepts behind Radius with in-depth explanations. We'll cover the main concepts and how Radius works, so you have the broader context to deeply understand Radius and use it most effectively.
{{< /card >}}
{{< card header="**🧾 Reference**" footer="[**Visit reference material →**]({{< ref guides >}})" >}}
Expand Down
2 changes: 1 addition & 1 deletion docs/content/community/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ type: docs
title: "Radius Community"
linkTitle: "Community"
description: "Information about the Radius community"
weight: 80
weight: 90
---
27 changes: 2 additions & 25 deletions docs/content/community/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,11 @@ Welcome to the Radius community!

The best way to interact with the community is via the Radius Discord server:

{{< button link="https://discord.gg/SRG3ePMKNy" text="Radius Discord" newtab="true" >}}
{{< button link="https://aka.ms/radius/discord" text="Radius Discord" newtab="true" >}}

## Community meetings

Every month we host a community meeting to showcase new features, review upcoming milestones, and engage in a Q&A.
Anyone from the Radius community can participate, present a topic, or host. All are welcome!

### Meeting link

The meeting link and details are sent out via email.

### Present your topic

To present a specific topic on the next Radius community call start by filling out this short form, [Radius community call presenter sign-up form](https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbRw_b7M-8iE1NkIMvs0xAJFFUQlozVThYSzI4OVhRU0E3NlI0U05GNzZFTi4u).

### Calendar

| Date | Topic(s) | Meeting Link | Recording |
|------|----------|--------------|-----------|
| Thursday Feb 16th 9:00am Pacific Time (PST) | v0.17 release | - | [Stream](https://microsoft.sharepoint.com/:v:/r/teams/radius/Shared%20Documents/General/Community%20Calls/2023-02-16%20Project%20Radius%20Community%20Call.mp4?csf=1&web=1&e=u11ceV) |
| Thursday Mar 16th 9:00am Pacific Time (PST) | v0.18 release | - | [Stream](https://microsoft.sharepoint.com/:v:/r/teams/radius/Shared%20Documents/General/Community%20Calls/2023-03-16%20Project%20Radius%20Community%20Call.mp4?csf=1&web=1&e=LMW6HE) |
| Thursday Apr 20th 9:00am Pacific Time (PST) | v0.19 release | - | [Stream](https://microsoft.sharepoint.com/:v:/r/teams/radius/Shared%20Documents/General/Community%20Calls/2023-04-20%20Project%20Radius%20Community%20Call.mp4?csf=1&web=1&e=RCA5Qx) |
| Thursday May 18th 9:00am Pacific Time (PST) | v0.20 release | - | [Stream](https://microsoft.sharepoint.com/:v:/r/teams/radius/Shared%20Documents/General/Community%20Calls/2023-05-18%20Project%20Radius%20Community%20Call.mp4?csf=1&web=1&e=fKcbzm) |
| Thursday June 15th 9:00am Pacific Time (PST) | v0.21 release | - | [Stream](https://microsoft.sharepoint.com/:v:/r/teams/radius/Shared%20Documents/General/Community%20Calls/2023-06-15%20Project%20Radius%20Community%20Call.mp4?csf=1&web=1&e=WIRhP5) |
| Thursday July 13th 9:00am Pacific Time (PST) | v0.22 release | - | [Stream](https://microsoft.sharepoint.com/:v:/r/teams/radius/Shared%20Documents/General/Community%20Calls/2023-07-13%20Project%20Radius%20Community%20Call.mp4?csf=1&web=1&e=v30w8D) |
| Thursday Aug 8th 9:00am Pacific Time (PST) | v0.23 release | - | [Stream](https://microsoft.sharepoint.com/:v:/r/teams/radius/Shared%20Documents/General/Community%20Calls/2023-08-08%20Project%20Radius%20Community%20Call.mp4?csf=1&web=1&e=6Lew1D&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZyIsInJlZmVycmFsQXBwUGxhdGZvcm0iOiJXZWIiLCJyZWZlcnJhbE1vZGUiOiJ2aWV3In19) |
| Thursday Aug 31st 9:00am Pacific Time (PST) | v0.24 release | - | [Stream](https://microsoft.sharepoint.com/:v:/r/teams/radius/Shared%20Documents/General/Community%20Calls/2023-08-31%20Radius%20Community%20Call.mp4?csf=1&web=1&e=YBjiMv&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZyIsInJlZmVycmFsQXBwUGxhdGZvcm0iOiJXZWIiLCJyZWZlcnJhbE1vZGUiOiJ2aWV3In19) |
| Tuesday, Oct 2nd 9:00am Pacific Time (PST) | v0.25 release | - | [Stream](https://microsoft.sharepoint.com/:v:/r/teams/radius/Shared%20Documents/General/Community%20Calls/2023-10-03%20Radius%20Community%20Call.mp4?csf=1&web=1&e=9iXqbg)
Every month we host a community meeting to showcase new features, review upcoming milestones, and engage in a Q&A. Anyone from the Radius community can participate, present a topic, or host. All are welcome! For the meeting schedule, links, and more information, visit the Radius [community repo](https://github.com/radius-project/community#community-meetings).

## GitHub Issues & repositories

Expand Down
2 changes: 1 addition & 1 deletion docs/content/concepts/architecture-concept/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The service that performs this central functionality in Radius is called the Uni

UCP contains functionality for federating with separate resource managers as well as its resource providers. For example UCP can route requests to Azure or AWS to manage resources on those cloud systems.

UCP is a scalable REST API that can function either with a single global shard or using regional sharing. UCP is based on the design principles of the Azure Resource Manager (ARM) control-plane but generalizes to work across multiple clouds and systems. The UCP codebase is fully open-source and was created from scratch as part of the Radius project. UCP is written in Go.
UCP is a scalable REST API that can function either with a single global shard or using regional sharding. UCP is based on the design principles of the Azure Resource Manager (ARM) control-plane but generalizes to work across multiple clouds and systems. The UCP codebase is fully open-source and was created from scratch as part of the Radius project. UCP is written in Go.

UCP provides routing and federation with internal and external services:

Expand Down
2 changes: 1 addition & 1 deletion docs/content/concepts/multi-cloud-concept/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: docs
title: "Concept: Open-source and multi-cloud"
linkTitle: Open-source and multi-cloud
description: For many enterprises, their cloud native computing strategy involves using multiple cloud providers. Open source projects, like Kubernetes, help ensure these enterprises achieve their strategy. As a result, Radius was designed to be open-source and multi-cloud from the start.
weight: 100
weight: 200
categories: "Concept"
---

Expand Down
2 changes: 1 addition & 1 deletion docs/content/concepts/why-radius-concept/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: docs
title: "Concept: Why Radius?"
linkTitle: "Why Radius?"
description: "Describes the motivations for creating Radius."
weight: 300
weight: 100
categories: "Concept"
---

Expand Down
6 changes: 6 additions & 0 deletions docs/content/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ The Radius getting-started guide can be [run **for free** in a GitHub Codespace]
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/radius-project/samples)
{{< /alert >}}

{{< alert title="🚀 Run in a <b>free</b> GitHub Codespace" color="primary" >}}
The Radius getting-started guide can be [run **for free** in a GitHub Codespace](https://github.blog/changelog/2022-11-09-codespaces-for-free-and-pro-accounts/). Visit the following link to get started in seconds:

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/radius-project/samples)
{{< /alert >}}

## 1. Have your Kubernetes cluster handy

Radius runs inside [Kubernetes]({{< ref "guides/operations/kubernetes" >}}). However you run Kubernetes, get a cluster ready.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ type: docs
title: "Radius reference documentation"
linkTitle: "Reference"
description: "Detailed reference documentation on various Radius components"
weight: 90
weight: 100
---
30 changes: 15 additions & 15 deletions docs/content/tutorials/new-app/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ In addition to containers, you can add dependencies like Redis caches, Dapr Stat

Resources:
myapp Applications.Core/applications
frontend Applications.Core/containers
demo Applications.Core/containers
mongodb Applications.Datastores/mongoDatabases

Starting log stream...
```

1. Open [localhost:3000](http://localhost:3000) to interact with the frontend container. You should see the container's connections and metadata, this time with a connection to the Mongo database and new environment variables set:
1. Open [localhost:3000](http://localhost:3000) to interact with the demo container. You should see the container's connections and metadata, this time with a connection to the Mongo database and new environment variables set:
{{< image src="demo-landing-connection.png" alt="Screenshot of the Radius demo container" width=500px >}}
Expand All @@ -275,20 +275,20 @@ In addition to containers, you can add dependencies like Redis caches, Dapr Stat
```
Displaying application: myapp
Name: frontend (Applications.Core/containers)
Name: demo (Applications.Core/containers)
Connections:
frontend -> mongodb (Applications.Datastores/mongoDatabases)
demo -> mongodb (Applications.Datastores/mongoDatabases)
Resources:
frontend (kubernetes: apps/Deployment)
frontend (kubernetes: core/Secret)
frontend (kubernetes: core/Service)
frontend (kubernetes: core/ServiceAccount)
frontend (kubernetes: rbac.authorization.k8s.io/Role)
frontend (kubernetes: rbac.authorization.k8s.io/RoleBinding)
demo (kubernetes: apps/Deployment)
demo (kubernetes: core/Secret)
demo (kubernetes: core/Service)
demo (kubernetes: core/ServiceAccount)
demo (kubernetes: rbac.authorization.k8s.io/Role)
demo (kubernetes: rbac.authorization.k8s.io/RoleBinding)
Name: mongodb (Applications.Datastores/mongoDatabases)
Connections:
frontend (Applications.Core/containers) -> mongodb
demo (Applications.Core/containers) -> mongodb
Resources:
mongo-bzmp2btdgzez6 (kubernetes: apps/Deployment)
mongo-bzmp2btdgzez6 (kubernetes: core/Service)
Expand All @@ -302,7 +302,7 @@ In addition to dependencies, you can add more containers to make your applicatio
{{% rad file="snippets/3-app-backend.bicep" embed=true marker="//BACKEND" %}}
1. Add a new connection from your `frontend` container to the `backend` container:
1. Add a new connection from your `demo` container to the `backend` container:
{{% rad file="snippets/3-app-backend.bicep" embed=true marker="//CONTAINER" markdownConfig="{hl_lines=[\"20-22\"]}" %}}
Expand All @@ -322,14 +322,14 @@ In addition to dependencies, you can add more containers to make your applicatio
Deployment Complete
Resources:
frontend Applications.Core/containers
demo Applications.Core/containers
backend Applications.Core/containers
mongodb Applications.Datastores/mongoDatabases
Starting log stream...
```
1. Open [localhost:3000](http://localhost:3000) to interact with the frontend container. You should see the container's connections and metadata, this time with a connection to the backend container and new environment variables set:
1. Open [localhost:3000](http://localhost:3000) to interact with the demo container. You should see the container's connections and metadata, this time with a connection to the backend container and new environment variables set:

{{< image src="demo-landing-backend.png" alt="Screenshot of the demo container with a connection to the backend container" width=600px >}}

Expand Down Expand Up @@ -359,7 +359,7 @@ Finally, you can add a gateway to your application. Gateways are used to expose
Deployment Complete

Resources:
frontend Applications.Core/containers
demo Applications.Core/containers
backend Applications.Core/containers
gateway Applications.Core/gateways
mongodb Applications.Datastores/mongoDatabases
Expand Down
2 changes: 1 addition & 1 deletion docs/content/tutorials/new-app/snippets/1-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/demo:edge'
image: 'radius.azurecr.io/samples/demo:latest'
ports: {
web: {
containerPort: 3000
Expand Down
2 changes: 1 addition & 1 deletion docs/content/tutorials/new-app/snippets/2-app-mongo.bicep
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/demo:edge'
image: 'radius.azurecr.io/samples/demo:latest'
env: {
FOO: 'bar'
}
Expand Down
6 changes: 3 additions & 3 deletions docs/content/tutorials/new-app/snippets/3-app-backend.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ param application string
param environment string

//CONTAINER
resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
name: 'frontend'
resource demo 'Applications.Core/containers@2023-10-01-preview' = {
name: 'demo'
properties: {
application: application
container: {
image: 'radius.azurecr.io/tutorial/demo:edge'
image: 'radius.azurecr.io/samples/demo:latest'
env: {
FOO: 'bar'
}
Expand Down
Loading

0 comments on commit 2d8a1d3

Please sign in to comment.