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

0.13 docs update: tutorials #4127

Merged
merged 16 commits into from
May 8, 2023
Merged

0.13 docs update: tutorials #4127

merged 16 commits into from
May 8, 2023

Conversation

vvagaytsev
Copy link
Collaborator

What this PR does / why we need it:
Addresses the tutorials part of #4067.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@vvagaytsev vvagaytsev requested review from Walther and Orzelius April 26, 2023 11:22
@vvagaytsev vvagaytsev changed the title 0.13 docs update tutorials 0.13 docs update: tutorials Apr 26, 2023
Comment on lines -19 to +22
To initialize the project, we can use a helper command:
To initialize the project use a helper command:
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@@ -35,55 +38,68 @@ providers:

We have one environment (`default`) and a single provider. We'll get back to this later.

Next, let's create module configs for each of our two modules, starting with `backend`.
[//]: # (TODO: `garden create action` is still under construction, update this section when the command is ready)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we could just skip implementing it and have simple configs here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Agree, the command can wait. I'll change the tutorial to use explicit configuration code snippets for action definitions.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed this in 1bc2439

@vvagaytsev vvagaytsev force-pushed the 0.13-docs-update-tutorials branch from 8e90761 to 27f3448 Compare May 8, 2023 09:55
@vvagaytsev vvagaytsev requested a review from Orzelius May 8, 2023 10:24
@vvagaytsev
Copy link
Collaborator Author

@Orzelius @Walther now this is ready for the second review round :)

@Orzelius
Copy link
Contributor

Orzelius commented May 8, 2023

would you mind updating the target branch, there are 5k+ line changes in this pr currently

@vvagaytsev vvagaytsev changed the base branch from 0.13-create-actions-command to 0.13 May 8, 2023 10:37
@vvagaytsev
Copy link
Collaborator Author

would you mind updating the target branch, there are 5k+ line changes in this pr currently

Ah, sorry, my bad :) I've just updated it, thanks 👍

Copy link
Contributor

@Orzelius Orzelius left a comment

Choose a reason for hiding this comment

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

some nitty-pickies

description: Frontend service container
type: container

# This defines an image to be used and refers the 'frontend' Build action defined above
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can be removed as it's explained above

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed in e1230b7

dependencies:
- deploy.backend

# This block is necessary to deploy and expose the frontend application
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can be removed as it's explained above

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed in e1230b7

spec:
args: [ npm, test ]

--- # the yaml separator is necessary to delimit different actions
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to repeat the comment imo, just distracts from other more important ones

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed in e1230b7

docs/tutorials/your-first-project/3-deploy-and-test.md Outdated Show resolved Hide resolved
vvagaytsev and others added 16 commits May 8, 2023 14:45
Makes editing in IDE easier, no need to horizontally scroll the text.
Use explicit configuration code snippets instead of references to a non-existing command.
@vvagaytsev vvagaytsev force-pushed the 0.13-docs-update-tutorials branch from ec794f3 to e1230b7 Compare May 8, 2023 12:47
@vvagaytsev
Copy link
Collaborator Author

Thanks for the comments and improvement @Orzelius! Now everything has been addressed and applied. Please review again :)

@vvagaytsev vvagaytsev requested a review from Orzelius May 8, 2023 12:48
Copy link
Contributor

@Orzelius Orzelius left a comment

Choose a reason for hiding this comment

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

All good from me! 🎸

@vvagaytsev vvagaytsev merged commit 0d3fadc into 0.13 May 8, 2023
@vvagaytsev vvagaytsev deleted the 0.13-docs-update-tutorials branch May 8, 2023 13:05
This was referenced May 11, 2023
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