Skip to content

Commit

Permalink
Merge pull request #3953 from lsst-sqre/u/kfindeisen/pp-config-warn
Browse files Browse the repository at this point in the history
Add a format warning to Prompt Processing values.
  • Loading branch information
kfindeisen authored Dec 4, 2024
2 parents 4f79857 + 334b07d commit 2cbdba9
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ prompt-proto-service:

instrument:
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.
main: |-
- survey: SURVEY
pipelines: ['${PROMPT_PROCESSING_DIR}/pipelines/HSC/ApPipe.yaml']
Expand Down
5 changes: 5 additions & 0 deletions applications/prompt-proto-service-hsc-gpu/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ prompt-proto-service:
# -- The "short" name of the instrument
name: HSC
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.

# -- YAML-formatted config describing which pipeline(s) should be run for which visits' raws.
# Fields are still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples.
# @default -- None, must be set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ prompt-proto-service:

instrument:
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.
main: |-
- survey: SURVEY
pipelines: ['${PROMPT_PROCESSING_DIR}/pipelines/HSC/ApPipe.yaml']
Expand Down
5 changes: 5 additions & 0 deletions applications/prompt-proto-service-hsc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ prompt-proto-service:
# -- The "short" name of the instrument
name: HSC
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.

# -- YAML-formatted config describing which pipeline(s) should be run for which visits' raws.
# Fields are still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples.
# @default -- None, must be set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ prompt-proto-service:

instrument:
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.
main: |-
- survey: SURVEY
pipelines:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ prompt-proto-service:

instrument:
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.
main: |-
- survey: BLOCK-306 # photographic imaging
pipelines:
Expand Down
5 changes: 5 additions & 0 deletions applications/prompt-proto-service-latiss/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ prompt-proto-service:
# -- The "short" name of the instrument
name: LATISS
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.

# -- YAML-formatted config describing which pipeline(s) should be run for which visits' raws.
# Fields are still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples.
# @default -- None, must be set
Expand Down
5 changes: 5 additions & 0 deletions applications/prompt-proto-service-lsstcam/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ prompt-proto-service:
# -- The "short" name of the instrument
name: ""
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.

# -- YAML-formatted config describing which pipeline(s) should be run for which visits' raws.
# Fields are still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples.
# @default -- None, must be set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ prompt-proto-service:

instrument:
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.
main: |-
- survey: SURVEY
pipelines:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ prompt-proto-service:

instrument:
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.
main: |-
- survey: BLOCK-320 # Science Validation
pipelines:
Expand Down
5 changes: 5 additions & 0 deletions applications/prompt-proto-service-lsstcomcam/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ prompt-proto-service:
# -- The "short" name of the instrument
name: LSSTComCam
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.

# -- YAML-formatted config describing which pipeline(s) should be run for which visits' raws.
# Fields are still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples.
# @default -- None, must be set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ prompt-proto-service:

instrument:
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.
main: |-
- survey: SURVEY
pipelines:
Expand Down
5 changes: 5 additions & 0 deletions applications/prompt-proto-service-lsstcomcamsim/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ prompt-proto-service:
# -- The "short" name of the instrument
name: LSSTComCamSim
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.

# -- YAML-formatted config describing which pipeline(s) should be run for which visits' raws.
# Fields are still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples.
# @default -- None, must be set
Expand Down
5 changes: 5 additions & 0 deletions charts/prompt-proto-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ instrument:
# @default -- None, must be set
name: ""
pipelines:
# IMPORTANT: don't use flow-style mappings (i.e., {}) in pipelines specs
# if the result (including any comments) is longer than 72 characters.
# The config will get corrupted after template substitution.
# Block-style mappings can have lines of any length.

# -- YAML-formatted config describing which pipeline(s) should be run for which visits' raws.
# Fields are still in flux; see [the source code](https://github.com/lsst-dm/prompt_processing/blob/main/python/activator/config.py) for examples.
# @default -- None, must be set
Expand Down

0 comments on commit 2cbdba9

Please sign in to comment.