-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
872 changed files
with
24,051 additions
and
21,285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,51 @@ | ||
{ | ||
"name": "Radius - Contributor", | ||
// For details see https://github.com/radius-project/radius/tree/main/docs/contributing/contributing-code/contributing-code-prerequisites | ||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", | ||
"features": { | ||
//Git and GitHub Setup | ||
"ghcr.io/devcontainers/features/git:1": {}, | ||
"ghcr.io/devcontainers/features/github-cli:1": {}, | ||
//Programming languages | ||
"ghcr.io/devcontainers/features/go:1": {}, | ||
"ghcr.io/guiyomh/features/gotestsum:0.1.1": {}, | ||
"ghcr.io/devcontainers/features/node:1": {}, | ||
"ghcr.io/devcontainers-contrib/features/typescript:2": {}, | ||
"ghcr.io/devcontainers/features/python:1": {}, | ||
//Container and K8s | ||
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": { | ||
"minikube": "none" | ||
}, | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"version": "latest", | ||
"moby": true | ||
}, | ||
//Tools | ||
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {}, | ||
"ghcr.io/mpriscella/features/kind:1": {}, | ||
"ghcr.io/dhoeric/features/stern:1": {}, | ||
//Dapr | ||
"ghcr.io/dapr/cli/dapr-cli:0": {} | ||
"name": "Radius - Contributor", | ||
// For details see https://github.com/radius-project/radius/tree/main/docs/contributing/contributing-code/contributing-code-prerequisites | ||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", | ||
"features": { | ||
//Git and GitHub Setup | ||
"ghcr.io/devcontainers/features/git:1": {}, | ||
"ghcr.io/devcontainers/features/github-cli:1": {}, | ||
//Programming languages | ||
"ghcr.io/devcontainers/features/go:1": {}, | ||
"ghcr.io/guiyomh/features/gotestsum:0.1.1": {}, | ||
"ghcr.io/devcontainers/features/node:1": {}, | ||
"ghcr.io/devcontainers-contrib/features/typescript:2": {}, | ||
"ghcr.io/devcontainers/features/python:1": {}, | ||
//Container and K8s | ||
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": { | ||
"minikube": "none" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"redhat.vscode-yaml", | ||
"golang.go", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"ms-azuretools.vscode-bicep", | ||
"ms-kubernetes-tools.vscode-kubernetes-tools", | ||
"ms-azuretools.vscode-dapr", | ||
"ms-vscode.makefile-tools", | ||
"timonwong.shellcheck" | ||
] | ||
} | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"version": "latest", | ||
"moby": true | ||
}, | ||
// Prerequisite for Code Generation, see https://github.com/radius-project/radius/tree/main/docs/contributing/contributing-code/contributing-code-prerequisites#code-generation | ||
// Adding workspace as safe directory to avoid permission issues | ||
"postCreateCommand": "git config --global --add safe.directory /workspaces/radius && cd typespec && npm ci && npm install -g autorest && npm install -g oav && go install sigs.k8s.io/controller-tools/cmd/[email protected] && go install go.uber.org/mock/[email protected]", | ||
"hostRequirements": { | ||
"memory": "8gb" | ||
}, | ||
} | ||
//Tools | ||
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {}, | ||
"ghcr.io/mpriscella/features/kind:1": {}, | ||
"ghcr.io/dhoeric/features/stern:1": {}, | ||
//Dapr | ||
"ghcr.io/dapr/cli/dapr-cli:0": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"redhat.vscode-yaml", | ||
"golang.go", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"ms-azuretools.vscode-bicep", | ||
"ms-kubernetes-tools.vscode-kubernetes-tools", | ||
"ms-azuretools.vscode-dapr", | ||
"ms-vscode.makefile-tools", | ||
"timonwong.shellcheck" | ||
] | ||
} | ||
}, | ||
// Prerequisite for Code Generation, see https://github.com/radius-project/radius/tree/main/docs/contributing/contributing-code/contributing-code-prerequisites#code-generation | ||
// Adding workspace as safe directory to avoid permission issues | ||
"postCreateCommand": "git config --global --add safe.directory /workspaces/radius && cd typespec && npm ci && npm install -g autorest && npm install -g oav && go install sigs.k8s.io/controller-tools/cmd/[email protected] && go install go.uber.org/mock/[email protected]", | ||
"hostRequirements": { | ||
"memory": "8gb" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
- name: Setup NodeJS | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "18" | ||
node-version: "22" | ||
- name: Install TypeSpec compiler | ||
run: | | ||
pushd typespec | ||
|
@@ -59,7 +59,7 @@ jobs: | |
- name: Install mockgen | ||
run: go install go.uber.org/mock/[email protected] | ||
- name: Install controller-gen | ||
run: go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.15.0 | ||
run: go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.16.0 | ||
- name: Install helm | ||
uses: azure/setup-helm@v4 | ||
with: | ||
|
@@ -91,3 +91,23 @@ jobs: | |
run: | | ||
echo "Generated code is not up to date, run 'make generate' to update generated code." | ||
exit 1 | ||
format-check: | ||
name: Format check with Prettier | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v4 | ||
- name: Setup NodeJS | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22" | ||
- name: Run `make format-check` | ||
id: format-check | ||
run: | | ||
make format-check | ||
- name: Check for formatting failures | ||
if: steps.format-check.outcome == 'failure' | ||
run: | | ||
echo "Format check failed. Please fix the formatting issues. You can run 'make format-write' to update the code." | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# .prettierignore | ||
pkg/validator/testdata/put-environments-invalid-json.json | ||
|
||
hack/bicep-types-radius/generated/* | ||
|
||
bicep-types/* | ||
|
||
swagger/* |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# These owners are the maintainers and approvers of this repo | ||
* @radius-project/maintainers-radius @radius-project/approvers-radius |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule bicep-types
updated
7 files
Oops, something went wrong.