Skip to content

Commit

Permalink
Bump chart version onnly
Browse files Browse the repository at this point in the history
Use the latest security_service.py available on ZOO-Project upstream
  • Loading branch information
gfenoy committed Dec 31, 2024
1 parent 3098f0d commit b82d3fa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zoo-project-dru/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.15
version: 0.3.16

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
18 changes: 18 additions & 0 deletions zoo-project-dru/files/zoo-project/security_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,24 @@ def runDismiss(conf, inputs, outputs):
from zoo_calrissian_runner import ZooCalrissianRunner
from pycalrissian.context import CalrissianContext

zoo.info(f"runDismiss {str(conf["lenv"])}!")
try:
import configparser
lenv_path=os.path.join(
conf["main"]["tmpPath"],
f"{conf['lenv']['gs_usid']}_lenv.cfg"
)
config=configparser.ConfigParser()
config.read(lenv_path)
if "run_id" in config["lenv"]:
from zoo_wes_runner import ZooWESRunner
wes=ZooWESRunner()
conf["lenv"]["run_id"]=config["lenv"]["run_id"]
wes.dismiss()
return zoo.SERVICE_SUCCEEDED
except Exception as e:
zoo.error(str(e))

try:
if "param" in inputs:
print(inputs, file=sys.stderr)
Expand Down

0 comments on commit b82d3fa

Please sign in to comment.