Unverified Commit 8aec750a authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

initial commit

parents
Pipeline #264 failed with stages
in 11 seconds
*~
.DS_Store
catalog-v001.xml
target
saref-pipeline.jar
image: openjdk:8-jdk
variables:
SAREF_DEV_KEY: <my_private_key>
SAREF_PORTAL_KEY: <my_private_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
script:
- curl -L -o saref-pipeline.jar "https://forge.etsi.org/rep/SAREF/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
- java -jar saref-pipeline.jar develop -s && touch target/success
allow_failure: true
except:
- /^prerelease-v/
- /^release-v/
artifacts:
when: always
paths:
- target/site
- target/success
reports:
junit: target/report_output.xml
test-prerelease:
stage: test
script:
- curl -L -o saref-pipeline.jar "https://forge.etsi.org/rep/SAREF/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
- java -jar saref-pipeline.jar release -t && touch target/success
allow_failure: true
only:
- /^prerelease-v/
artifacts:
when: always
paths:
- target/site
- target/success
reports:
junit: target/report_output.xml
deploy-report:
stage: deploy
script:
- scp -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:
- /^release-v/
test-release:
stage: test
script:
- curl -L -o saref-pipeline.jar "https://forge.etsi.org/rep/SAREF/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
- java -jar saref-pipeline.jar release -t
only:
- /^release-v/
trigger-release:
stage: deploy
only:
- /^release-v/
variables:
SAREF_DEV_KEY: $SAREF_DEV_KEY
SAREF_PORTAL_KEY: $SAREF_PORTAL_KEY
trigger:
project: saref/saref-portal
branch: master
forge.etsi.org/rep/:
repos:
- saref/saref-core
- saref/saref4syst
Copyright 2021 ETSI
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
Repository for the SAREF4LIFT ontology
@prefix : <https://saref.etsi.org/saref4lift/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix schema: <http://schema.org/> .
@base <https://saref.etsi.org/saref4lift/> .
<https://saref.etsi.org/saref4lift/> rdf:type owl:Ontology ;
dcterms:title "SAREF extension for Smart Lifts"@en ;
dcterms:description "This ontology extends the SAREF ontology for the Smart Lifts domain."@en ;
dcterms:publisher <https://www.etsi.org/> ;
owl:versionIRI <https://saref.etsi.org/saref4lift/v1.1.1/> ;
owl:versionInfo "v1.1.1" ;
dcterms:modified "2021-01-11"^^xsd:date ;
dcterms:license <https://forge.etsi.org/etsi-software-license> ;
dcterms:source <https://saref.etsi.org/sources/saref4lift/> ;
vann:preferredNamespacePrefix "s4lift" ;
vann:preferredNamespaceUri "https://saref.etsi.org/saref4lift/" .
Id;Category;Requirement
Id;Requirement;Category;Test
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment