Skip to content

Commit 7eb56d0

Browse files
authored
Merge branch 'main' into fix-presubmit
2 parents d7af6c4 + a9f22f2 commit 7eb56d0

13 files changed

Lines changed: 122 additions & 11 deletions

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# For syntax help see
44
# <https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax>
55

6-
* @googleapis/senseai-eco
6+
* @gemini-cli-extensions/senseai-eco @gemini-cli-extensions/cloud-sql-sqlserver-maintainers

.github/renovate.json5

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
extends: [
3+
'config:recommended',
4+
':semanticCommitTypeAll(chore)',
5+
':ignoreUnstable',
6+
':separateMajorReleases',
7+
':prConcurrentLimitNone',
8+
':prHourlyLimitNone',
9+
':preserveSemverRanges',
10+
],
11+
rebaseWhen: 'conflicted',
12+
dependencyDashboardLabels: [
13+
'type: process',
14+
],
15+
packageRules: [
16+
{
17+
groupName: 'GitHub Actions',
18+
matchManagers: [
19+
'github-actions',
20+
],
21+
pinDigests: true,
22+
},
23+
],
24+
customManagers: [
25+
{
26+
customType: "regex",
27+
managerFilePatterns: ["/toolbox_version\\.txt$/"],
28+
matchStrings: ["(?<currentValue>[\\d\\.]+)"],
29+
datasourceTemplate: "github-releases",
30+
packageNameTemplate: "googleapis/genai-toolbox",
31+
extractVersionTemplate: "^v(?<version>.*)$",
32+
}
33+
]
34+
}

.github/workflows/json-lint.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Lint JSON
16+
17+
on:
18+
pull_request:
19+
branches: [ main ]
20+
21+
jobs:
22+
json-lint:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Check out code
26+
uses: actions/checkout@v4
27+
28+
- name: Run JSON Lint
29+
run: jq . gemini-extension.json
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Lint Markdown
16+
17+
on:
18+
pull_request:
19+
branches: [ main ]
20+
21+
jobs:
22+
link-check:
23+
name: Run link check
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Check out code
27+
uses: actions/checkout@v4
28+
29+
- name: Link Checker
30+
uses: lycheeverse/lychee-action@v2.0.2
31+
with:
32+
# There is no security token. So, it would fail on any links which aren't public.
33+
args: "--verbose --no-progress **/*.md"

.github/workflows/package-and-upload-assets.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ jobs:
6666
6767
echo "Downloading binary from: ${DOWNLOAD_URL}"
6868
curl -L --fail -o "${SOURCE_BINARY}" "${DOWNLOAD_URL}"
69-
69+
70+
chmod +x ${SOURCE_BINARY}
71+
7072
echo "Binary downloaded and prepared."
7173
ls -l
7274
@@ -134,4 +136,4 @@ jobs:
134136
run: |
135137
gh release upload \
136138
${{ github.event.release.tag_name }} \
137-
release-archives/*/*
139+
release-archives/*/*

.github/workflows/presubmit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
chmod +x toolbox
3535
3636
- name: Install Extension
37-
run: npx gemini extensions install --path=.
37+
run: npx gemini extensions install --path=.

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.0.0"
2+
".": "0.1.0"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## 0.1.0 (2025-09-21)
4+
5+
6+
### Features
7+
8+
* Add Cloud SQL for SQL Server Observability Extension ([#4](https://github.com/gemini-cli-extensions/cloud-sql-sqlserver-observability/issues/4)) ([1884674](https://github.com/gemini-cli-extensions/cloud-sql-sqlserver-observability/commit/188467457e07904afe5495a32f788f726293def3))

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Gemini CLI Extension - Cloud SQL for SQL Server Observability
22

3+
> [!NOTE]
4+
> This extension is currently in beta (pre-v1.0), and may see breaking changes until the first stable release (v1.0).
5+
36
This Gemini CLI extension provides a set of tools to interact with [Cloud SQL for SQL Server](https://cloud.google.com/sql/docs/sqlserver) monitoring metrics. It allows you to fetch a wide range of database metrics, enabling comprehensive monitoring of database performance and health directly from the [Gemini CLI](https://google-gemini.github.io/gemini-cli/), using natural language prompts.
47

5-
Learn more about [Gemini CLI Extensions](https://github.com/google-gemini/gemini-cli/blob/main/docs/extension.md)
8+
Learn more about [Gemini CLI Extensions](https://github.com/google-gemini/gemini-cli/blob/main/docs/extension.md).
69

710
## Why Use the Cloud SQL for SQL Server Observability Extension?
811

@@ -13,7 +16,7 @@ Learn more about [Gemini CLI Extensions](https://github.com/google-gemini/gemini
1316

1417
Before you begin, ensure you have the following:
1518

16-
* [Gemini CLI](https://github.com/google-gemini/gemini-cli) installed.
19+
* [Gemini CLI](https://github.com/google-gemini/gemini-cli) installed with version **+v0.6.0**.
1720
* A Google Cloud project with the **Cloud Monitoring API** enabled.
1821
* IAM Permissions
1922
* Monitoring Viewer (`roles/monitoring.viewer`)
@@ -23,12 +26,12 @@ Before you begin, ensure you have the following:
2326
To install the extension, use the command:
2427

2528
```bash
26-
gemini extensions install github.com/gemini-cli-extensions/cloud-sql-sqlserver-observability
29+
gemini extensions install https://github.com/gemini-cli-extensions/cloud-sql-sqlserver-observability
2730
```
2831

2932
## Configuration
3033

31-
No configuration is required.
34+
Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment.
3235

3336
## Usage Examples
3437

0 commit comments

Comments
 (0)