mirror of
https://github.com/OpenSPG/openspg.git
synced 2025-12-28 07:33:59 +00:00
feat(release): release 0.0.2-beta2 (#75)
This commit is contained in:
parent
f9fbf4850c
commit
6b179e4542
@ -19,7 +19,7 @@ ENV LANG C.UTF-8
|
||||
ARG TARGETPLATFORM
|
||||
ARG APT_INSTALL="apt-get install --no-install-recommends -y"
|
||||
|
||||
ARG PIP_PKGS="openspg-knext==0.0.2-beta1 openspg-nn4k==0.0.2-beta1"
|
||||
ARG PIP_PKGS="openspg-knext openspg-nn4k pemja==0.4.0"
|
||||
|
||||
RUN apt-get clean && apt-get update && \
|
||||
# Install openjdk 8.
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
|
||||
# for amd64
|
||||
docker build -f Dockerfile --platform linux/amd64 --push \
|
||||
-t openspg/openspg-python-amd64:0.0.2-beta1 \
|
||||
-t openspg/openspg-python-amd64:0.0.2-beta2 \
|
||||
-t openspg/openspg-python-amd64:latest \
|
||||
.
|
||||
|
||||
# for arm64-v8
|
||||
docker build -f Dockerfile --platform linux/arm64/v8 --push \
|
||||
-t openspg/openspg-python-arm64v8:0.0.2-beta1 \
|
||||
-t openspg/openspg-python-arm64v8:0.0.2-beta2 \
|
||||
-t openspg/openspg-python-arm64v8:latest \
|
||||
.
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
||||
# or implied.
|
||||
|
||||
docker buildx build -f Dockerfile --platform linux/arm64/v8,linux/amd64 --push \
|
||||
-t openspg/openspg-python:0.0.2-beta1 \
|
||||
docker buildx build -f Dockerfile --platform linux/amd64 --push \
|
||||
-t openspg/openspg-python:0.0.2-beta2 \
|
||||
-t openspg/openspg-python:latest \
|
||||
.
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
|
||||
# for amd64
|
||||
docker build -f Dockerfile --platform linux/amd64 --push \
|
||||
-t openspg/openspg-server-amd64:0.0.2-beta1 \
|
||||
-t openspg/openspg-server-amd64:0.0.2-beta2 \
|
||||
-t openspg/openspg-server-amd64:latest \
|
||||
.
|
||||
|
||||
# for arm64-v8
|
||||
docker build -f Dockerfile --platform linux/arm64/v8 --push \
|
||||
-t openspg/openspg-server-arm64v8:0.0.2-beta1 \
|
||||
-t openspg/openspg-server-arm64v8:0.0.2-beta2 \
|
||||
-t openspg/openspg-server-arm64v8:latest \
|
||||
.
|
||||
|
||||
@ -10,6 +10,6 @@
|
||||
# or implied.
|
||||
|
||||
docker buildx build -f Dockerfile --platform linux/arm64/v8,linux/amd64 --push \
|
||||
-t openspg/openspg-server:0.0.2-beta1 \
|
||||
-t openspg/openspg-server:0.0.2-beta2 \
|
||||
-t openspg/openspg-server:latest \
|
||||
.
|
||||
|
||||
@ -1 +1 @@
|
||||
0.0.2-beta1
|
||||
0.0.2-beta2
|
||||
|
||||
@ -1,14 +0,0 @@
|
||||
# Copyright 2023 Ant Group CO., Ltd.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
||||
# in compliance with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software distributed under the License
|
||||
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
||||
# or implied.
|
||||
|
||||
|
||||
__package_name__ = "openspg-knext"
|
||||
__version__ = "0.0.1-beta2"
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
__package_name__ = "openspg-knext"
|
||||
__version__ = "0.0.2-beta1"
|
||||
__version__ = "0.0.2-beta2"
|
||||
|
||||
from knext.common.env import init_env
|
||||
|
||||
|
||||
@ -19,9 +19,9 @@ class BodyPart(BuilderJob):
|
||||
local_path="./builder/job/data/BodyPart.csv", columns=["id"], start_row=1
|
||||
)
|
||||
|
||||
mapping = SPGTypeMapping(spg_type_name="Medicine.BodyPart").add_field(
|
||||
"id", "id"
|
||||
)
|
||||
mapping = SPGTypeMapping(
|
||||
spg_type_name="Medicine.BodyPart"
|
||||
).add_property_mapping("id", "id")
|
||||
|
||||
sink = KGWriter()
|
||||
|
||||
|
||||
@ -9,7 +9,6 @@ elasticsearch==8.10.0
|
||||
six==1.16.0
|
||||
click==8.1.7
|
||||
dateutils==0.6.12
|
||||
pemja==0.4.0
|
||||
certifi==2023.11.17
|
||||
urllib3==2.1.0
|
||||
python-dateutil==2.8.2
|
||||
@ -17,7 +16,7 @@ networkx==3.1
|
||||
pydantic==2.5.2
|
||||
requests==2.31.0
|
||||
setuptools==60.2.0
|
||||
openspg-nn4k==0.0.2-beta1
|
||||
openspg-nn4k
|
||||
Jinja2==3.1.2
|
||||
cachetools==5.3.2
|
||||
numpy==1.24.4
|
||||
@ -1 +1 @@
|
||||
0.0.2-beta1
|
||||
0.0.2-beta2
|
||||
|
||||
@ -11,4 +11,4 @@
|
||||
|
||||
|
||||
__package_name__ = "openspg-nn4k"
|
||||
__version__ = "0.0.2-beta1"
|
||||
__version__ = "0.0.2-beta2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user