Skip to content

Commit 0ecc574

Browse files
committed
resetting workflowflow kickoff bits
1 parent eb3680f commit 0ecc574

File tree

1 file changed

+27
-53
lines changed

1 file changed

+27
-53
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Release Observability Artifacts
22

33
on:
4-
push:
5-
branches:
6-
- ci-release
74
workflow_dispatch:
85
inputs:
96
version:
@@ -20,21 +17,10 @@ jobs:
2017
steps:
2118
- name: Checkout code
2219
uses: actions/checkout@v4
23-
- name: Extract version from commit message
24-
id: extract
20+
- name: Set release version
21+
id: version
2522
run: |
26-
COMMIT_MSG="${{ github.event.head_commit.message }}"
27-
VERSION=$(echo "$COMMIT_MSG" | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+')
28-
echo "VERSION=$VERSION" >> $GITHUB_ENV
29-
30-
# - name: Set release version
31-
# id: version
32-
# run: |
33-
# if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
34-
# echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
35-
# else
36-
# echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
37-
# fi
23+
echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
3824
3925
- name: Package Grafana artifacts
4026
run: |
@@ -113,40 +99,28 @@ jobs:
11399
cd release-artifacts
114100
sha256sum * > checksums.txt
115101
116-
# - name: Create release
117-
# uses: softprops/action-gh-release@v1
118-
# with:
119-
# tag_name: ${{ steps.version.outputs.VERSION }}
120-
# name: Redis Enterprise Observability ${{ steps.version.outputs.VERSION }}
121-
# body: |
122-
# ## Redis Enterprise Observability Release ${{ steps.version.outputs.VERSION }}
123-
#
124-
# This release contains dashboards and configuration files for various observability platforms:
125-
#
126-
# ### 📊 Dashboards & Configurations
127-
# - **Grafana v1 & v2**: Complete dashboard collections for Redis Enterprise monitoring
128-
# - **Dynatrace v1 & v2**: Extensions and dashboards for Dynatrace monitoring
129-
# - **Prometheus v1 & v2**: Alerting rules and configurations
130-
# - **NewRelic v1 & v2**: Dashboard collections and configurations
131-
# - **Kibana**: Dashboard configurations for Elasticsearch/Kibana
132-
# - **Splunk**: Dashboard and configuration files
133-
#
134-
# ### 📦 Available Formats
135-
# Each artifact is available in both `.tar.gz` and `.zip` formats.
136-
#
137-
# ### 🔑 Security
138-
# All artifacts include SHA256 checksums for verification.
139-
#
140-
# For detailed setup instructions, please refer to the README files in each platform directory.
141-
# files: |
142-
# release-artifacts/*
143-
# draft: false
144-
# prerelease: false
145-
# env:
146-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
147-
- name: Upload release artifacts
148-
uses: actions/upload-artifact@v4
102+
- name: Create release
103+
uses: softprops/action-gh-release@v1
149104
with:
150-
name: redis-enterprise-observability-artifacts
151-
path: release-artifacts/
152-
retention-days: 30
105+
tag_name: ${{ steps.version.outputs.VERSION }}
106+
name: Redis Enterprise Observability ${{ steps.version.outputs.VERSION }}
107+
body: |
108+
## Redis Enterprise Observability Release ${{ steps.version.outputs.VERSION }}
109+
110+
This release contains dashboards and configuration files for various observability platforms:
111+
112+
### 📊 Dashboards & Configurations
113+
- **Grafana v1 & v2**: Complete dashboard collections for Redis Enterprise monitoring
114+
- **Dynatrace v1 & v2**: Extensions and dashboards for Dynatrace monitoring
115+
- **Prometheus v1 & v2**: Alerting rules and configurations
116+
- **NewRelic v1 & v2**: Dashboard collections and configurations
117+
- **Kibana**: Dashboard configurations for Elasticsearch/Kibana
118+
- **Splunk**: Dashboard and configuration files
119+
120+
For detailed setup instructions, please refer to the README files in each platform directory.
121+
files: |
122+
release-artifacts/*
123+
draft: false
124+
prerelease: false
125+
env:
126+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)