Skip to content

Commit

Permalink
0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
EvangMM committed Dec 11, 2023
1 parent 6bafede commit 787e650
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,4 @@ cython_debug/
TODO.txt
/tests

.gitignore

/wrapper/*/wrapper.py
/wrapper/*/*.py
4 changes: 2 additions & 2 deletions core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "digitalhub-core"
version = "0.0.8"
version = "0.0.9"
description = "Python SDK for DHCore"
readme = "README.md"
authors = [
Expand Down Expand Up @@ -72,7 +72,7 @@ line-length = 120
convention = "numpy"

[tool.bumpver]
current_version = "0.0.8"
current_version = "0.0.9"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
Expand Down
4 changes: 2 additions & 2 deletions data/modules/dbt/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "digitalhub-core-dbt"
version = "0.0.7"
version = "0.0.9"
description = "DBT runtime for DHCore"
readme = "README.md"
authors = [
Expand Down Expand Up @@ -44,7 +44,7 @@ line-length = 120
convention = "numpy"

[tool.bumpver]
current_version = "0.0.7"
current_version = "0.0.9"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
Expand Down
4 changes: 2 additions & 2 deletions data/modules/nefertem/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "digitalhub-core-nefertem"
version = "0.0.6"
version = "0.0.9"
description = "Nefertem runtime for DHCore"
readme = "README.md"
authors = [
Expand Down Expand Up @@ -48,7 +48,7 @@ line-length = 120
convention = "numpy"

[tool.bumpver]
current_version = "0.0.6"
current_version = "0.0.9"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
Expand Down
9 changes: 5 additions & 4 deletions wrapper/dbt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ LABEL org.opencontainers.image.source=https://github.com/scc-digitalhub/digitalh
WORKDIR /digitalhub-core/

# Get digitalhub-sdk
ARG DHUB_VERSION=0.0.8
RUN wget https://github.com/scc-digitalhub/digitalhub-sdk/archive/refs/tags/v$DHUB_VERSION.zip
RUN unzip v$DHUB_VERSION.zip
ARG DHUB_VERSION=0.0.9
RUN wget https://github.com/scc-digitalhub/digitalhub-sdk/archive/refs/tags/$DHUB_VERSION.zip
RUN unzip $DHUB_VERSION.zip
RUN mv digitalhub-sdk-$DHUB_VERSION digitalhub-sdk
COPY dhcore.py ./digitalhub-sdk/core/digitalhub_core/client/objects

# Install digitalhub-core, dbt
RUN pip install ./digitalhub-sdk/core[dbt_yaml]
Expand All @@ -20,6 +21,6 @@ RUN pip install ./digitalhub-sdk/data/modules/dbt[local]
COPY wrapper.py /digitalhub-core/

# Cleanup
RUN rm -rf digitalhub-sdk v$DHUB_VERSION.zip
RUN rm -rf digitalhub-sdk $DHUB_VERSION.zip

ENTRYPOINT ["python", "wrapper.py"]
9 changes: 5 additions & 4 deletions wrapper/nefertem/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ LABEL org.opencontainers.image.source=https://github.com/scc-digitalhub/digitalh
WORKDIR /digitalhub-core/

# Get digitalhub-sdk
ARG DHUB_VERSION=0.0.8
RUN wget https://github.com/scc-digitalhub/digitalhub-sdk/archive/refs/tags/v$DHUB_VERSION.zip
RUN unzip v$DHUB_VERSION.zip
ARG DHUB_VERSION=0.0.9
RUN wget https://github.com/scc-digitalhub/digitalhub-sdk/archive/refs/tags/$DHUB_VERSION.zip
RUN unzip $DHUB_VERSION.zip
RUN mv digitalhub-sdk-$DHUB_VERSION digitalhub-sdk
COPY dhcore.py ./digitalhub-sdk/core/digitalhub_core/client/objects

# Install digitalhub-core, neferetem
RUN pip install digitalhub-sdk/core[base_yaml]
Expand All @@ -29,6 +30,6 @@ RUN pip install ./nefertem/plugins/ydata*
COPY wrapper.py /digitalhub-core/

# Cleanup
RUN rm -rf digitalhub-sdk nefertem v$DHUB_VERSION.zip
RUN rm -rf digitalhub-sdk nefertem $DHUB_VERSION.zip

ENTRYPOINT ["python", "wrapper.py"]

0 comments on commit 787e650

Please sign in to comment.