Skip to content

Commit 67dae8d

Browse files
authored
Merge branch 'main' into renovate/major-github-actions
2 parents dcc0015 + 50dd48e commit 67dae8d

7 files changed

Lines changed: 46 additions & 445 deletions

File tree

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

Lines changed: 0 additions & 130 deletions
This file was deleted.

DEVELOPER.md

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -17,37 +17,22 @@ Before you begin, ensure you have the following:
1717

1818
### Running from Local Source
1919

20-
The core logic for this extension is handled by a pre-built `toolbox` binary. The development process involves installing the extension locally into the Gemini CLI to test changes.
21-
2220
1. **Clone the Repository:**
2321

2422
```bash
2523
git clone https://github.com/gemini-cli-extensions/cloud-sql-postgresql.git
2624
cd cloud-sql-postgresql
2725
```
2826

29-
2. **Download the Toolbox Binary:** The required version of the `toolbox` binary
30-
is specified in `toolbox_version.txt`. Download it for your platform.
31-
32-
```bash
33-
# Read the required version
34-
VERSION=$(cat toolbox_version.txt)
35-
36-
# Example for macOS/amd64
37-
curl -L -o toolbox https://storage.googleapis.com/mcp-toolbox-for-databases/geminicli/v$VERSION/darwin/amd64/toolbox
38-
chmod +x toolbox
39-
```
40-
Adjust the URL for your operating system (`linux/amd64`, `darwin/arm64`, `windows/amd64`).
41-
42-
3. **Install the Extension Locally:** Use the Gemini CLI to install the
27+
2. **Install the Extension Locally:** Use the Gemini CLI to install the
4328
extension from your local directory.
4429

4530
```bash
4631
gemini extensions install .
4732
```
4833
The CLI will prompt you to confirm the installation. Accept it to proceed.
4934

50-
4. **Testing Changes:** After installation, start the Gemini CLI (`gemini`).
35+
3. **Testing Changes:** After installation, start the Gemini CLI (`gemini`).
5136
You can now interact with the `cloud-sql-postgresql` tools to manually test your changes
5237
against your connected database.
5338

@@ -59,9 +44,9 @@ A GitHub Actions workflow (`.github/workflows/presubmit-tests.yml`) is triggered
5944
for every pull request. This workflow primarily verifies that the extension can
6045
be successfully installed by the Gemini CLI.
6146

62-
Currently, there are no automated unit or integration test suites
63-
within this repository. All functional testing must be performed manually. All tools
64-
are currently tested in the [MCP Toolbox GitHub](https://github.com/googleapis/mcp-toolbox).
47+
All tools are currently tested in the [MCP Toolbox GitHub](https://github.com/googleapis/mcp-toolbox).
48+
49+
The skills themselves are validated using the `skills-validate.yml` workflow.
6550

6651
### Other GitHub Checks
6752

@@ -74,17 +59,6 @@ are currently tested in the [MCP Toolbox GitHub](https://github.com/googleapis/m
7459
* **Dependency Updates:** [Renovate](https://github.com/apps/forking-renovate)
7560
is configured to automatically create pull requests for dependency updates.
7661

77-
## Building the Extension
78-
79-
The "build" process for this extension involves packaging the extension's
80-
metadata files (`gemini-extension.json`, `cloud-sql-postgresql.md`, `LICENSE`) along with the
81-
pre-built `toolbox` binary into platform-specific archives (`.tar.gz` or `.zip`).
82-
83-
This process is handled automatically by the
84-
[`package-and-upload-assets.yml`](.github/workflows/package-and-upload-assets.yml)
85-
GitHub Actions workflow when a new release is created. Manual building is not
86-
required.
87-
8862
## Maintainer Information
8963

9064
### Team
@@ -139,7 +113,3 @@ The process is handled by the [`mirror-changelog.yml`](.github/workflows/mirror-
139113
2. **Merge Release PR:** A maintainer approves and merges the Release PR. This
140114
action triggers `release-please` to create a new GitHub tag and a
141115
corresponding GitHub Release.
142-
3. **Package and Upload:** The new release triggers the
143-
`package-and-upload-assets.yml` workflow. This workflow builds the
144-
platform-specific extension archives and uploads them as assets to the
145-
GitHub Release.

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ This repository provides a set of agent skills to interact with [Cloud SQL for P
2222
- [Gemini CLI](#gemini-cli)
2323
- [Claude Code](#claude-code)
2424
- [Codex](#codex)
25+
- [Antigravity](#antigravity)
2526
- [Usage Examples](#usage-examples)
2627
- [Supported Skills](#supported-skills)
2728
- [Additional Agent Skills](#additional-agent-skills)
@@ -42,6 +43,7 @@ Before you begin, ensure you have the following:
4243
- [Gemini CLI](https://github.com/google-gemini/gemini-cli) version **v0.6.0** or higher
4344
- [Claude Code](https://claude.com/product/claude-code) version **v2.1.94** or higher
4445
- [Codex](https://developers.openai.com/codex) **v0.117.0** or higher
46+
- [Antigravity](https://antigravity.google) **v1.14.2** or higher
4547
- A Google Cloud project with the **Cloud SQL Admin API** enabled.
4648
- Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment.
4749
- IAM Permissions:
@@ -189,6 +191,34 @@ _(Tip: Run `codex plugin list` or use the `/plugins` interactive menu to verify
189191

190192
</details>
191193

194+
<details>
195+
<summary id="antigravity">Antigravity</summary>
196+
197+
**1. Clone the Repo:**
198+
199+
```bash
200+
git clone --branch 0.3.0 https://github.com/gemini-cli-extensions/cloud-sql-postgresql.git
201+
```
202+
203+
**2. Install the skills:**
204+
205+
Choose a location for the skills:
206+
- **Global (all workspaces):** `~/.gemini/antigravity/skills/`
207+
- **Workspace-specific:** `<workspace-root>/.agents/skills/`
208+
209+
Copy the skill folders from the cloned repository's `skills/` directory to your chosen location:
210+
211+
```bash
212+
cp -R cloud-sql-postgresql/skills/* ~/.gemini/antigravity/skills/
213+
```
214+
215+
**3. Set env vars:**
216+
Set your environment vars as described in the [configuration section](#configuration).
217+
218+
_(Tip: Antigravity automatically discovers skills in these directories at the start of a session.)_
219+
220+
</details>
221+
192222
<!-- {x-release-please-end} -->
193223

194224
## Usage Examples

release-please-config.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,18 @@
3333
"type": "json",
3434
"path": "gemini-extension.json",
3535
"jsonpath": "$.version"
36+
},
37+
{
38+
"type": "json",
39+
"path": ".codex-plugin/plugin.json",
40+
"jsonpath": "$.version"
41+
},
42+
{
43+
"type": "json",
44+
"path": ".claude-plugin/plugin.json",
45+
"jsonpath": "$.version"
3646
}
3747
]
3848
}
3949
}
40-
}
50+
}

skills/cloud-sql-postgres-admin/scripts/create_backup.js

Lines changed: 0 additions & 93 deletions
This file was deleted.

0 commit comments

Comments
 (0)