/modules-actions

GitHub actions set for Deckhouse modules

Apache License 2.0Apache-2.0

Deckhouse Modules Actions

Overview

This repository contains GitHub Actions workflows for building and deploying modules for the Deckhouse Kubernetes Platform.

Workflows

Workflow Description
setup Sets up the environment for building and deploying modules. This workflow must be run before any other workflows.
build Builds the Deckhouse modules using the werf tool.
deploy Deploys the Deckhouse modules to the one of selected release channels.

Examples

All examples are located in the examples directory. They show how to use the workflows in different scenarios.

  1. build.yaml — can be run for each PR commit and when a new release is created. Builds the modules and pushes them to the container registry.
  2. deploy.yaml — can be run after releasing a new version of the modules. Deploys the modules to the selected release channel.

Usage

To use these GitHub Action workflows in your own repository:

  1. Copy the workflows (YAML files) from the .examples directory into your repository.

  2. Adjust the workflow files based on your specific requirements and configurations.

  3. Make sure to configure any necessary secrets or environment variables in your GitHub repository settings to enable secure deployment.

  4. Trigger the workflows manually or automatically on each push, pull request, or any other event as needed.