Skip to content

Commit

Permalink
add smi-update-values wrapper and new env var
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Nov 14, 2024
1 parent 857757a commit 2a5ff08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions roles/bin/templates/bin/smi-update-values
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env python3
# {{ ansible_managed }}
import os

import _smi_wrapper as wrapper

wrapper.run_smiservices(
os.environ["SMI_SMISERVICES_INGEST_PIPELINE_CONFIG"],
)
1 change: 1 addition & 0 deletions roles/envs/templates/example/env.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@

export SMI_SMISERVICES_VERSION="v5.6.1"
export SMI_SMISERVICES_BIN="{{ envs_smi_root_dir }}/software/SMI/SmiServices/${SMI_SMISERVICES_VERSION}/smi/smi"
export SMI_SMISERVICES_INGEST_PIPELINE_CONFIG="smi-services-ingest-pipeline.yaml"
export SMI_SMISERVICES_EXTRACT_PIPELINE_CONFIG="smi-services-extract-pipeline.yaml"
export SMI_SMISERVICES_CTP_JAR="{{ envs_smi_root_dir }}/software/SMI/SmiServices/${SMI_SMISERVICES_VERSION}/CTPAnonymiser.jar"

0 comments on commit 2a5ff08

Please sign in to comment.