summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2021-12-08 09:22:33 +0100
committerBjörn Mattsson <bjorn@sunet.se>2021-12-08 09:22:33 +0100
commit592fe78f9980da8f1dbddea5248d5172ecb6f136 (patch)
treed101b3aaf3ee37d759eb21b03536ce79eaa7f5b8
parent822ada8f79be050311315f322c2ae46a294b0151 (diff)
Moved metadata.swamid.se to new machine/docker
-rw-r--r--Makefile.validate2
-rwxr-xr-xscripts/update-and-validate.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.validate b/Makefile.validate
index 7d2e657f..fafe8d07 100644
--- a/Makefile.validate
+++ b/Makefile.validate
@@ -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" > $@
diff --git a/scripts/update-and-validate.sh b/scripts/update-and-validate.sh
index c9a5c0f9..99ba8208 100755
--- a/scripts/update-and-validate.sh
+++ b/scripts/update-and-validate.sh
@@ -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