1
1
name : Release Observability Artifacts
2
2
3
3
on :
4
- push :
5
- branches :
6
- - ci-release
7
4
workflow_dispatch :
8
5
inputs :
9
6
version :
@@ -20,21 +17,10 @@ jobs:
20
17
steps :
21
18
- name : Checkout code
22
19
uses : actions/checkout@v4
23
- - name : Extract version from commit message
24
- id : extract
20
+ - name : Set release version
21
+ id : version
25
22
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
38
24
39
25
- name : Package Grafana artifacts
40
26
run : |
@@ -113,40 +99,28 @@ jobs:
113
99
cd release-artifacts
114
100
sha256sum * > checksums.txt
115
101
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
149
104
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