Stream: IG creation
Topic: Clogged CD?
Jens Villadsen (Nov 06 2021 at 16:33):
@Josh Mandel - It looks like something is clogged in the build pipeline? Since 2-3 hours ago, my branch hasn't been building. I changed the ig template in the ig.ini file, and ever since, the build log hasn't updated and the new commits haven't been reflected. It works like a charm locally. The specific latest build log can be seen here: https://build.fhir.org/ig/hl7dk/dk-core/branches/1.1.0/build.log
Josh Mandel (Nov 06 2021 at 19:51):
https://fhir.github.io/auto-ig-builder/builds.html seems to show builds are happening
Jens Villadsen (Nov 06 2021 at 19:52):
Jens Villadsen (Nov 06 2021 at 19:52):
that timestamp
Jens Villadsen (Nov 06 2021 at 19:53):
Jens Villadsen (Nov 06 2021 at 19:53):
and that changelog
Josh Mandel (Nov 06 2021 at 19:53):
I'm not sure what this is showing. Sorry I'm not at my computer right now; I was just trying to ascertain whether the entire build pipeline is down, which it does not seem to be. Does this match you understanding?
Jens Villadsen (Nov 06 2021 at 19:54):
the pipeline in general seems to work
Jens Villadsen (Nov 06 2021 at 19:54):
but this shows that builds have stopped being built by the pipeline
Jens Villadsen (Nov 06 2021 at 19:55):
But I can't see why since there are no logs
Josh Mandel (Nov 06 2021 at 20:06):
https://build.fhir.org/ig/hl7dk/dk-core/branches/1.1.0/failure/build.log is the latest failure log I see
Josh Mandel (Nov 06 2021 at 20:07):
Publishing Content Failed: Unable to execute 'onLoad' in script 'scripts/ant.xml' as the template 'https://github.com/hl7dk/dk-ig-template' is not trusted (reason: has file extensions: [.bat]) (00:08.0113)
Josh Mandel (Nov 06 2021 at 20:08):
#committers/notification has failure notices and links to these logs
Jens Villadsen (Nov 06 2021 at 20:10):
Thx @Josh Mandel - that explains
Jens Villadsen (Nov 06 2021 at 20:11):
(funny that the IG scripts stops this entirely - and so abruptly that it goes to the failure/build.log)
Jens Villadsen (Nov 06 2021 at 20:13):
(the same scripts that are allowed in all the IG repos .... :thinking: )
Lloyd McKenzie (Nov 06 2021 at 23:19):
Publisher allows non-trusted templates locally, but not in the CI build. Trusted templates must be maintained by HL7 with a limited set of committees.
Jens Villadsen (Nov 07 2021 at 18:52):
@Lloyd McKenzie that's not really the issue here - and I can perfectly reference any GH repo I think since that is what I did: see for yourself @ https://github.com/hl7dk/dk-core/blob/1.1.0/ig.ini
Jens Villadsen (Nov 07 2021 at 18:54):
The issue is/was that the GH repo contained bat-files - once they were removed everything worked
Jens Villadsen (Nov 07 2021 at 18:55):
What puzzles me is why .bat files are NOT allowed in template repos but are allowed in the IG repos
Grahame Grieve (Nov 07 2021 at 19:51):
because whatever active content you have in IG repos will never be executed while code in the template repo could be run by the template set up. For this reason, only trusted templates are accepted by the ci-build
Last updated: Apr 12 2022 at 19:14 UTC