From 4a1ebacdb0db0a890ac2f7b80b7c595874764c9f Mon Sep 17 00:00:00 2001 From: Maxime Date: Tue, 5 Mar 2024 13:21:02 +0100 Subject: [PATCH 1/2] set rdfs:seeAlso to TS --- .gitlab-ci.yml | 6 +++--- ontology/saref4watr.ttl | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fda4ae1..d6123a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ stages: test-develop: stage: test script: - - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/releases/permalink/latest/downloads/saref-pipeline.jar" - java -jar saref-pipeline.jar develop -s && touch target/success allow_failure: true except: @@ -35,7 +35,7 @@ test-develop: test-prerelease: stage: test script: - - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/releases/permalink/latest/downloads/saref-pipeline.jar" - java -jar saref-pipeline.jar release -t && touch target/success allow_failure: true only: @@ -60,7 +60,7 @@ deploy-report: test-release: stage: test script: - - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/releases/permalink/latest/downloads/saref-pipeline.jar" - java -jar saref-pipeline.jar release -t only: - /^release-v/ diff --git a/ontology/saref4watr.ttl b/ontology/saref4watr.ttl index 78ea31a..453833b 100644 --- a/ontology/saref4watr.ttl +++ b/ontology/saref4watr.ttl @@ -26,6 +26,7 @@ dcterms:issued "2020-04-01"^^xsd:date ; dcterms:license ; dcterms:source ; + rdfs:seeAlso ; vann:preferredNamespacePrefix "s4watr" ; vann:preferredNamespaceUri "https://saref.etsi.org/saref4watr/" . -- GitLab From ab023b1f946867ac343d50fb9155df4907e2ad64 Mon Sep 17 00:00:00 2001 From: Maxime Date: Tue, 5 Mar 2024 13:23:03 +0100 Subject: [PATCH 2/2] change link to saref-pipeline --- .gitlab-ci.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d6123a7..8a36a00 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,22 +1,18 @@ -image: openjdk:8-jdk - variables: + GIT_STRATEGY: fetch + GIT_DEPTH: 0 SAREF_DEV_KEY: SAREF_PORTAL_KEY: -before_script: - - eval $(ssh-agent -s) - - ssh-add <(echo "$SAREF_DEV_KEY") - - mkdir -p ~/.ssh - - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - stages: - test - build - deploy + test-develop: stage: test + image: openjdk:11-jre script: - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/releases/permalink/latest/downloads/saref-pipeline.jar" - java -jar saref-pipeline.jar develop -s && touch target/success @@ -34,6 +30,7 @@ test-develop: test-prerelease: stage: test + image: openjdk:11-jre script: - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/releases/permalink/latest/downloads/saref-pipeline.jar" - java -jar saref-pipeline.jar release -t && touch target/success @@ -50,8 +47,15 @@ test-prerelease: deploy-report: stage: deploy + image: alpine:latest script: - - scp -pr target/site saref-dev@saref.etsi.org:~/snapshot/$CI_PIPELINE_ID + - apk update + - apk add openssh + - eval $(ssh-agent -s) + - ssh-add <(echo "$SAREF_DEV_KEY") + - mkdir -p ~/.ssh + - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' + - scp -P 29419 -pr target/site saref-dev@saref.etsi.org:~/snapshot/$CI_PIPELINE_ID - echo "SAREF pipeline report https://saref.etsi.org/snapshot/$CI_PIPELINE_ID/report.html" - exit $(test -f target/success) $? except: @@ -59,6 +63,7 @@ deploy-report: test-release: stage: test + image: openjdk:11-jre script: - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/releases/permalink/latest/downloads/saref-pipeline.jar" - java -jar saref-pipeline.jar release -t -- GitLab