diff --git a/orchestrator/utils/orchestrator_functions.py b/orchestrator/utils/orchestrator_functions.py index f2bd63e..a40046c 100644 --- a/orchestrator/utils/orchestrator_functions.py +++ b/orchestrator/utils/orchestrator_functions.py @@ -65,7 +65,7 @@ def process_path_priority(path_priority: list[str]): def predictions_batch(config: dict[str, Any]): tags = {} - for tag in config['write_tags']: + for tag in config.get('write_tags', []): if tag['server_id'] not in tags: tags[tag['server_id']] = {} diff --git a/values.yaml b/values.yaml index d06746b..e346cfd 100644 --- a/values.yaml +++ b/values.yaml @@ -123,7 +123,7 @@ env: - name: GITHUB_REPO_URL value: "git@github.com:Aignosi/sientia-dataops-orchestrator_temporal.git" - name: GITHUB_BRANCH - value: "SIENTIAPDE-1107-testar-o-uso-do-mongo-db-no-lugar-do-couchbase" + value: "SIENTIAPDE-1110-criar-testes-e-2-e" - name: PYTHON_APP value: "orchestrator.worker.worker" @@ -180,7 +180,7 @@ ssh: # kubectl create secret docker-registry docker-hub-secret --namespace sientia --docker-server=http://aignosi.azurecr.io --docker-username=aignosi --docker-password=5I5zpQ6sRaHqX1hD3dr+2mo647yO3FRc359/wu6gsP+ACRDRz5mp -# helm upgrade --install sientia-orchestrator-worker sientia/sientia-module -n sientia --create-namespace -f ./values.yaml --version 0.2.0-uat +# helm upgrade --install sientia-orchestrator-worker sientia/sientia-module -n sientia --create-namespace -f ./values.yaml --version 0.4.0-uat # kubectl create secret generic git-ssh-key-sientia-orchestrator-worker \ # --namespace sientia \