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:

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:

  1. Clone the repository inside your Arduino asset repository:

cd my-arduino-asset
git clone https://github.com/Infineon/arduino-devops.git
  1. Install the required Python dependencies:

pip install -r arduino-devops/requirements.txt
  1. 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