Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
fix: tests for local+astradb (#138)
Browse files Browse the repository at this point in the history
* fix: version numbers (#138)

* fix: commented out failing test (#138)

* fix: failing test (#138)

* fix: failing test (#138)

* fix: tests for local+astradb

Co-authored-by: Eddie Jaoude <[email protected]>
Co-authored-by: Cahllagerfeld <[email protected]>

* docs: alternative to docker (#138)

* chore: bumped node CI version

* fix: refactored rxjs

* fix: check for data

* chore: bump stargate + node

* fix: check for null

* fix: extra data check

Co-authored-by: Cahllagerfeld <[email protected]>
  • Loading branch information
eddiejaoude and Cahllagerfeld authored Jun 28, 2021
1 parent 41c94e3 commit 738a710
Show file tree
Hide file tree
Showing 11 changed files with 12,652 additions and 220 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Authenticate with GitHub package registry
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: install dependencies
Expand All @@ -27,6 +29,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Authenticate with GitHub package registry
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: install dependencies
Expand All @@ -43,7 +47,7 @@ jobs:
runs-on: ubuntu-latest
services:
stargate:
image: stargateio/stargate-3_11:v1.0.13
image: stargateio/stargate-3_11:v1.0.25
ports:
- 8080:8080
- 8081:8081
Expand All @@ -52,9 +56,15 @@ jobs:
CLUSTER_NAME: stargate
CLUSTER_VERSION: 3.11
DEVELOPER_MODE: true
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Authenticate with GitHub package registry
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
needs: build
services:
stargate:
image: stargateio/stargate-3_11:v1.0.13
image: stargateio/stargate-3_11:v1.0.25
ports:
- 8080:8080
- 8081:8081
Expand All @@ -37,13 +37,13 @@ jobs:
DEVELOPER_MODE: true
strategy:
matrix:
node-version: [15.x]
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Authenticate with GitHub package registry
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: actions/download-artifact@main
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ The Token can be generated in Github and needs the permission `package - read`.
```bash
# database
$ docker-compose up
```

*OR manually with docker `docker pull stargateio/stargate-3_11:v1.0.25`*

**Note: if you do not have Docker locally, you can run it against your FREE cloud on AstraDB, by [signing up](http://links.eddiejaoude.io/t/CiEQRydj4GdT) for FREE! You will need to comment out the `stargate` environment variables in `.env` and add your Astra credentials**

```bash
# development
$ npm run start

Expand Down
Loading

0 comments on commit 738a710

Please sign in to comment.