You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Khronos asciidoctor-spec Docker image in CI (#1196)
* Use Khronos asciidoctor-spec Docker image in CI
Per discussion with $bashbaug
N.b. at present the CI script has less parallelism than it could, at
least as I understand Actions. Some of the 'steps' could be split off
into 'jobs'. Might try that next once the basic build is working. Net
performance is still somewhat faster than current CI since it's
generally faster to load the container than to add needed packages at
each invocation, and the spec build is pretty fast, so there's not much
to be gained.
There was odd error behavior from shifting to the container which I have
never seen in Vulkan CI, having to do with mixed ownership of files in
the checked-out repository. I inserted a brute-force workaround right
after the checkout action.
* Update image (SHA changed, though not contents)
* Update to 20240702 Docker image which sets HOME=/tmp to avoid asciidoctor-pdf permission problems with tmpfiles in home directory /
* Fix SHA and remove fixed parallel job limit on manhtmlpages build
* Switch to '#!/usr/bin/env python3' shebang lines
Since the Docker build image runs a python virtual environment now.
Also added 'scripts/runDocker' script which will invoke docker locally
with the same image used in Github CI, for testing.
Note this script will pull over a GB of Docker stuff onto the machine
it's invoked on, if the image is not already cached.
* Empty commit to try and re-trigger the 'fatal' message...
... which appears sporadic, not easily replicable.
* Try to bulletproof the git invocations in Makefile
* Remove diagnostic job stage after bulletproofing (hopefully) the Makefile
For future reference, some of the git operations in CI and the Makefile
appear to *sporadically* fail in CI because of different checked-out
repo configurations.
I modified the 'git symbolic-ref' and 'git log' operations invoked from
the Makefile to detect errors and substitute a placeholder message,
based on similar changes to the Vulkan Makefile a while back. This
(appears) to eliminate the sporadic 'fatal' messages. We may need to do
that to the 'git describe' as well.
None of this reads on the generated artifacts, except that they may or
may not contain accurate tag / commit comments.
0 commit comments