Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update prerequiste and debug docs #6965

Merged
merged 9 commits into from
Dec 20, 2023

Conversation

lechnerc77
Copy link
Contributor

Description

This PR is a follow-up due to the introduction of dev containers and a new debugging configuration and updates the documentation with the new options. This comprises the:

  • setup prerequistes
  • fist commit - debugging

This includes the updates of dependent documentation in the "first-commit" directories if applicable.

Type of change

  • This pull request fixes a bug in Radius and has an approved issue (issue link required).

Linked to: #6923 (not closing it, as one more tak is open )

Auto-generated summary

copilot:all

Signed-off-by: Christian Lechner <[email protected]>
Signed-off-by: Christian Lechner <[email protected]>
Signed-off-by: Christian Lechner <[email protected]>
@lechnerc77 lechnerc77 requested review from a team as code owners December 17, 2023 12:46
@lechnerc77 lechnerc77 changed the title docs: update prerequiste and beug docs docs: update prerequiste and debug docs Dec 17, 2023
@@ -2,67 +2,76 @@

## Debugging your changes

### Creating debug settings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I previewed this in GitHub to verify that all of the images still work. Looks good 👍


You can play around with the various debugger features, like stepping into code. When you're done, hit the red square *stop* icon in the debugger tools to end the debugging session.

## Next step

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great 👍

- [Go extension](https://marketplace.visualstudio.com/items?itemName=golang.go)

Install both of these and then follow the steps in the *Quick Start* for the Go extension.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put a small section here linking to the devcontainer setup? https://code.visualstudio.com/docs/devcontainers/tutorial

Copy link
Contributor Author

@lechnerc77 lechnerc77 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done - added that in the dev container section in the beginning


You can easily do this from the command shell with `code .`, which opens the current directory as a folder in VS Code.

## Tool overview
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to keep this section named Basic Prerequisites Some other docs pages refer to it by name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

```bash
brew install make
```
- Make
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to remove these instructions? We found mac users get stuck on this step.

Copy link
Contributor Author

@lechnerc77 lechnerc77 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this section I kept the list of tools as an overview. The deatiled steps for installing make are described in the local setup. As I redone the outline based on your comments it is now again in the "old" place

Copy link
Contributor

@rynowak rynowak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lechnerc77 - I think all of the new content and additions to the documentation are great 👍. I'd like to see if we can organize the prequisites page in a simpler way. See suggestion.

This is almost ready from my PoV.

@lechnerc77
Copy link
Contributor Author

@rynowak thanks for the review. I restructured the prerequisties README.md based on your comments. I think the flow is now more comprehensive for contributors. Looking forward to your feedback


The dev container will be started automatically.

![Dev container startup process](img/vscode-devcontainer-opening-process.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why but this is not rendering correctly. Here's what I see:

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a wrong indentation in the markdown. This is fixed now

Copy link
Contributor

@rynowak rynowak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking awesome overall 👍

There's one more minor thing to fix: https://github.com/radius-project/radius/pull/6965/files#r1431932051

Signed-off-by: Christian Lechner <[email protected]>
@lechnerc77
Copy link
Contributor Author

This is looking awesome overall 👍

There's one more minor thing to fix: https://github.com/radius-project/radius/pull/6965/files#r1431932051

@rynowak Fixed the rendering issue (and one typo).

@radius-functional-tests
Copy link

radius-functional-tests bot commented Dec 20, 2023

Radius functional test overview

🔍 Go to test action run

Name Value
Repository lechnerc77/radius
Commit ref be803b8
Unique ID 9d720e7efd
Image tag pr-9d720e7efd
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/functional/shared/recipes/<name>:pr-9d720e7efd
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-9d720e7efd
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-9d720e7efd
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-9d720e7efd
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting datastoresrp functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting samples functional tests...
⌛ Starting shared functional tests...
✅ ucp functional tests succeeded
✅ kubernetes functional tests succeeded
✅ msgrp functional tests succeeded
✅ samples functional tests succeeded
✅ daprrp functional tests succeeded
✅ shared functional tests succeeded

@rynowak rynowak merged commit 6f257bc into radius-project:main Dec 20, 2023
16 checks passed
@lechnerc77 lechnerc77 deleted the docs/get-started branch December 21, 2023 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants