Skip to content

Commit

Permalink
Add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
zanetworker committed Dec 9, 2023
1 parent 1085679 commit 0d14319
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release

on:
push:
tags:
- 'v*'

permissions:
contents: write

jobs:
build:
name: Build and Release
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16' # Make sure to use a valid Go version

- name: Check out code
uses: actions/checkout@v2

- name: Build Binary for Linux
run: GOOS=linux GOARCH=amd64 go build -o hcp-calculator-linux-amd64

- name: Build Binary for Windows
run: GOOS=windows GOARCH=amd64 go build -o hcp-calculator-windows-amd64.exe

- name: Build Binary for macOS
run: GOOS=darwin GOARCH=amd64 go build -o hcp-calculator-darwin-amd64

- name: Create Release and Upload Assets
uses: softprops/action-gh-release@v1
with:
files: |
hcp-calculator-linux-amd64
hcp-calculator-windows-amd64.exe
hcp-calculator-darwin-amd64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Hosted Control Plane Sizing Calculator

This repository contains a command-line tool for calculating the sizing requirements of self-managed hosted control planes (HCP) OpenShift clusters.
This repository contains a command-line tool for calculating the sizing requirements of self-managed hosted control planes (HCP) for Red Hat OpenShift.

The tool factors in CPU, memory, and ETCD storage based on the workload characteristics and the expected Queries Per Second (QPS) rate to the KubeAPI server to give you the best estimates based on studies performed by performance and scale teams.

Expand Down Expand Up @@ -64,6 +64,9 @@ Typical server categories are as follows for reference:
| **High-End Servers** | **CPU**: Could have 32 cores or more, potentially with multiple CPUs.<br/>**Memory**: From 256GB to several terabytes of RAM. |


# Demo
[HCP Sizer Demo](https://www.youtube.com/watch?v=VIDEO_ID)

# Contributing
Contributions to the HCP Sizing Calculator are welcome! Please read our contributing guidelines to get started.

Expand Down

0 comments on commit 0d14319

Please sign in to comment.