Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/publish_container_image.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Deply to GitHub Container Registry
on:
push:
tags:
- '*'
on: [push]
# push:
# tags:
# - '*'

jobs:
publish-container-image:
Expand Down
18 changes: 12 additions & 6 deletions src/grow_worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from pathlib import Path
from typing import cast, Dict, List, Tuple, Optional

from mesido.esdl.esdl_mixin import DBAccesType
from mesido.exceptions import MesidoAssetIssueError
from omotes_sdk.internal.orchestrator_worker_events.esdl_messages import (
EsdlMessage,
Expand Down Expand Up @@ -80,12 +81,17 @@ def grow_worker_task(
esdl_string=base64.encodebytes(input_esdl.encode("utf-8")),
esdl_parser=ESDLStringParser,
write_result_db_profiles=write_result_db_profiles,
influxdb_host=influxdb_host,
influxdb_port=influxdb_port,
influxdb_username=os.environ.get("INFLUXDB_USERNAME"),
influxdb_password=os.environ.get("INFLUXDB_PASSWORD"),
influxdb_ssl=False,
influxdb_verify_ssl=False,
database_connections=[
{
"access_type": DBAccesType.READ_WRITE,
"influxdb_host": influxdb_host,
"influxdb_port": influxdb_port,
"influxdb_username": os.environ.get("INFLUXDB_USERNAME"),
"influxdb_password": os.environ.get("INFLUXDB_PASSWORD"),
"influxdb_ssl": False,
"influxdb_verify_ssl": False,
},
],
update_progress_function=update_progress_handler,
profile_reader=InfluxDBProfileReader,
)
Expand Down
Loading