Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-78459

Replace DEPLOY_PARAMS env serialization with structured context

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • CNV QE DevOps
    • None
    • None

      Issue
      Deploy flow serializes current build params into env.DEPLOY_PARAMS as a string and later deserializes it. This is stringly-typed and hard to validate.

      Steps to reproduce
      1. Review deployOcp.groovy where env.DEPLOY_PARAMS is set repeatedly.
      2. Review infraUtils.serializeCurrentBuildParams()/deserializeBuildParams().

      Expected result
      Deploy context is persisted in a structured format with a clear schema.

      Actual result
      Serialized params are stored in a global env var and parsed later.

      Plan

      • Define a deploy context schema (JSON) and persist as artifact.
      • Pass context through explicit parameters or a shared context accessor.
      • Remove env.DEPLOY_PARAMS and deserialization logic once consumers are migrated.

              dkeler@redhat.com Daniel Keler
              lbednar@redhat.com Lukas Bednar
              Daniel Keler Daniel Keler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: