From 13a97f520d9154b573a3d6d691003bf239c531f1 Mon Sep 17 00:00:00 2001 From: aferrero2707 Date: Mon, 16 Sep 2024 09:14:32 +0200 Subject: [PATCH] Add workflow for release validation (#660) --- jit/glo-release-validation | 1 + workflows/readout-dataflow.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 jit/glo-release-validation diff --git a/jit/glo-release-validation b/jit/glo-release-validation new file mode 100644 index 000000000..040ba27a9 --- /dev/null +++ b/jit/glo-release-validation @@ -0,0 +1 @@ +o2-qc --config apricot://{{ apricot_endpoint }}/o2/components/qc/ANY/any/glo-release-validation --remote --shm-metadata-msg-size {{ qc_shm_metadata_msg_size }} -b \ No newline at end of file diff --git a/workflows/readout-dataflow.yaml b/workflows/readout-dataflow.yaml index cb2e2ec26..9f6481007 100755 --- a/workflows/readout-dataflow.yaml +++ b/workflows/readout-dataflow.yaml @@ -922,6 +922,15 @@ defaults: panel: "QC_Nodes_Workflows" index: 25 visibleif: $$qc_remote_enabled === "true" + glo_release_validation_qc_enabled: !public + value: "false" + type: bool + label: "Release Validation" + description: "Enable/disable release validation" + widget: checkBox + panel: "QC_Nodes_Workflows" + index: 26 + visibleif: $$qc_remote_enabled === "true" ############################### # TRG Panel ############################### @@ -1793,6 +1802,9 @@ roles: - name: glo-qc-data-size enabled: "{{ glo_data_size_qc_enabled == 'true' && qc_remote_jit_enabled == 'true'}}" include: "{{ qc_remote_jit_enabled == 'true' ? dpl.GenerateFromUri('glo-qc-data-size') : '' }}" + - name: glo-release-validation + enabled: "{{ glo_release_validation_qc_enabled == 'true' && qc_remote_jit_enabled == 'true'}}" + include: "{{ qc_remote_jit_enabled == 'true' ? dpl.GenerateFromUri('glo-release-validation') : '' }}" # When qc_remote_enabled is true, it will try to deploy a qc_remote_workflow for every detector in the list. # However if the {{detector}}_qc_remote_workflow is none, we deploy a ghost role that does nothing to preserve # control tree state management.// FIXME: this is probably not needed anymore