Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstaSlice Operator Release Automation

Automation tool for releasing InstaSlice operator builds to OperatorHub.

Quick Start

Prerequisites

The tool requires the following dependencies:

  • Python 3.8+: Runtime environment
  • PyYAML: Python YAML parser (installed via setup.sh)
  • git: Version control operations
  • skopeo: Container image inspection
  • opm v1.47.0+: OLM package manager for FBC generation

Installation

  1. Clone the repository and navigate to the release-automation directory:
cd /path/to/konflux-agent/release-automation
  1. Run the setup script:
./setup.sh

This will:

  • Install PyYAML Python package
  • Make scripts executable
  1. Check dependencies:
./release.sh --check-deps

If any dependencies are missing, install them:

Basic Usage

Run a release (with dry-run first):

# Dry run - no commits
./release.sh --dry-run

# Actual release
./release.sh

The tool will:

  1. Get the latest operator bundle SHA from the next branch
  2. Update the v4.19 FBC catalog template
  3. Regenerate the catalog using opm
  4. Commit the changes locally
  5. Display next steps for pushing

Advanced Usage

# Use custom repository paths
./release.sh --operator-repo /path/to/operator --fbc-repo /path/to/fbc

# Release for different OCP version
./release.sh --ocp-version v4.18

# Verbose logging
./release.sh --verbose

# Show help
./release.sh --help

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages