Skip to content

Commit 414185b

Browse files
authored
chore: sign release (#16)
1 parent ba97070 commit 414185b

File tree

3 files changed

+17
-42
lines changed

3 files changed

+17
-42
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ jobs:
131131
needs: [docker]
132132
runs-on: ubuntu-latest
133133
steps:
134+
- name: Checkout radar-agent repo
135+
uses: actions/checkout@v4
136+
134137
- name: Download binaries
135138
uses: actions/download-artifact@v4
136139
with:
@@ -142,15 +145,27 @@ jobs:
142145
run: |
143146
echo "tag_name=${{ github.event.client_payload.ref }}" >> $GITHUB_OUTPUT
144147
148+
- name: Import GPG key
149+
uses: crazy-max/ghaction-import-gpg@v6
150+
with:
151+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
152+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
153+
154+
- name: Create signed tag for this repository
155+
run: |
156+
# Create and sign the same tag locally for this repository
157+
git tag -s ${{ steps.tag.outputs.tag_name }} -m "Release ${{ steps.tag.outputs.tag_name }}" --force
158+
145159
- name: Create Release
146-
uses: softprops/action-gh-release@v1
160+
uses: softprops/action-gh-release@v2
147161
with:
148162
tag_name: ${{ steps.tag.outputs.tag_name }}
149163
name: "Radar Agent ${{ steps.tag.outputs.tag_name }}"
150164
files: |
151165
radar-agent-linux
152166
radar-agent-linux-musl
153167
radar-agent-darwin
168+
make_latest: true
154169
body: |
155170
## Radar Agent Release ${{ steps.tag.outputs.tag_name }}
156171

README.md

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Radar Agent connects to one or more Redis instances or deployments, collects met
99
- Standalone instances
1010
- Redis Enterprise clusters
1111
- OSS clusters
12-
- Sentinel deployments
13-
- Redis Cloud
1412

1513
## Installation
1614

@@ -105,41 +103,6 @@ deployments:
105103
basic_auth: "[email protected]:password123"
106104
```
107105
108-
#### Redis Sentinel
109-
110-
```yaml
111-
deployments:
112-
- id: "redis-sentinel"
113-
name: "Redis Sentinel"
114-
type: "SENTINEL"
115-
redis_urls:
116-
- "redis://sentinel-1.example.com:26379"
117-
- "redis://sentinel-2.example.com:26379"
118-
auto_discover: true
119-
```
120-
121-
#### Redis Cloud
122-
123-
```yaml
124-
deployments:
125-
- id: "redis-cloud"
126-
name: "Redis Cloud"
127-
type: "CLOUD"
128-
redis_url: "redis://redis-cloud.example.com:6379"
129-
rest_api:
130-
host: "api.redislabs.com"
131-
port: 443
132-
credentials:
133-
# Redis authentication (applied to all redis_urls without auth)
134-
redis:
135-
username: "default"
136-
password: "redis_cloud_password"
137-
# Cloud REST API authentication
138-
cloud_api:
139-
account_key: "your_account_key" # Maps to x-api-key header
140-
user_key: "your_user_key" # Maps to x-api-secret-key header
141-
```
142-
143106
### Credentials and Environment Variables
144107
145108
The `credentials` section allows you to specify authentication information for Redis instances and REST APIs. You can use environment variables for sensitive information:

radar-agent-config-sample.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ deployments:
5656
name: "Production Redis"
5757

5858
# Type of Redis deployment (case-insensitive)
59-
# Valid values: STANDALONE, SENTINEL, CLUSTER, ENTERPRISE, CLOUD
59+
# Valid values: STANDALONE, CLUSTER, ENTERPRISE
6060
type: "STANDALONE"
6161

6262
# Redis connection URL (can use redis_url for a single URL)
@@ -121,6 +121,3 @@ deployments:
121121
rest_api:
122122
basic_auth: "[email protected]:password123"
123123
# Can also use environment variables: basic_auth: "${REDIS_ENTERPRISE_AUTH}"
124-
125-
# NOTE: SENTINEL and CLOUD types are not currently supported
126-
# Supported types: STANDALONE, ENTERPRISE, CLUSTER

0 commit comments

Comments
 (0)