polardb/Setup PolarDB-X Zero
Create an ephemeral PolarDB-X database instance for CI testing. Automatically cleaned up after the job.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api-key | PolarDB-X Zero API key (pxk_xxx) for authenticated access with higher quotas | no | "" |
| ttl-minutes | Instance time-to-live in minutes | no | 30 |
| edition | Instance edition: standard (single-node) or enterprise (distributed) | no | standard |
| tag | Optional tag to identify the instance. Auto-generated from GitHub context if empty. | no | "" |
| api-url | PolarDB-X Zero API base URL | no | https://zero.polardbx.com/api/v1 |
| wait-timeout | Seconds to wait for MySQL to become connectable | no | 120 |
Outputs
| name | description |
|---|---|
| url | MySQL connection URL (mysql://user:pass@host:port) |
| jdbc-url | JDBC connection URL (jdbc:mysql://host:port/?useSSL=true) |
| host | MySQL host |
| port | MySQL port |
| user | MySQL username |
| password | MySQL password |
| instance-id | PolarDB-X Zero instance ID for manual management |