Skip to content

Conversation

@printminion-co
Copy link

Summary

This pull request introduces several updates to the workflow configuration and repository structure, focusing on improving the build process for external apps and enhancing validation and error reporting. The main changes include updating the external apps matrix in the GitHub Actions workflow, adding a new app submodule, synchronizing submodules, and improving error handling in the LDAP user mapping logic.

Workflow and Build Process Improvements

  • Updated the external apps build matrix in .github/workflows/build-artifact.yml to reflect new, reordered, and updated app entries, ensuring alignment with the current set of external apps and their build requirements. This includes changes to app names, paths, and build targets, as well as correcting the has_npm property for some apps. [1] [2] [3] [4] [5] [6] [7]
  • Added a new validation step to the workflow that compares the hardcoded matrix with one generated from the Makefile, providing detailed error reporting and instructions if discrepancies are found. This step helps ensure the workflow configuration remains synchronized with the Makefile and reduces the risk of build inconsistencies.
  • Added installation steps for required dependencies (make and jq) at the beginning of the workflow to support matrix generation and validation.

Repository and Submodule Management

  • Added the user_oidc app as a new submodule and updated .gitmodules and related files to include it. [1] [2]
  • Updated submodule commit references for IONOS and mail to point to their latest versions. [1] [2]

LDAP User Mapping Robustness

  • Improved error handling in the dn2ocname function in apps/user_ldap/lib/Access.php by catching HintException (such as user limit reached), logging a warning, and returning false to prevent mapping failures from causing unhandled exceptions.

TODO

  • ...

Checklist

github-actions bot and others added 13 commits November 7, 2025 11:52
…ow): improve conditional check for submodule PR creation)

https://github.com/IONOS-Productivity/ncw-config/releases/tag/6c76022

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This reverts commit 4d1c3e1.

Signed-off-by: Tatjana Kaschperko Lindt <[email protected]>
…target for validation before builds)

https://github.com/IONOS-Productivity/ncw-config/releases/tag/945436e

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
 yq '.jobs.prepare-matrix.steps[].run' .github/workflows/build-artifact.yml | sed -n "/matrix='/,/'$/p" | sed "s/.*matrix='//;s/'$//" | jq '.' > matrix.original.json

 jq 'sort_by(.name)' matrix.original.json > matrix.sorted.json

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
for compatibility reasons

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
…ed your Makefile to separate complex bash logic into standalone script.)

https://github.com/IONOS-Productivity/ncw-config/releases/tag/3dc76d7

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@printminion-co printminion-co marked this pull request as ready for review December 1, 2025 09:53
@printminion-co printminion-co added this to the ncw-1 milestone Dec 10, 2025
…or apps requiring composer with --no-scripts and npm build)

https://github.com/IONOS-Productivity/ncw-config/releases/tag/c18550d

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@printminion-co printminion-co merged commit c7b5c9c into ionos-stable Dec 22, 2025
37 of 76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants