Stream: shorthand
Topic: Using CI build in package reference
Torben M. Hagensen (Sep 23 2020 at 12:10):
I have a situation where two projects are being developed in parallel. both having a CI build by auto-ig-publisher. One of the projects use the other as a package reference. As that project uses SUSHI it requires the package to contain snaphots, but the auto-ig-publisher does not seem support that. When I check the package in my local cache, it doesn't contain snapshots
The topic in IG creation (with Grahame) lead to it being a sushi issue. See the topic https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Generating.20packages.20with.20snapshots
When I do like this in config.yaml:
dependencies:
hl7.fhir.dk-core.r4:
uri: https://build.fhir.org/ig/hl7dk/dk-core
version: 0.9.1
... it generates a local cache of the package and it within that I can't find any snapshots. SUSHI complains with the following error: "Structure Definition http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient is missing snapshot. Snapshot is required for import."
I use a profile in this package as parent. Shouldn't that be possible?
Jens Villadsen (Sep 23 2020 at 12:55):
is your sushi project available somewhere?
Torben M. Hagensen (Sep 23 2020 at 13:32):
Jens Villadsen said:
is your sushi project available somewhere?
https://github.com/hl7dk/dk-medcom/tree/new-care-communication-profile
Chris Moesel (Sep 23 2020 at 13:58):
I see this in fsh/config.yaml
:
dependencies:
hl7.fhir.dk-core.r4:
uri: https://build.fhir.org/ig/hl7dk/dk-core
version: 0.9.1
If you really want the latest auto-build, I think that should just be:
dependencies:
hl7.fhir.dk-core.r4: current
Chris Moesel (Sep 23 2020 at 13:59):
See if that makes a difference.
Torben M. Hagensen (Sep 24 2020 at 06:53):
Chris Moesel said:
See if that makes a difference.
It did (the correct reference was dk.fhir.ig.dk-core: current). It has changed over time, which was part of the problem.
Thanks a lot, Chris
Last updated: Apr 12 2022 at 19:14 UTC