Skip to content

Commit

Permalink
Merge branch 'edge' into jasonviviano/kubernetes-incremental-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonviviano authored Nov 27, 2023
2 parents 30aff34 + a2ebf56 commit 7a32bb1
Show file tree
Hide file tree
Showing 64 changed files with 4,055 additions and 271 deletions.
195 changes: 195 additions & 0 deletions .github/config/en-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,7 @@ SRE
SREs
OSI
ghcr
sharding
png
src
todoapp
Expand Down Expand Up @@ -1014,3 +1015,197 @@ sngm
nmqpk
fluentbit
nmqpk
interoperate
ToDo
dfb
vhj
Helming
mv
secretName
bcd
jmgn
xgj
Fs
FsOjYzNzksYWJvcnRDb
JyYTNkN
LmRlbW
Ly
NjM
OQ
PUZhbHNl
VoNi
Yy
ZXIubG
ZjLmNsdXN
ZmFsc
bea
blockOwnerDeletion
cb
cmVkaXM
cmVkaXMtcjV
creationTimestamp
dWg
fb
jYWw
jbHVzdGVyLmxvY
kZW
ownerReferences
resourceVersion
uZWN
uc
uid
vLnN
wPw
yNXRjcnJhM
yZWRpcy
matchLabels
plc
cdf
dcf
Tanzu
Kubevela
curation
Waypoint
Crossplane
GitOps
stateful
DSL
unopinionated
Incubations
HCP
Backstage
DaprSidecarExtension
ContainerProperties
ApplicationProperties
encodings
resourceGroups
RecipeStatus
lastModifiedByType
IfNotPresent
OnFailure
AzureKeyVaultVolumePropertiesKeys
EnvironmentProperties
Readonly
EnvironmentPropertiesRecipes
SystemData
TrackedResourceTags
BicepRecipeProperties
RedisCacheListSecretsResult
restartPolicy
ValueFromProperties
grpc
myserviceroute
VolumeProperties
RecipeProperties
schemaExample
IdentitySettings
lastModifiedBy
RuntimesProperties
HealthProbeProperties
rabbitMQQueues
ResourceStatus
HttpRouteProperties
myroute
KubernetesMetadataExtensionAnnotations
SecretValue
listSecrets
pubSubBroker
KubernetesCompute
SqlDatabase
createdAt
GatewayProperties
SqlDatabaseListSecretsResult
SqlDatabaseProperties
bool
GatewayHostname
statestores
provisioningState
SecretObjectProperties
RedisCacheSecrets
SecretValueProperties
HttpGetHealthProbePropertiesHeaders
ConfigMaps
certType
ContainerPorts
templateVersion
ExtenderResource
sqldatabases
ContainerPropertiesConnections
rabbitmqqueues
RabbitMQSecrets
ResourceReference
DaprStateStoreProperties
IamProperties
KubernetesPodSpec
EphemeralVolume
PersistentVolume
httproutes
myservice
datastores
localId
MongoDatabaseListSecretsResult
radiusManaged
RedisCache
AzureKeyVaultVolumeProperties
createdByType
SecretStoreListSecretsResultData
GatewayRoute
SecretStoreListSecretsResult
lastModifiedAt
TcpHealthProbeProperties
testGroup
RabbitMQQueue
KubernetesNamespaceExtension
pubsubbrokers
StateStore
ExecHealthProbeProperties
ProvidersAzure
mygateway
SqlDatabaseSecrets
DaprPubSubBrokerProperties
geo
RedisCacheProperties
LocalIDs
ManagedIdentity
createdBy
HTTPRoute
SecretStoreProperties
EnvironmentCompute
PubSubBroker
KubernetesMetadataExtension
ContainerPortProperties
CertificateObjectProperties
ContainerVolumes
GatewayTls
HttpGetHealthProbeProperties
AzureKeyVaultVolumePropertiesSecrets
systemData
TerraformRecipeProperties
DictionaryOfRecipeProperties
ProvidersAws
DaprSecretStoreProperties
ConnectionProperties
timeoutSeconds
disableDefaultEnvVars
OutputResource
ExtenderProperties
vhost
mydomain
MongoDatabaseSecrets
MongoDatabaseProperties
TemplateVersion
ContainerEnv
SecretStorePropertiesData
AzureKeyVaultVolumePropertiesCertificates
RabbitMQQueueProperties
KeyObjectProperties
KubernetesRuntimeProperties
RabbitMQListSecretsResult
ManualScalingExtension
PUBLICHOSTNAMEORIP
myhostname
IdentitySettingKind
KubernetesMetadataExtensionLabels
outputResources
SecretStore
plainHTTP
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"
8 changes: 1 addition & 7 deletions .github/workflows/validate-bicep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,11 @@ 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
run: |
./.github/scripts/curl-with-retries.sh https://get.radapp.dev/tools/bicep-extensibility/${{ env.DOCS_CHANNEL }}/linux-x64/rad-bicep --output rad-bicep
oras pull ghcr.io/radius-project/radius/bicep/rad-bicep/linux-x64:latest
chmod +x rad-bicep
./rad-bicep --version
- name: Verify Bicep files
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
20 changes: 20 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# Contributing to Radius documentation

Thank you for your interesting in contributing to the Radius documentation! For more information please refer to [https://docs.radapp.io/community/contributing/docs/](https://docs.radapp.io/community/contributing/docs/)

## Developer Certificate of Origin

The Radius project follows the [Developer Certificate of Origin](https://developercertificate.org/). This is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project.

Contributors sign-off that they adhere to these requirements by adding a Signed-off-by line to commit messages.

```
This is my commit message
Signed-off-by: Random J Developer <[email protected]>
```

Git even has a -s command line option to append this automatically to your commit message:

```
$ git commit -s -m 'This is my commit message'
```

Visual Studio Code has a setting, `git.alwaysSignOff` to automatically add a Signed-off-by line to commit messages. Search for "sign-off" in VS Code settings to find it and enable it.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The latest release docs are available at https://radapp.io

### Edge docs

Edge docs are available at https://edge.radapp.io
Edge docs are available at https://edge.docs.radapp.io

### Staging docs

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
---
20 changes: 20 additions & 0 deletions docs/content/community/contributing/contributing-docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,26 @@ It's easy to get up and running with a GitHub Codespace. This will give you a fu

3. Navigate to `http://localhost:1313/`

## Developer Certificate of Origin

The Radius project follows the [Developer Certificate of Origin](https://developercertificate.org/). This is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project.

Contributors sign-off that they adhere to these requirements by adding a Signed-off-by line to commit messages.

```
This is my commit message
Signed-off-by: Random J Developer <[email protected]>
```

Git even has a -s command line option to append this automatically to your commit message:

```
$ git commit -s -m 'This is my commit message'
```

Visual Studio Code has a setting, `git.alwaysSignOff` to automatically add a Signed-off-by line to commit messages. Search for "sign-off" in VS Code settings to find it and enable it.

## Types of docs

There are 5 types of docs in Radius:
Expand Down
Loading

0 comments on commit 7a32bb1

Please sign in to comment.