Usage
This repository is designed to automate DevOps processes for Arduino libraries and cores. Thus, we recommend starting by adding the available reusable workflows to your GitHub-hosted library or core. Before running the workflows, you’ll need to configure them with some minimal settings.
Step-by-step enablement
To begin, we recommend following our Getting Started guides, which will walk you through the process of enabling the workflows:
Getting started with compile-examples workflow enablement. Learn how to set up the compile-examples workflow and start automating your build processes.
Getting started with release workflow enablement. Discover how to enable the release workflow and streamline your library or core releases.
Advanced customizations and local usage
As you become more familiar with the workflows and scripts, you might need advanced customizations to tailor them to your needs. You can also use the scripts locally on your development machine.
Running scripts locally
To run the scripts locally, first ensure you have the required dependencies installed (see Requirements).
Then, follow these steps:
Clone the repository inside your Arduino asset repository:
cd my-arduino-asset git clone https://github.com/Infineon/arduino-devops.git
Install the required Python dependencies:
pip install -r arduino-devops/requirements.txt
Run the scripts from your Arduino asset repository:
python arduino-devops/<script-name>.py [args]
Note
You can run the scripts from anywhere in your system, but you’ll need to specify the root path of your Arduino asset using the required flag (see --help option).
The scripts are designed as CLI tools, and you can run them with the --help option to see available options and usage examples. For example:
python arduino-devops/<script-name>.py --help