-
Notifications
You must be signed in to change notification settings - Fork 0
Docs release worfklow and scripts #22
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
Conversation
Signed-off-by: jaenrig-ifx <[email protected]>
Signed-off-by: jaenrig-ifx <[email protected]>
Signed-off-by: jaenrig-ifx <[email protected]>
Signed-off-by: jaenrig-ifx <[email protected]>
Signed-off-by: jaenrig-ifx <[email protected]>
Signed-off-by: jaenrig-ifx <[email protected]>
Signed-off-by: jaenrig-ifx <[email protected]>
91bf09e
to
668747c
Compare
Signed-off-by: jaenrig-ifx <[email protected]>
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.
Nice!
We can merge them first, then gradually optimise them during use.
|
||
|
||
Additionally, the script will also include all the previous releases (``platforms`` key) based on the JSON package index manifest of the previous release. |
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.
It also mentions that the script will include all previous versions. But where can they be obtained?
- Local JSON
- Remote GitHub JSON
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.
The previous versions are obtained from the release asset package_xmc_index.json. That is the "single source of truth" when it comes to package_index.json.
The local json is relevant for ci/cd, as we only care the current commit, and we don´t need to know about past releases.
(And yet arduino-cli cannot install a core from a local .zip) without a JSON manifest.
Therefore, the local manifest is a workaround, to be able to install the current (or workflow triggering head) commit.
- The `package index manifest <https://docs.arduino.cc/arduino-cli/package_index_json-specification/>`_ file, which contains the information required by Arduino (IDE and CLI) to install the core. | ||
|
||
It requires two files for the asset generation: |
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.
For some reason, it also needs tag history (we need at least one Git tag in the history for this to work properly).
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.
Yes, the history is included.
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.
Looks good.
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.
Nice!
By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
CONTRIBUTING.md also tells you what to expect in the PR process.
Here the rendered docs:
https://ifx-arduino-devops.readthedocs.io/en/docs-release-wflow-scripts/index.html
This pull request enhances the documentation for the Arduino DevOps workflows, focusing on the
compile-examples
andrelease
workflows. It introduces detailed descriptions, getting-started guides, and advanced configuration options for these workflows. Additionally, it improves the structure and clarity of the overall documentation.Documentation Enhancements for Workflows:
Compile Examples Workflow:
compile-examples
workflow, explaining its purpose, functionality, and implementation details (docs/compile-examples/description.rst
).compile-examples
workflow, including prerequisites, setup instructions, and matrix configuration examples (docs/compile-examples/getting-started.rst
).description
andgetting-started
sections for thecompile-examples
workflow (docs/compile-examples/index.rst
).Release Workflow:
release
workflow, covering its purpose, features, and implementation details (docs/release/description.rst
).release
workflow, outlining setup steps, additional options, and different methods for creating releases (docs/release/getting-started.rst
).General Documentation Improvements:
toctree
and adding a warning about upcoming script unification (docs/index.rst
).docs/overview/motivation.rst
,docs/overview/usage.rst
). [1] [2] [3]