[OpenNMS/opennms] 3d20fc: Fix CircleCI regex-engine breaking change in merge...

mershad-manesh via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/mem/NMS-circleci-regex-fix/[email protected]>
  Branch: refs/heads/mem/NMS-circleci-regex-fix
  Home:   https://github.com/OpenNMS/opennms
  Commit: 3d20fcd4ec1b4eb75db07e19ebd4fff615231053
      https://github.com/OpenNMS/opennms/commit/3d20fcd4ec1b4eb75db07e19ebd4fff615231053
  Author: Morteza E <[email protected]>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M .circleci/main/workflows/workflows_v2.json
    M .circleci/pyscripts/library/cci_components/workflow.py

  Log Message:
  -----------
  Fix CircleCI regex-engine breaking change in merge-foundation filter

CircleCI is removing support for negative lookaheads, negative
lookbehinds, possessive quantifiers, and backreferences in branch/tag
filter regexes (see the Sept 2026 config-compilation breaking-changes
announcement). The create-merge-foundation-branch job's filter used
`/^(?!develop$)<< pipeline.parameters.main_branch >>$/` to disable
itself whenever main_branch resolves to "develop" (that case is
handled by create-merge-omega-branch instead) - this compiles to
`^(?!develop$)develop$` under the default parameter and is already
failing to compile.

Replace it with CircleCI's newer job-level `filters: <expression>`
syntax, which lets the job stay inside the shared build-publish
workflow (so its build/package/image/smoke-test `requires` chain
isn't duplicated into a second workflow) while still being skipped
entirely - not run as a no-op - whenever main_branch == "develop".

Add support for string-valued `filters` (rendered as a flat
expression) to the workflow YAML generator alongside the existing
filters.branches dict form.

Co-Authored-By: Claude Sonnet 5 <[email protected]>



To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.