seedfast_linux_amd64 1.24.11 → 1.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/package.json +1 -1
- package/seedfast +0 -0
package/README.md
CHANGED
|
@@ -91,6 +91,28 @@ seedfast me # Check authentication status (formerly whoami)
|
|
|
91
91
|
seedfast logout # Clear stored credentials
|
|
92
92
|
seedfast --version # Show version information
|
|
93
93
|
```
|
|
94
|
+
## CI/CD Integration
|
|
95
|
+
|
|
96
|
+
For automated database seeding in CI/CD pipelines, use API key authentication with the `--scope` flag:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
export SEEDFAST_API_KEY=sfk_live_your_api_key_here
|
|
100
|
+
seedfast seed --scope "test database" --output json
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**GitHub Actions Example**:
|
|
104
|
+
|
|
105
|
+
```yaml
|
|
106
|
+
- name: Seed Database
|
|
107
|
+
env:
|
|
108
|
+
SEEDFAST_API_KEY: ${{ secrets.SEEDFAST_API_KEY }}
|
|
109
|
+
run: |
|
|
110
|
+
curl -L https://cli.seedfa.st/install.sh | sh
|
|
111
|
+
seedfast seed --scope "development database" --output json
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
For complete CI/CD integration guide with examples for GitHub Actions, GitLab CI, CircleCI, and Jenkins, see [docs/CI_CD_INTEGRATION.md](docs/CI_CD_INTEGRATION.md).
|
|
115
|
+
|
|
94
116
|
|
|
95
117
|
## Configuration
|
|
96
118
|
|
package/package.json
CHANGED
package/seedfast
CHANGED
|
Binary file
|