From 18815e8052a1fb860321b34aec341876a1658801 Mon Sep 17 00:00:00 2001 From: Jimi Dodd-o Date: Mon, 10 Jun 2024 15:40:53 -0400 Subject: [PATCH] fix/Form release version correctly + include in updatecli (#347) * Form release version correctly * Updatecli update for prometheus exporter --- .github/updatecli/manifest-major.yaml | 7 +++++++ .github/updatecli/manifest-minor.yaml | 7 +++++++ .github/workflows/prometheus-exporter-helm-release.yaml | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/updatecli/manifest-major.yaml b/.github/updatecli/manifest-major.yaml index 0d02f414..e2f82be7 100644 --- a/.github/updatecli/manifest-major.yaml +++ b/.github/updatecli/manifest-major.yaml @@ -27,6 +27,13 @@ targets: file: charts/prefect-agent/Chart.yaml key: dependencies[0].version sourceid: common + prometheus_prefect_exporter_common: + name: bump chart dependencies + kind: yaml + spec: + file: charts/prometheus-prefect-exporter/Chart.yaml + key: dependencies[0].version + sourceid: common server_common: name: bump chart dependencies kind: yaml diff --git a/.github/updatecli/manifest-minor.yaml b/.github/updatecli/manifest-minor.yaml index 2dea6ddd..a4b0aacc 100644 --- a/.github/updatecli/manifest-minor.yaml +++ b/.github/updatecli/manifest-minor.yaml @@ -27,6 +27,13 @@ targets: file: charts/prefect-agent/Chart.yaml key: dependencies[0].version sourceid: common + prometheus_prefect_exporter_common: + name: bump chart dependencies + kind: yaml + spec: + file: charts/prometheus-prefect-exporter/Chart.yaml + key: dependencies[0].version + sourceid: common server_common: name: bump chart dependencies kind: yaml diff --git a/.github/workflows/prometheus-exporter-helm-release.yaml b/.github/workflows/prometheus-exporter-helm-release.yaml index 97fb5174..442a3eed 100644 --- a/.github/workflows/prometheus-exporter-helm-release.yaml +++ b/.github/workflows/prometheus-exporter-helm-release.yaml @@ -23,7 +23,7 @@ jobs: set -x echo "CHART_VERSION=$(date +'%Y.%-m.%-d%H%M%S')" >> $GITHUB_OUTPUT - echo "RELEASE_VERSION=prometheus-prefect-exporter-$CHART_VERSION" >> $GITHUB_OUTPUT + echo "RELEASE_VERSION=prometheus-prefect-exporter-$(date +'%Y.%-m.%-d%H%M%S')" >> $GITHUB_OUTPUT echo "PROMETHEUS_PREFECT_EXPORTER_VERSION=$(\ git ls-remote --tags --refs --sort="v:refname" \ https://github.com/PrefectHQ/prometheus-prefect-exporter | tail -n1 | sed 's/.*\///' \