[Git][NTPsec/ntpsec][master] CI: Fix breakage from tar -C absent folder

Gary E. Miller (@garyedmundsmiller) gitlab at mg.gitlab.com
Fri May 15 21:01:27 UTC 2026



Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
072473e8 by James Browning at 2026-05-15T05:43:14-07:00
CI: Fix breakage from tar -C absent folder

/tmp/docbot-local/share/doc/ntpsec/ got poofed by
the last update to waf, so don't tar when absent.

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -5,7 +5,10 @@ pages:
     - echo /tmp/docbot-local/lib/python3.12/site-packages > /usr/lib/python3.12/site-packages/ntpsec.pth
     - mkdir -p public/latest
     - python3 ./waf configure --prefix=/tmp/docbot-local --htmldir=`pwd`/public/latest/ --enable-doc --disable-manpage build install
-    - tar -C /tmp/docbot-local/share/doc/ntpsec/ -cf - .|tar -C public/latest/ -xf -
+    # tar to work around waf ignoring GNU dirs
+    - \[ -d "/tmp/docbot-local/share/doc/ntpsec/" \]
+      && tar -C /tmp/docbot-local/share/doc/ntpsec/ -cf - .
+      |tar -C public/latest/ -xf -
     - cp www/favicon.ico public
     - cp docs/top.html.in public/index.html
     - cp docs/top-asciidoc.css public/asciidoc.css



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/072473e8bab4e6f314161f23d9639612d86bef46

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/072473e8bab4e6f314161f23d9639612d86bef46
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20260515/043bf54e/attachment.htm>


More information about the vc mailing list