SIENTIAPDE-1222
Update values.yaml and MLFlow logging for courier integration - Changed the image repository to 'sientia-module-courier' and updated the image tag to '0.0.1'. - Modified environment variables for GITHUB_BRANCH and MLFLOW_PASSWORD to reflect new configurations. - Enhanced MLFlow logging to include additional debug statements for raw response data and added a check for empty DataFrames.
This commit is contained in:
@@ -161,9 +161,14 @@ class MLFlow(BaseActivity):
|
||||
model_name, data, model_config
|
||||
)
|
||||
|
||||
self.debug("Transform raw response data:", metadata)
|
||||
self.debug(response_data, metadata)
|
||||
|
||||
if response_data['success']:
|
||||
|
||||
response_dataframe = DataFrame(response_data['content'])
|
||||
if len(response_dataframe) == 0:
|
||||
return response_data
|
||||
try:
|
||||
response_dataframe = self.detect_and_parse_datetime_index(
|
||||
response_dataframe, metadata)
|
||||
|
||||
@@ -7,11 +7,11 @@ replicaCount: 1
|
||||
|
||||
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
|
||||
image:
|
||||
repository: aignosi.azurecr.io/sientia-module
|
||||
repository: aignosi.azurecr.io/sientia-module-courier
|
||||
# This sets the pull policy for images.
|
||||
pullPolicy: Always
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "0.4.5"
|
||||
tag: "0.0.1"
|
||||
|
||||
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
imagePullSecrets:
|
||||
@@ -151,7 +151,7 @@ env:
|
||||
- name: GITHUB_REPO_URL
|
||||
value: "git@github.com:Aignosi/sientia-dataops-laborious_temporal.git"
|
||||
- name: GITHUB_BRANCH
|
||||
value: "SIENTIAPDE-1182-ajustar-laborious-para-pegar-timestamp-da-resposta-do-mlflow"
|
||||
value: SIENTIAPDE-1222-ajustar-a-library-para-fazer-o-download-do-courier
|
||||
- name: PYTHON_APP
|
||||
value: "laborious.worker.worker"
|
||||
|
||||
@@ -178,7 +178,7 @@ env:
|
||||
- name: MLFLOW_USERNAME
|
||||
value: "aignosi"
|
||||
- name: MLFLOW_PASSWORD
|
||||
value: "aignosi"
|
||||
value: "1L0FP50j3ncp123"
|
||||
|
||||
- name: OPC_ID
|
||||
value: "1"
|
||||
|
||||
Reference in New Issue
Block a user