diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 11:22:05 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 11:22:05 +0100 |
commit | 467dbdbf3d7212e25ee69daeaadd8adba7c7c5b8 (patch) | |
tree | d3576d5f2d4b5cc676c0a12ef8f8c3c83b474bf5 /metadata/Makefile.validate | |
parent | bc1d55080e5d42e6ef2bba892d640aa8f68bbc90 (diff) |
Moved files to make ths repo signed
Diffstat (limited to 'metadata/Makefile.validate')
-rw-r--r-- | metadata/Makefile.validate | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/metadata/Makefile.validate b/metadata/Makefile.validate new file mode 100644 index 00000000..cc4848bc --- /dev/null +++ b/metadata/Makefile.validate @@ -0,0 +1,16 @@ +EDUGAIN=$(patsubst swamid-edugain/%.xml,.time/%.validate,$(wildcard swamid-edugain/*.xml)) +SWAMDI20=$(patsubst swamid-2.0/%.xml,.time/%.validate,$(wildcard swamid-2.0/*.xml)) +TESTING=$(patsubst swamid-testing/%.xml,.time/%.validate,$(wildcard swamid-testing/*.xml)) + +all: validate + +validate: $(EDUGAIN) $(SWAMDI20) $(TESTING) + +.time/%.validate: swamid-edugain/%.xml + @docker exec swamid-metadata-sp /var/www/scripts/importXML.bash /opt/metadata/$< Prod | grep -v "Import -> Added to db" > $@ + +.time/%.validate: swamid-2.0/%.xml + @docker exec swamid-metadata-sp /var/www/scripts/importXML.bash /opt/metadata/$< Prod | grep -v "Import -> Added to db" > $@ + +.time/%.validate: swamid-testing/%.xml + @docker exec swamid-metadata-sp /var/www/scripts/importXML.bash /opt/metadata/$< Prod | grep -v "Import -> Added to db" > $@ |