Skip to content

timescale/delete-service

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TigerData logo

Delete a Tiger Cloud database service

Usage Examples

Minimal Example

- name: Delete Database Service
  uses: timescale/delete-service@v1
  with:
    project_id: your-project-id
    service_id: your-service-id
    api_key: ${{ secrets.TIGERDATA_API_KEY }}

Inputs

Input Required Description
project_id Yes The project ID of your service
service_id Yes The service ID to delete
api_key Yes A Tiger Data API key in format publicKey:secretKey

Important Notes

  • Deletion is permanent: This action permanently deletes database services. Ensure you have backups if needed.

Use Cases

This action is particularly useful for deleting test databases created with the timescale/fork-service action. A typical workflow could be to create a test database when a PR is created, use it to verify requirements manually, and then delete the database when the PR is merged.

Integration with fork-service

This action pairs perfectly with timescale/fork-service:

  1. Use fork-service to create temporary database for testing
  2. Run your tests against the forked database
  3. Use delete-service to clean up the temporary database

Note: fork-service has a built-in cleanup: true option for automatic cleanup, but this delete-service action gives you more control over when and how deletion happens.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published