Skip to content

Commit

Permalink
Add HeavyAI 6.4.4 and 7.0.0 from docker
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermeleobas committed Jun 14, 2023
1 parent 88615da commit cbf8848
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 23 deletions.
49 changes: 29 additions & 20 deletions .github/workflows/rbc_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,28 +107,29 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.10', '3.9', '3.8']
numba-version: ['0.56', '0.55']
heavydb-version: ['6.2', '6.1', '6.0']
heavydb-from: [conda]
# include:
# - os: ubuntu-latest
# python-version: '3.10'
# numba-version: '0.56'
# heavydb-version: dev
# docker-image: heavyai/core-os-cpu-dev:latest
# heavydb-from: docker
# - os: ubuntu-latest
# python-version: '3.10'
# numba-version: '0.55'
# heavydb-version: dev
# docker-image: heavyai/core-os-cpu-dev:latest
# heavydb-from: docker

needs: lint
# os: [ubuntu-latest]
# python-version: ['3.10', '3.9', '3.8']
# numba-version: ['0.56', '0.55']
# heavydb-version: ['6.2', '6.1', '6.0']
# heavydb-from: [conda]
include:
- os: ubuntu-latest
python-version: '3.10'
numba-version: '0.56'
heavydb-version: '6.4.4'
docker-image: heavyai/heavyai-ee-cpu:v6.4.4
heavydb-from: docker
- os: ubuntu-latest
python-version: '3.10'
numba-version: '0.56'
heavydb-version: '7.0.1'
docker-image: heavyai/heavyai-ee-cpu:v7.0.1
heavydb-from: docker

# needs: lint

steps:

- name: Checkout code
uses: actions/checkout@v2

Expand Down Expand Up @@ -160,6 +161,14 @@ jobs:
run: |
mamba create -n heavydb-env heavydb=${{ matrix.heavydb-version }}*=*_cpu -c conda-forge
- name: Configure secrets
shell: bash -l {0}
env:
HEAVYDB_LICENSE: ${{ secrets.HEAVYDB }}
run: |
# dump secrets to file
echo "${HEAVYDB_LICENSE}" > ./.heavyai/license.txt
- name: Build heavydb docker image and run it [docker]
shell: bash -l {0}
env:
Expand Down
3 changes: 2 additions & 1 deletion .heavyai/heavyai.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
enable-runtime-udfs = true
enable-table-functions = true
enable-dev-table-functions = true
enable-udf-registration-for-all-users = true
cpu-only = true
log-severity = DEBUG4
license = "/var/lib/heavyai/license.txt"
2 changes: 1 addition & 1 deletion .omnisci/omnisci.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ enable-table-functions = true
enable-dev-table-functions = true
enable-udf-registration-for-all-users = true
cpu-only = true
log-severity = DEBUG4
license = license.txt
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ services:
- 6278:6278
- 6279:6279
volumes:
- ./.omnisci/omnisci.conf:/omnisci-storage/omnisci.conf
- ./.heavyai/heavyai.conf:/var/lib/heavyai/heavy.conf
- ./.heavyai/license.txt:/var/lib/heavyai/license.txt

0 comments on commit cbf8848

Please sign in to comment.