Skip to content

Refactor the SPS scripts to reduce the number of environment variables used #763

@yongja79

Description

@yongja79

The scripts currently use many boolean environment variables in the 1P pipeline and the logic used in the scripts to determine the behaviour can be quite convoluted. The move to SPS gives an opportunity to simplify this.

Some of the current env variables which are generally booleans

  • SKIP_ACCCEPTANCE_TEST

  • SKIP_ALL_CHECKS

  • SKIP_BYOE_TEST

  • SKIP_CONTAINERIZE

  • SKIP_KIND_E2E_TEST

  • SKIP_OCP_E2E_TEST

  • SKIP_SCANS

  • airgap_run_test

  • periodic-rescan

  • release-acceptance-test

  • release

  • architecture

  • test_architecture

Possible changes into enums:

  • Accpetance Test
    • All
    • OCP
    • KIND
    • None
  • Special Tests
    • All
    • BYOE
    • Airgap
    • None
  • architecture
    • X
    • P
    • Z
    • All

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions