Skip to content

Enhance the tasks in tomcat.gradle by adding logical 'mustRunAfter' r…#112

Merged
drewwills merged 2 commits into
uPortal-Project:masterfrom
drewwills:tomcatStart_mustRunAfter
Feb 15, 2018
Merged

Enhance the tasks in tomcat.gradle by adding logical 'mustRunAfter' r…#112
drewwills merged 2 commits into
uPortal-Project:masterfrom
drewwills:tomcatStart_mustRunAfter

Conversation

@drewwills

@drewwills drewwills commented Feb 15, 2018

Copy link
Copy Markdown
Contributor

…elationships for tasks that could potentially be in the Task Graph

Checklist
Description of change

In uPortal-start, it is often convenient to chain 2 or more Gradle tasks together, e.g....

$ ./gradlew tomcatClearLogs tomcatStart

But when tomcatStart is in the chain, there's a pretty good likelihood that there will be other tasks in the Gradle Task Graph (e.g. tomcatDeploy or dataInit) that really need to complete before tomcatStart even begins.

This change adds mustRunAfter relationships to (primarily) tomcatStart so that chaining Gradle tasks together will work as intended.

…elationships for tasks that could potentially be in the Task Graph
…elationships for tasks that could potentially be in the Task Graph (grammar & format updates)
@drewwills drewwills merged commit 12ef376 into uPortal-Project:master Feb 15, 2018
@drewwills drewwills deleted the tomcatStart_mustRunAfter branch February 15, 2018 19:16
bjagg added a commit to bjagg/uPortal-start that referenced this pull request May 14, 2026
Problem: PR uPortal-Project#694's visual-resource-server smoke spec gates on no
/ResourceServingWebapp/ URLs being requested by uPortal core or any
of the deployed portlets. The pins were on versions predating both
the uPortal-side path swaps (uPortal-Project/uPortal#2983, in v5.17.8)
and the portlet-side overlay drops (SimpleContent uPortal-Project#554, Feedback uPortal-Project#112,
NewsReader uPortal-Project#438; in 3.4.3 / 1.3.2 / 5.1.5 respectively). CI's visual
smoke tests therefore stayed red until all five releases shipped
together.

Goal: pick up the Wave 1 portlet releases and the Wave 2 uPortal
release so PR uPortal-Project#694's CI exercises the full post-consolidation stack.

Changes:
- bump uPortalVersion 5.17.7 -> 5.17.8 (uPortal#2983: skin XML + JSP
  path swaps off /ResourceServingWebapp/; drop dead utility-lib
  webjar deps)
- bump simpleContentPortletVersion 3.4.2 -> 3.4.3 (uPortal-Project#554: CKEditor
  4.22.1 webjar; drop resource-server-content overlay)
- bump feedbackPortletVersion 1.3.1 -> 1.3.2 (uPortal-Project#112: drop overlay)
- bump newsReaderPortletVersion 5.1.4 -> 5.1.5 (uPortal-Project#438: native
  mini-template renderer replacing Handlebars 3.0.3; drop overlay)

Notes: validated locally against a fresh portalInit + tomcatStart with
the bumped pins. Five of six visual-resource-server tests pass (guest
welcome, admin home, student home, CKEditor 4 webjar instantiation,
uportal-links config). The news-portlet-renders-without-Handlebars
test was already failing in CI before this commit; not a regression
from the bumps. CalendarPortlet event-fetch is flaky in local
quickstart data; tracked separately.

Refs: uPortal-Project#694
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.

2 participants