Skip to content

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

Merged
merged 8 commits into from
Aug 4, 2025
Merged

Conversation

jaenrig-ifx
Copy link
Member

@jaenrig-ifx jaenrig-ifx commented Jul 22, 2025

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 and release 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:

  • Added a comprehensive description of the compile-examples workflow, explaining its purpose, functionality, and implementation details (docs/compile-examples/description.rst).
  • Created a detailed "Getting Started" guide for setting up the compile-examples workflow, including prerequisites, setup instructions, and matrix configuration examples (docs/compile-examples/getting-started.rst).
  • Updated the table of contents to include the description and getting-started sections for the compile-examples workflow (docs/compile-examples/index.rst).

Release Workflow:

  • Added a detailed description of the release workflow, covering its purpose, features, and implementation details (docs/release/description.rst).
  • Provided a "Getting Started" guide for the release workflow, outlining setup steps, additional options, and different methods for creating releases (docs/release/getting-started.rst).

General Documentation Improvements:

  • Improved the structure and readability of the main documentation index by updating the toctree and adding a warning about upcoming script unification (docs/index.rst).
  • Standardized section headings for consistency across the documentation (docs/overview/motivation.rst, docs/overview/usage.rst). [1] [2] [3]

@jaenrig-ifx jaenrig-ifx force-pushed the docs-release-wflow-scripts branch from 91bf09e to 668747c Compare July 22, 2025 15:29
@jaenrig-ifx jaenrig-ifx marked this pull request as ready for review July 22, 2025 15:35
Copy link

@LinjingZhang LinjingZhang left a 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.

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

Copy link
Member Author

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:

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).

Copy link
Member Author

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.

Copy link
Contributor

@ramya-subramanyam ramya-subramanyam left a comment

Choose a reason for hiding this comment

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

Looks good.

Copy link

@IFX-Anusha IFX-Anusha left a comment

Choose a reason for hiding this comment

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

Nice!

@jaenrig-ifx jaenrig-ifx merged commit fa1149b into docs Aug 4, 2025
@jaenrig-ifx jaenrig-ifx deleted the docs-release-wflow-scripts branch August 4, 2025 09:58
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.

4 participants