-
Notifications
You must be signed in to change notification settings - Fork 48
Updating docs - adding links- restructuring the content #69
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
Merged
magerstam
merged 7 commits into
open-edge-platform:3.0-dev
from
sgolebiewski-intel:documentation-minor-update-for-3.0-dev
Apr 29, 2025
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f13ebd5
Updating docs - adding links- restructuring the content
sgolebiewski-intel c761da8
Update docs/developer-guide/get-started/building-howto.md
magerstam 03c9e7b
Add markdownlint to ignore line lengths in table
anujm1 c138c77
Merge branch '3.0-dev' into documentation-minor-update-for-3.0-dev
anujm1 b3d61f4
Update docs/developer-guide/get-started/building-howto.md
magerstam 6b94453
Update docs/developer-guide/get-started/building-howto.md
magerstam bbf6e59
Apply suggestions from code review
sgolebiewski-intel 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 hidden or 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,38 @@ | ||
| # Tweak the template from super-linter from here: | ||
| # https://github.com/super-linter/super-linter/blob/main/TEMPLATES/.markdown-lint.yml | ||
|
|
||
| ########################### | ||
| ########################### | ||
| ## Markdown Linter rules ## | ||
| ########################### | ||
| ########################### | ||
|
|
||
| # Linter rules doc: | ||
| # - https://github.com/DavidAnson/markdownlint | ||
| # | ||
| # Note: | ||
| # To comment out a single error: | ||
| # <!-- markdownlint-disable --> | ||
| # any violations you want | ||
| # <!-- markdownlint-restore --> | ||
| # | ||
|
|
||
| ############### | ||
| # Rules by id # | ||
| ############### | ||
| MD004: false # Unordered list style | ||
| MD007: | ||
| indent: 2 # Unordered list indentation | ||
| MD013: | ||
| line_length: 400 # Line length 80 is far too short | ||
| tables: false | ||
| MD026: | ||
| punctuation: ".,;:!。,;:" # List of not allowed | ||
sgolebiewski-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| MD029: false # Ordered list item prefix | ||
| MD033: false # Allow inline HTML | ||
| MD036: false # Emphasis used instead of a heading | ||
|
|
||
| ################# | ||
| # Rules by tags # | ||
| ################# | ||
| blank_lines: false # Error on blank lines | ||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -24,49 +24,6 @@ to the Edge Microvisor Toolkit repository: | |
|
|
||
|  | ||
|
|
||
| ### Update of Edge Node Agents | ||
|
|
||
| 1. If a new package has to be released, follow these steps to ensure the package is available | ||
| in the artifactory: | ||
|
|
||
| a. Checkout the tag for your agent which has to be released. | ||
| b. cd into your agent's directory. | ||
| c. Invoke `make tarball`. | ||
| d. Upload tarball from `build/artifacts` to the tarball repository. | ||
|
|
||
| 2. Update the respective .spec file in SPECS/`package` directory. Example: `SPECS/node-agent`. | ||
|
|
||
| 3. Bump the release number declared in the top section of the .spec file if on the same | ||
| version. Otherwise, update the release version and set the number to 1. | ||
|
|
||
| 4. Update `env_wrapper.sh` and the .spec file if there are installation changes or new | ||
| configurations to be added. | ||
|
|
||
| 5. Update the changelog to ensure the version and release number are mentioned correctly as | ||
| well. Example: | ||
|
|
||
| ```bash | ||
| * Tue Mar 25 2025 Andrea Campanella <[email protected]> - 1.5.11-2 | ||
| - Move from RSTYPE to RS_TYPE in wrapper for node-agent | ||
| ``` | ||
|
|
||
| 6. Generate sha256sum of all files that have been updated. | ||
| Example : `sha256sum ./SPECS/node-agent/env_wrapper.sh` | ||
|
|
||
| 7. Update the signature file name `<agent-name>.signatures.json`. Example: `node-agent.signatures.json`. | ||
|
|
||
| 8. Update `cgmanifest.json`. You can use a script to do it, if you have an RPM environment. | ||
| Otherwise, update the version and download the URL manually. Example commands to update | ||
| using a manifest: | ||
|
|
||
| ```bash | ||
| python3 -m pip install -r ./toolkit/scripts/requirements.txt | ||
| python3 ./toolkit/scripts/update_cgmanifest.py first cgmanifest.json ./SPECS/node-agent/node-agent.spec | ||
| ``` | ||
|
|
||
| > **Note:** | ||
| This guide applies to `rpm` package addition in general for Edge Microvisor. | ||
|
|
||
| ## Release Cadence | ||
|
|
||
| Edge Microvisor Toolkit has a steady and predictable release cadence. Both issues and | ||
|
|
||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -123,6 +123,50 @@ Then, rebuild the image: | |
| sudo make image -j8 REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/edge-image.json | ||
| ``` | ||
|
|
||
| ### Update or Add Packages | ||
|
|
||
| 1. If a new package has to be released, follow these steps to ensure the package is available | ||
sgolebiewski-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| in the artifactory: | ||
|
|
||
| a. Checkout the tag for your agent which has to be released. | ||
sgolebiewski-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| b. cd into your agent's directory. | ||
| c. Invoke `make tarball`. | ||
sgolebiewski-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| d. Upload tarball from `build/artifacts` to the tarball repository. | ||
|
|
||
| 2. Update the respective .spec file in SPECS/`package` directory. Example: `SPECS/node-agent`. | ||
|
|
||
| 3. Bump the release number declared in the top section of the .spec file if on the same | ||
| version. Otherwise, update the release version and set the number to 1. | ||
|
|
||
| 4. Update `env_wrapper.sh` and the .spec file if there are installation changes or new | ||
| configurations to be added. | ||
sgolebiewski-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| 5. Update the changelog to ensure the version and release number are mentioned correctly as | ||
| well. Example: | ||
|
|
||
| ```bash | ||
| * Tue Mar 25 2025 Andrea Campanella <[email protected]> - 1.5.11-2 | ||
| - Move from RSTYPE to RS_TYPE in wrapper for node-agent | ||
| ``` | ||
|
|
||
| 6. Generate sha256sum of all files that have been updated. | ||
| Example : `sha256sum ./SPECS/node-agent/env_wrapper.sh` | ||
|
|
||
| 7. Update the signature file name `<agent-name>.signatures.json`. Example: `node-agent.signatures.json`. | ||
|
|
||
| 8. Update `cgmanifest.json`. You can use a script to do it, if you have an RPM environment. | ||
| Otherwise, update the version and download the URL manually. Example commands to update | ||
| using a manifest: | ||
sgolebiewski-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ```bash | ||
| python3 -m pip install -r ./toolkit/scripts/requirements.txt | ||
| python3 ./toolkit/scripts/update_cgmanifest.py first cgmanifest.json ./SPECS/node-agent/node-agent.spec | ||
| ``` | ||
|
|
||
| > **Note:** | ||
| This guide applies to `rpm` package addition in general for Edge Microvisor. | ||
sgolebiewski-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ## Next | ||
|
|
||
| - Learn how to [Enable Secure Boot for Edge Microvisor Toolkit](sb-howto.md). | ||
| - See the detailed description of how to [create a full build and customize it](/toolkit/docs/building/add-package.md). | ||
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.
Uh oh!
There was an error while loading. Please reload this page.