diff --git a/build/Dockerfile b/build/Dockerfile index becb3ea305207831d80faf85d3a1c1e62db97e5f..b3ae4fbcc74425165649ad90c8e639844feedf36 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -65,3 +65,12 @@ ENV CLOUD_PROVIDER azure COPY build/providers/azure/requirements.txt ./ COPY build/providers/azure/osdu_api.ini ./ RUN pip install -r requirements.txt + +## anthos +FROM base as anthos + +ENV CLOUD_PROVIDER anthos + +COPY build/providers/anthos/requirements.txt ./ +COPY build/providers/anthos/osdu_api.ini ./ +RUN pip install -r requirements.txt diff --git a/build/providers/anthos/osdu_api.ini b/build/providers/anthos/osdu_api.ini new file mode 100644 index 0000000000000000000000000000000000000000..445f91c4cecba0669b81c9d46418749b59c6aceb --- /dev/null +++ b/build/providers/anthos/osdu_api.ini @@ -0,0 +1,32 @@ +# Copyright 2021 Google LLC +# Copyright 2021 EPAM +# +# 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. +# See the License for the specific language governing permissions and +# limitations under the License. + +[environment] +data_partition_id=%(OSDU_ANTHOS_DATA_PARTITION)s +storage_url=%(OSDU_ANTHOS_STORAGE_URL)s +search_url=stub +legal_url=stub +data_workflow_url=stub +file_dms_url=stub +dataset_url=%(OSDU_ANTHOS_DATASET_URL)s +entitlements_url=stub +schema_url=stub +ingestion_workflow_url=stub +partition_url=stub +use_service_principal=False + + +[provider] +name=anthos \ No newline at end of file diff --git a/build/providers/anthos/requirements.txt b/build/providers/anthos/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/build/requirements.txt b/build/requirements.txt index 8a89a398e7ccae70dbebedf5ea063ff220bfd210..05ffee332039488763d8115ba583fb2e13df4070 100644 --- a/build/requirements.txt +++ b/build/requirements.txt @@ -6,7 +6,7 @@ tenacity dataclasses==0.8;python_version<"3.7" --extra-index-url=https://community.opengroup.org/api/v4/projects/148/packages/pypi/simple -osdu-api~=0.13.0.dev241 +osdu-api~=0.14.0.dev --extra-index-url https://community.opengroup.org/api/v4/projects/823/packages/pypi/simple -osdu-ingestion~=0.13.0.dev125 +osdu-ingestion~=0.13.0