Skip to content

Bugfix/369 gh action remote fix#425

Closed
ascheman wants to merge 27 commits into
developfrom
bugfix/369-gh-action-remote-fix
Closed

Bugfix/369 gh action remote fix#425
ascheman wants to merge 27 commits into
developfrom
bugfix/369-gh-action-remote-fix

Conversation

@ascheman

Copy link
Copy Markdown
Member

Just test the PR

ascheman and others added 26 commits October 2, 2025 11:09
to prepare Docker build and GH action as it contains HSC and all
dependencies.
The primary goal is to provide a GitHub action.
Additionally, we create and publish a multi-platform Docker image for
usage in other scenarios (Standalone, GitLab CI, ...).
Execute the Docker integration test only if Docker is available.
Will only be pushed on successful build and test by GitHub workflow.
Switching off Docker push leads to
ERROR: failed to build: docker exporter does not currently support exporting manifest lists
The integration test must run with a local image first
Locally we build for the respective platform and test with it.
Then we build a multi-platform image and push that to the Registry.
Allow a push of the Docker image with additional tags to override or
extend given images.
We only need the timestamped Docker images for some time to enable
testing of certain builds.
and enable optional dry-run (default true)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
The container image usually should be there due to a previous build step
The container image must be there due to a previous build step
Pushing a Docker image (even for testing purposes) requires respective
permissions.
We need to make sure the just build docker image is available for testing
@ascheman
ascheman force-pushed the bugfix/369-gh-action-remote-fix branch 2 times, most recently from eeac6f1 to a0fec9b Compare October 12, 2025 10:33
@github-actions

github-actions Bot commented Oct 12, 2025

Copy link
Copy Markdown

Test Results

123 files  ±0  123 suites  ±0   7m 36s ⏱️ - 5m 0s
487 tests ±0  485 ✅ ±0  0 💤 ±0   2 ❌ ±0 
627 runs  ±0  562 ✅ ±0  0 💤 ±0  65 ❌ ±0 

For more details on these failures, see this check.

Results for commit 23e4907. ± Comparison against base commit 9efca5e.

This pull request removes 60 and adds 23 tests. Note that renamed tests count towards both.
                                <a href="http://aim.org">improve</a>' 
                                <a href="http://arc42.de">arc42.de</a> and some more text
                                <a href="https://arc42.org">arc42 over https</a> even more
                                <a href="local-file.jpg">local file</a> again, text
                                <img src="" alt="2">
                                <img src="t.doc" alt="r"> '
    <area shape="circle" coords="0,1,1" href="#test2">
    <area shape="rect" coords="0,0,1,1" href="#id1" >
    <area shape="rect" coords="0,0,1,1" href="#test1" >
    <area shape="rect" coords="0,0,1,1" href="#test1">
…
org.aim42.htmlsanitycheck.check.ImageMapsCheckerSpec ‑ find image map issues [nrOfFindings: 1, imageMapStr: <img src="image1.jpg" usemap="#map1"><map name="map1">
    <area shape="rect" coords="0,0,1,1" href="#id1" >
</map>
<h2 id="foo" >bad header</h2>, msg: ImageMap "map1" refers to missing link "id1"., #4]
org.aim42.htmlsanitycheck.check.ImageMapsCheckerSpec ‑ find image map issues [nrOfFindings: 1, imageMapStr: <img src="image1.jpg" usemap="#map1"><map name="map1">
    <area shape="rect" coords="0,0,1,1" href="#id1" >
</map>
<map name="map1">
    <area shape="rect" coords="0,0,1,1" href="#id1" >
</map>
<h2 id="id1">aim42 header</h2>, msg: 2 imagemaps with identical name "map1" exist., #1]
org.aim42.htmlsanitycheck.check.ImageMapsCheckerSpec ‑ find image map issues [nrOfFindings: 1, imageMapStr: <img src="image1.jpg" usemap="#map1"><map name="map1">
</map>
, msg: ImageMap "map1" has no area tags., #3]
org.aim42.htmlsanitycheck.check.ImageMapsCheckerSpec ‑ find image map issues [nrOfFindings: 1, imageMapStr: <map name="map1">
    <area shape="rect" coords="0,0,1,1" href="#id1" >
</map>
<h2 id="id1">aim42 header</h2>, msg: ImageMap "map1" not referenced by any image., #2]
org.aim42.htmlsanitycheck.html.HtmlPageSpec ‑ can extract alt attributes from imageTag ' <img alt="1" >
                                <img src="" alt="2">
                                <img src="t.doc" alt="r"> '
org.aim42.htmlsanitycheck.html.HtmlPageSpec ‑ detect correct number of external http links in anchors '<a href="http://arc42.org">arc42</a> and some text
                                <a href="http://arc42.de">arc42.de</a> and some more text
                                <a href="https://arc42.org">arc42 over https</a> even more
                                <a href="local-file.jpg">local file</a> again, text
                                <a href="http://aim.org">improve</a>' 
org.aim42.htmlsanitycheck.html.HtmlPageSpec ‑ detect missing alt attributes in imageTag ' <img alt="1" >
                                <img src="" alt="2">
                                <img src="t.doc" alt="r"> '
org.aim42.htmlsanitycheck.html.ImageMapParserSpec ‑ find all areas within map [nrOfAreas: 1, mapName: mymap, htmlBody: <img src="image.gif" usemap="#mymap">
<map name="mymap">
    <area shape="rect" coords="0,0,1,1" href="#test1" >
</map> , #1]
org.aim42.htmlsanitycheck.html.ImageMapParserSpec ‑ find all areas within map [nrOfAreas: 2, mapName: mymap, htmlBody: <img src="image.gif" usemap="#mymap">
<map name="mymap">
    <area shape="rect" coords="0,0,1,1" href="#test1" >
    <area shape="circle" coords="0,1,1" href="#test2">
</map> , #0]
org.aim42.htmlsanitycheck.html.ImageMapParserSpec ‑ find all hrefs within map [nrOfHrefs: 1, mapName: mymap, htmlBody: <img src="image.gif" usemap="#mymap">
<map name="mymap">
    <area shape="rect" coords="0,0,1,1" href="#test1" >
</map> , hrefs: [#test1], #1]
…

♻️ This comment has been updated with latest results.

On GH pull requests the `git branch --show-current` does not return the
branch name. In this case we use the SHA tag (only) for Docker tagging.
@ascheman
ascheman force-pushed the bugfix/369-gh-action-remote-fix branch from a0fec9b to 23e4907 Compare October 12, 2025 11:42
@sonarqubecloud

Copy link
Copy Markdown

@ascheman

Copy link
Copy Markdown
Member Author

Dummy to check for PR GH action build (works now)

@ascheman ascheman closed this Oct 12, 2025
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.

1 participant