Skip to content

feat: add support for webapp-runner flavor - #78

Merged
Frzk merged 9 commits into
masterfrom
feat/flavor_support
Sep 7, 2026
Merged

Frzk merged 9 commits into
masterfrom
feat/flavor_support

Conversation

@Frzk

@Frzk Frzk commented Sep 3, 2026

Copy link
Copy Markdown
Contributor
  • Uses cmnlib 20260901.
  • Introduces support for a new Webapp Runner (webapp-runner-main) that, unlike the "usual" one, doesn't provide client libraries for Memcached or Redis. To use this new flavor, set JAVA_WEBAPP_RUNNER_FLAVOR to main.
  • Introduces the use of inventory files with checksums (only the 3 latest versions have been put in the inventory, let me know if more are needed).
  • Adds support for webapp-runner(-main)-9.0.120.0 and webapp-runner(-main)-10.1.59.0 ([Webapp Runner] Release of v9.0.121.0 and v10.1.59.0 #77)
  • Fixes tests.
  • Adds a ShellCheck step in the CI.

Successfully tested here: https://fku-war.osc-st-fr1.apps.st-sc.fr

Frzk added 5 commits September 3, 2026 11:37
There are now two "flavors" of webapp-runner:
- a "default" one, which is the one we support since ever ;
- a "main" one, which doesn't include Memcached and Redis client libraries.

The "main" flavor is sometimes useful, because some libraries can
sometimes conflict with similar ones used in the app.

This commit also introduces the use of two INVENTORY-*.tsv files (one
for each flavor).
- Removes tests for JVM 18 and 19
- Adds tests for JVM 21 (LTS) and 25 (LTS)
- Updates a few test::utils functions for better output
- Updates default versions of webapp-runner
Comment thread .github/workflows/ci.yml Outdated
@Frzk Frzk self-assigned this Sep 3, 2026
@EtienneM
EtienneM self-requested a review September 4, 2026 06:56

@EtienneM EtienneM left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's really nice to see the cmnlib being used. We can see how easy it is to read code written using it 🙌

Comment thread .github/workflows/ci.yml
name: "ShellCheck"
runs-on: ubuntu-24.04
steps:
- uses: Scalingo/actions/shellcheck@8c4d8c7b3d03b58f44873ba2e281f1c2de2a3381

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we tend to prefer sticking to main for actions repository so that we benefit from new versions instantly

Suggested change
- uses: Scalingo/actions/shellcheck@8c4d8c7b3d03b58f44873ba2e281f1c2de2a3381
- uses: Scalingo/actions/shellcheck@main

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I agree with you, I have the displeasure to let you know that merging is blocked by Semgrep if I don't put a precise SHA checksum here -_-

Comment thread Makefile

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: I hate Makefile. Do we want to keep using one?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I have the same feeling towards Makefiles.
But it's been asked by @leo-scalingo.
I personnaly don't see any blocker to remove it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the teasks in the makefile are still working I would keep it since it's really simple, otherwise remove it. I don't remember asking haha

Comment thread bin/compile

set -eo pipefail
cmnlib="$( readlink -f "$( dirname "${0}" )/../vendor/cmnlib.sh" )"
# shellcheck source=vendor/cmnlib.sh

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: oh nice, I didn't know that 🙌

Comment thread bin/compile
@Frzk
Frzk requested a review from EtienneM September 4, 2026 14:00
@Frzk
Frzk merged commit f0e739f into master Sep 7, 2026
6 checks passed
@Frzk
Frzk deleted the feat/flavor_support branch September 7, 2026 07:05
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.

3 participants