Skip to content

Commit d2795ee

Browse files
committed
chore: switch to main
This commit updates the GH workflows, Makefile and docs to now point to the main branch instead of reboot branch Signed-off-by: vprashar2929 <[email protected]>
1 parent d700f89 commit d2795ee

File tree

10 files changed

+9
-16
lines changed

10 files changed

+9
-16
lines changed

.github/workflows/assign-labels.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Assign Labels
22

33
on:
44
pull_request_target:
5-
branches: [reboot]
65

76
jobs:
87
assign-labels:

.github/workflows/check-x-crypto-deps.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Check x/crypto
33
on:
44
workflow_dispatch:
55
# pull_request_target:
6-
# branches: [reboot]
76

87
jobs:
98
check-x-crypto-deps:

.github/workflows/k8s-equinix.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Build and Deploy K8s on Equinix
22

33
on: #yamllint disable-line rule:truthy
44
pull_request_target:
5-
branches: [reboot]
65
# In order to trigger this workflow on comment, GH accepts the workflow to be available in the default branch only.
76
# issue_comment:
87
# types: [created]

.github/workflows/pr-checks.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: PR Checks
22

33
on: # yamllint disable-line rule:truthy
44
pull_request:
5-
branches: [reboot]
65

76
jobs:
87
check-changes:

.github/workflows/push.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Push
22

33
on: # yamllint disable-line rule:truthy
44
push:
5-
branches: [reboot]
65

76
jobs:
87
test-and-codecov:

.github/workflows/release.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on: #yamllint disable-line rule:truthy
44
push:
55
tags:
6-
- v[0-9]+.[0-9]+.[0-9]+-reboot
6+
- v[0-9]+.[0-9]+.[0-9]+
77

88
jobs:
99
release:
@@ -51,17 +51,16 @@ jobs:
5151
id: version
5252
run: |
5353
TAG_NAME=${{ github.ref_name }}
54-
VERSION=$(echo "$TAG_NAME" | sed 's/-reboot//')
55-
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
54+
echo "version=$TAG_NAME" >> "$GITHUB_OUTPUT"
5655
5756
- name: Create GitHub Release
5857
uses: softprops/action-gh-release@v2
5958
with:
6059
tag_name: ${{ github.ref_name }}
61-
name: release-${{ steps.version.outputs.version }} (reboot)
60+
name: release-${{ steps.version.outputs.version }}
6261
generate_release_notes: true
6362
draft: false
64-
make_latest: false
63+
make_latest: true
6564
env:
6665
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6766

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ endif
2323

2424
BINARY_DIR=bin
2525
MAIN_GO_PATH=./cmd/kepler
26-
VERSION?=$(shell git describe --tags --always --dirty | sed 's/-reboot//' || echo "dev")
26+
VERSION?=$(shell git describe --tags --always --dirty || echo "dev")
2727
BUILD_TIME=$(shell date -u '+%Y-%m-%d_%H:%M:%S')
2828
GIT_BRANCH=$(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
2929
GIT_COMMIT=$(shell git rev-parse --short HEAD 2>/dev/null)
@@ -45,7 +45,7 @@ BUILD_DEBUG_ARGS ?=
4545

4646
# Docker parameters
4747
IMG_BASE ?= quay.io/sustainable_computing_io
48-
KEPLER_IMAGE ?= $(IMG_BASE)/kepler-reboot:$(VERSION)
48+
KEPLER_IMAGE ?= $(IMG_BASE)/kepler:$(VERSION)
4949
ADDITIONAL_TAGS ?=
5050

5151
# Test parameters

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Kepler
22

3-
[![GitHub license](https://img.shields.io/github/license/sustainable-computing-io/kepler)](https://github.com/sustainable-computing-io/kepler/blob/reboot/LICENSES) [![codecov](https://codecov.io/gh/sustainable-computing-io/kepler/branch/reboot/graph/badge.svg?token=K9BDX9M86E)](https://codecov.io/gh/sustainable-computing-io/kepler/tree/reboot) [![CI Status](https://github.com/sustainable-computing-io/kepler/actions/workflows/push.yaml/badge.svg?branch=reboot)](https://github.com/sustainable-computing-io/kepler/actions/workflows/push.yaml) [![Releases](https://img.shields.io/github/v/tag/sustainable-computing-io/kepler)](https://github.com/sustainable-computing-io/kepler/releases)
3+
[![GitHub license](https://img.shields.io/github/license/sustainable-computing-io/kepler)](https://github.com/sustainable-computing-io/kepler/blob/main/LICENSES) [![codecov](https://codecov.io/gh/sustainable-computing-io/kepler/branch/main/graph/badge.svg?token=K9BDX9M86E)](https://codecov.io/gh/sustainable-computing-io/kepler/tree/main) [![CI Status](https://github.com/sustainable-computing-io/kepler/actions/workflows/push.yaml/badge.svg?branch=main)](https://github.com/sustainable-computing-io/kepler/actions/workflows/push.yaml) [![Releases](https://img.shields.io/github/v/tag/sustainable-computing-io/kepler)](https://github.com/sustainable-computing-io/kepler/releases)
44

55
Kepler (Kubernetes-based Efficient Power Level Exporter) is a Prometheus exporter that measures energy consumption metrics at the container, pod, and node level in Kubernetes clusters.
66

docs/design/assets/release.png

11.6 KB
Loading

docs/design/assets/release.uml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@startuml Release Workflow Sequence
22
' NOTE: Render using http://sujoyu.github.io/plantuml-previewer or any PlantUML tool
33

4-
title Release Workflow for kepler (vX.Y.Z-reboot)
4+
title Release Workflow for kepler (vX.Y.Z)
55

66

77
skinparam sequenceMessageAlign center
@@ -17,7 +17,7 @@ end box
1717
participant "Quay.io" as Registry
1818

1919
== Trigger ==
20-
Dev -> SR: Push tag matching v*.*.*."-reboot"
20+
Dev -> SR: Push tag matching v*.*.*.
2121
SR -> Runner: Trigger release workflow
2222

2323
== Setup & Build ==
@@ -37,7 +37,6 @@ end
3737

3838
== Release Creation ==
3939
Runner -> Runner: Extract version from tag
40-
note right: Remove "-reboot" suffix
4140
Runner -> SR: Create GitHub Release
4241
note right: Using softprops/action-gh-release\nwith extracted version
4342

0 commit comments

Comments
 (0)