-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Tour of beam learning materials CI/CD refactoring and templating #25080
Merged
damccorm
merged 11 commits into
apache:master
from
akvelon:tour-of-beam-learning-materials-refactoring
Jan 19, 2023
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
5273160
Add support for templating in Tour of Beam learning materials
TSultanov e83afc2
Process learning materials through the template engine
TSultanov d54f830
refactoring ci/cd for templated learning materials
5adf679
Merge remote-tracking branch 'origin/tour-of-beam-examples-templating…
c517e44
adding template processing
dc92c77
refactoring learning content
0f4917f
Merge branch 'master' into tour-of-beam-learning-materials-refactoring
c7ebeff
fixing incorrect sample path
d4adcd9
minor formatting comments
b6b6538
missed complexity added add code review comments
9a882de
fix possible err overwrite
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
4 changes: 3 additions & 1 deletion
4
...s/learning-content/java/content-info.yaml → ...amples/learning-content/content-info.yaml
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,4 +1,6 @@ | ||
sdk: Java | ||
sdk: | ||
- Java | ||
- Python | ||
content: | ||
- module 1 | ||
- module 2 |
2 changes: 2 additions & 0 deletions
2
...ent/python/module 1/group/group-info.yaml → ...ng-content/module 1/group/group-info.yaml
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,3 +1,5 @@ | ||
sdk: | ||
- Python | ||
id: group1 | ||
name: The Group | ||
complexity: BASIC | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...va/module 1/unit-challenge/unit-info.yaml → ...ule 1/group/unit-challenge/unit-info.yaml
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,3 +1,5 @@ | ||
sdk: | ||
- Python | ||
id: challenge1 | ||
name: Challenge Name | ||
complexity: BASIC | ||
|
2 changes: 2 additions & 0 deletions
2
...java/module 1/unit-example/unit-info.yaml → ...odule 1/group/unit-example/unit-info.yaml
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,3 +1,5 @@ | ||
sdk: | ||
- Python | ||
id: example1 | ||
name: Example Unit Name | ||
taskName: ExampleName |
2 changes: 2 additions & 0 deletions
2
...python/module 1/intro-unit/unit-info.yaml → ...ontent/module 1/intro-unit/unit-info.yaml
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,3 +1,5 @@ | ||
sdk: | ||
- Python | ||
id: intro-unit | ||
name: Example Unit Name | ||
taskName: ExampleName |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't technically a problem with this code change, but I think this loop has a potential problem. If the first file has an associated error, but the second does not it will reset
err
tonil
Probably we should be early returning if
err != nil
after the switchThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Nice catch!