Moved metadata.swamid.se to new machine/docker
authorBjörn Mattsson <bjorn@sunet.se>
Wed, 8 Dec 2021 08:22:33 +0000 (09:22 +0100)
committerBjörn Mattsson <bjorn@sunet.se>
Wed, 8 Dec 2021 08:22:33 +0000 (09:22 +0100)
Makefile.validate
scripts/update-and-validate.sh

index 7d2e657..fafe8d0 100644 (file)
@@ -4,4 +4,4 @@ all: validate
 
 validate: $(VALIDATEXML)
 .time/%.validate: swamid-2.0/%.xml
-       @docker exec release-check /var/www/scripts/importXML.bash /opt/swamid-metadata/$< Prod | grep -v "Import -> Added to db" > $@
+       @docker exec swamid-metadata-sp /var/www/scripts/importXML.bash /opt/swamid-metadata/$< Prod | grep -v "Import -> Added to db" > $@
index c9a5c0f..99ba820 100755 (executable)
@@ -11,7 +11,7 @@ update()
        ls swamid-2.0/*.xml | sed 's@swamid-2.0/\(.*\).xml@.time/\1.validate@' > /tmp/$$.xml
        ls .time/*.validate > /tmp/$$.time
        comm -13 /tmp/$$.xml /tmp/$$.time | while read file; do
-               docker exec release-check /var/www/scripts/removeEntity.bash /opt/swamid-metadata/$file
+               docker exec swamid-metadata-sp /var/www/scripts/removeEntity.bash /opt/swamid-metadata/$file
        done
        rm /tmp/$$.xml /tmp/$$.time