Prepare shared glossary envelopes and combined input
This commit is contained in:
@@ -143,11 +143,11 @@ inputs:
|
||||
}
|
||||
revision, err := exec.Command("git", "-C", catalog, "rev-parse", "HEAD").Output()
|
||||
if err == nil && strings.TrimSpace(string(revision)) == glossary.CatalogRevision {
|
||||
upstream, err := os.ReadFile(filepath.Join(catalog, "schemas", "glossary-v1.schema.json"))
|
||||
upstream, err := os.ReadFile(filepath.Join(catalog, "schemas", "glossary", "v0.2.0", "schema.json"))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
pinned, err := os.ReadFile(filepath.Join("..", "glossary", "glossary-v1.schema.json"))
|
||||
pinned, err := os.ReadFile(filepath.Join("..", "domaininput", "resources", "glossary", "v0.2.0", "schema.json"))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user