From 90ca6d558df95d80484fec498584c28e43dc0b14 Mon Sep 17 00:00:00 2001 From: Elijah Wilson Date: Tue, 3 Oct 2023 11:27:02 -0400 Subject: [PATCH 1/2] Bump version and condense changelog --- .github/workflows/helm.yaml | 31 ------------------- CHANGELOG.md | 11 +++++-- Cargo.toml | 2 +- .../CHANGELOG.md | 22 ------------- .../openmeter-pod-runtime-watcher/Chart.yaml | 4 +-- 5 files changed, 12 insertions(+), 58 deletions(-) delete mode 100644 .github/workflows/helm.yaml delete mode 100644 charts/openmeter-pod-runtime-watcher/CHANGELOG.md diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml deleted file mode 100644 index fcbc459..0000000 --- a/.github/workflows/helm.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: Release Helm Charts - -on: - push: - branches: - - main - -jobs: - release: - # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token - permissions: - contents: write - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - - name: Install Helm - uses: azure/setup-helm@v3 - - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1 - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 795f8e2..1649d3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -The version number in this changelog corresponds to the `appVersion` field in the helm chart's `Chart.yaml` file. - ## [Unreleased] +## [0.1.2] - 2023-10-03 +### Changed +- Bump version for helm chart + +## [0.1.1] - 2023-10-03 +### Changed +- Bump version for helm chart + ## [0.1.0] - 2023-09-27 ### Added - Track pod lifetime and send to OpenMeter +- Initial helm chart diff --git a/Cargo.toml b/Cargo.toml index 29bbdc7..b085479 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "openmeter-pod-runtime-watcher" -version = "0.1.0" +version = "0.1.2" edition = "2021" license = "MIT" diff --git a/charts/openmeter-pod-runtime-watcher/CHANGELOG.md b/charts/openmeter-pod-runtime-watcher/CHANGELOG.md deleted file mode 100644 index 2d73503..0000000 --- a/charts/openmeter-pod-runtime-watcher/CHANGELOG.md +++ /dev/null @@ -1,22 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -The version number in this changelog corresponds to the `version` field in the `Chart.yaml` file. -The `appVersion` field corresponds to the version of the application itself. - -## [Unreleased] - -## [0.1.1] - 2023-09-27 -### Added -- Add changelog - -### Changed -- Bump version number to test github workflow - -## [0.1.0] - 2023-09-27 -### Added -- Initial helm chart diff --git a/charts/openmeter-pod-runtime-watcher/Chart.yaml b/charts/openmeter-pod-runtime-watcher/Chart.yaml index 7f0367e..6f0d309 100644 --- a/charts/openmeter-pod-runtime-watcher/Chart.yaml +++ b/charts/openmeter-pod-runtime-watcher/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: openmeter-pod-runtime-watcher description: A Helm chart for deploying the OpenMeter Pod Runtime Watcher to Kubernetes type: application -version: 0.1.1 -appVersion: "0.1.0" +version: 0.1.2 +appVersion: "0.1.2" From 41284045b3f036268bdc55a614964fff66a3af8c Mon Sep 17 00:00:00 2001 From: Elijah Wilson Date: Tue, 3 Oct 2023 11:50:36 -0400 Subject: [PATCH 2/2] lock it up --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index f7a42d1..bfe2461 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1063,7 +1063,7 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "openmeter-pod-runtime-watcher" -version = "0.1.0" +version = "0.1.2" dependencies = [ "anyhow", "cloudevents-sdk",