Repository navigation
chore(ci): package the Mule application on pull requests - #14
Merged
Merged
Conversation
mvn package with MUnit skipped: MUnit needs MuleSoft Enterprise credentials this public workflow does not have, so it stays local. Refs AB#245
Model: reference, Data and Article lines, Build/Test/Run locally lines; the obsolete Trivial line removed; Deliver and verify is CI green on the merge commit. Refs AB#245
Owner
Author
|
After merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan
E1 Repository: ~/code/personal/06-labs-examples/mulesoft-patterns-examples (personal)
E2 Stack: Mule 4, MUnit, Maven, GitHub Actions | Delivery: E | Model: reference | Article: none | Base: main | Checks:
mvn -B clean package -DskipMunitTests(new CI),mvn clean testlocally | Deliver and verify: nothing is deployed; CI green on the merge commit, and the paths and requests.http endpoints the articles cite still resolve on main | Lines to add: Model, Data, Article, Build/Test/Run locally; Trivial removed; Deliver and verify rewrittenE3 Size: small: pipeline and documentation only: a new CI workflow and AGENTS.md lines; no behaviour changes
E4 Card: AB#245 (reference repositories: model and CI)
E5 Consumers: none
E6 Merge: level 2 (Bruno): the change adds or changes the Delivery/Model/Article lines of AGENTS.md (reserved items) | delegation: none
E7 Skills: engineering, documentation, mulesoft, security (workflow permissions)
E8 Questions: none
What changed: New
.github/workflows/ci.yml(jobbuild): on pull_request and push to main, Temurin 17.0.21, Maven 3.9.11 (sha512 checked),mvn -B -ntp clean package -DskipMunitTests; actions pinned by SHA,permissions: contents: read, concurrency per ref (a new push cancels only a superseded pull request run; runs on main always finish), 20-minute timeout. AGENTS.md declaresModel: reference,Data: none,Article: none, Build/Test/Run locally lines, Deliver and verifynothing is deployed; CI green on the merge commit, and the paths and requests.http endpoints that 50-writing/solid-in-mulesoft/ and integration-patterns-in-mulesoft/ cite still resolve on main; the obsoleteTrivial:line is removed; rules keep "merges stay with Bruno" and add the article- tag rule and the articles that cite it.Spec: no spec: no behaviour changes (documentation and pipeline only)
S1 Checks:
mvn -B clean package -DskipMunitTestswith an empty settings.xml and a fresh local repository (Maven 3.9.11, Temurin 17.0.21) -> BUILD SUCCESS;actionlint 1.7.12 .github/workflows/ci.yml-> no findings; CIbuild: pass (1m45s, run 41453126945); after review round 1 (8006ae4):actionlint-> no findings, CIbuild-> pass (20s, run 41457392579), GitGuardian -> passS2 Review: review pending (parent runs it)
S3 Docs: AGENTS.md
S4 Preview: n/a: no site or visual package change
S5 Merge: Bruno
Decisions taken: MUnit (with its 80% coverage gate) is not in CI: it needs MuleSoft Enterprise credentials.
Article: none: the repository is cited bysolid-in-mulesoft/andintegration-patterns-in-mulesoft/but was not made for one article (reference model).Questions: none
Before the merge the parent agent applies the model protection (
scripts/repo-protection.py --model mulesoft-patterns-examples --check build --apply, ruleset 'model: pull requests'); the Model line is backed by it.Refs AB#245
S2 Review: one round, fresh reviewer, across the 8 AB#245/AB#244 PRs; this PR's findings fixed as proposed (fixes not re-reviewed)
S5 Merge: Bruno