{"id":17464704,"url":"https://github.com/nicoloboschi/setup-astradb","last_synced_at":"2026-03-19T01:09:50.399Z","repository":{"id":239141700,"uuid":"798659221","full_name":"nicoloboschi/setup-astradb","owner":"nicoloboschi","description":"🚀 A GitHub action to create DataStax AstraDB database.","archived":false,"fork":false,"pushed_at":"2024-05-20T12:09:21.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T20:44:13.551Z","etag":null,"topics":["astradb","generativeai","vector"],"latest_commit_sha":null,"homepage":"https://www.datastax.com/products/datastax-astra","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicoloboschi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-10T08:13:24.000Z","updated_at":"2024-05-20T12:08:59.000Z","dependencies_parsed_at":"2024-12-07T12:35:16.495Z","dependency_job_id":null,"html_url":"https://github.com/nicoloboschi/setup-astradb","commit_stats":null,"previous_names":["nicoloboschi/setup-astradb"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/nicoloboschi/setup-astradb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoloboschi%2Fsetup-astradb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoloboschi%2Fsetup-astradb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoloboschi%2Fsetup-astradb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoloboschi%2Fsetup-astradb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicoloboschi","download_url":"https://codeload.github.com/nicoloboschi/setup-astradb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoloboschi%2Fsetup-astradb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29612510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astradb","generativeai","vector"],"created_at":"2024-10-18T10:47:04.879Z","updated_at":"2026-02-19T12:02:23.504Z","avatar_url":"https://github.com/nicoloboschi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@nicoloboschi/setup-astradb` Github action\n\nThis action creates a [DataStax AstraDB](https://www.datastax.com/products/datastax-astra) database.\nTo clean up the database, use\nthe `@nicoloboschi/cleanup-astradb` [action](https://github.com/nicoloboschi/cleanup-astradb).\n\nRelated actions:\n\n- `@nicoloboschi/cleanup-astradb` [action](https://github.com/nicoloboschi/cleanup-astradb): Delete a specific AstraDB\n  database.\n- `@nicoloboschi/cleanup-astradb-env` [action](https://github.com/nicoloboschi/cleanup-astradb-env): Delete databases\n  based on their last usage time.\n\n## Action Inputs\n\n| Input name  | Description                                                                               \t                     | Required \t | Default Value    |\n|-------------|-----------------------------------------------------------------------------------------------------------------|------------|------------------|\n| token       | Astra DB application token. It needs to have enough permissions to create/delete databases in the organization. | true       |                  |\n| region      | Region whereas to create the database. (aws,gcp,azure)                                                          | true       |                  |\n| cloud       | Cloud provider whereas to create the database.                                                                  | true       |                  |\n| env         | Astra DB environment. (ENV, PROD).                                                                              | false      | PROD             |\n| name        | Name of the database to create. If not provided, a name will be generated automatically.                        | false      |                  |\n| name-prefix | Name prefix in case `name` is not set.                                                                          | false      |                  |\n| vector      | Whether to create a Vector database. (true, false)                                                              | false      | true             |\n| keyspace    | Database default keyspace. Defaults to 'default_keyspace'.                                                      | false      | default_keyspace |\n\n## Action Outputs\n\n| Output name  | Description                            |\n|--------------|----------------------------------------|\n| id           | Database ID.                           |\n| api-endpoint | Full URL API endpoint of the database. |\n| name         | Database name.                         |\n\n## Example\n\n```yml\nname: Test application that uses AstraDB\n\non: [ pull_request ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup AstraDB database\n        uses: nicoloboschi/setup-astradb@v1\n        id: astradb\n        with:\n          token: ${{ secrets.ASTRA_DB_TOKEN }}\n          region: us-east-2\n          cloud: aws\n      - run: |\n          echo \"Database ID is ${{ steps.astradb.outputs.id }}\"\n          echo \"Database API endpoint is ${{ steps.astradb.outputs.api-endpoint }}\"\n      - name: Cleanup AstraDB database\n        uses: nicoloboschi/cleanup-astradb@v1\n        if: ${{ always() }}\n        with:\n          token: ${{ secrets.ASTRA_DB_TOKEN }}\n          name: ${{ steps.astra.outputs.name }}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoloboschi%2Fsetup-astradb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicoloboschi%2Fsetup-astradb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoloboschi%2Fsetup-astradb/lists"}