Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
saref4agri
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SAREF
saref4agri
Commits
33df5e4d
Commit
33df5e4d
authored
1 year ago
by
Maxime Lefrançois
Browse files
Options
Downloads
Plain Diff
Merge branch 'prerelease-v1.1.2' into 'release-v1.1.2'
Prerelease v1.1.2 See merge request
!2
parents
61b06d1f
c2078bb2
Branches
release-v1.1.2
Branches containing commit
No related tags found
1 merge request
!2
Prerelease v1.1.2
Pipeline
#4736
failed
1 year ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+24
-19
24 additions, 19 deletions
.gitlab-ci.yml
examples/saref4agri-ex1.ttl
+1
-1
1 addition, 1 deletion
examples/saref4agri-ex1.ttl
with
25 additions
and
20 deletions
.gitlab-ci.yml
+
24
−
19
View file @
33df5e4d
image
:
openjdk:8-jdk
variables
:
GIT_STRATEGY
:
fetch
GIT_DEPTH
:
0
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
image
:
openjdk:11-jre
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
:
...
...
@@ -34,8 +30,9 @@ 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/-/
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
:
...
...
@@ -48,19 +45,27 @@ test-prerelease:
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/
# deploy-report:
# stage: deploy
# image: alpine:latest
# script:
# - 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:
# - /^release-v/
test-release
:
stage
:
test
image
:
openjdk:11-jre
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/
...
...
This diff is collapsed.
Click to expand it.
examples/saref4agri-ex1.ttl
+
1
−
1
View file @
33df5e4d
...
...
@@ -19,7 +19,7 @@
dcterms:
license
<https://forge.etsi.org/etsi-software-license>
;
dcterms:
conformsTo
<https://saref.etsi.org/core/v3.1.1/>
;
dcterms:
conformsTo
<https://saref.etsi.org/saref4agri/v1.1.2/>
;
dcterms:
conformsTo
obo:
TAXRANK_0000017,
obo:
TAXRANK_0000004
,
obo:
TAXRANK_0000006
,
obo:
TAXRANK_0000016
,
obo:
TAXRANK_0000003
;
#
dcterms:conformsTo obo:TAXRANK_0000017, obo:TAXRANK_0000004 , obo:TAXRANK_0000006 , obo:TAXRANK_0000016 , obo:TAXRANK_0000003 ;
dcterms:
title
"SAREF4AGRI example"
@en
;
dcterms:
description
"SAREF4AGRI example"
@en
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment