Skip to content
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
d5be7fe
Adds shacl validation to renku doctor
Oct 23, 2019
f8625b3
Updates SHACL schema to validate current KG
Oct 25, 2019
6a83b7b
Adds Unit tests for dataset and project jsonld structure
Oct 31, 2019
7a08904
Improves SHACL tests for project and dataset jsonld
Nov 1, 2019
9a34f7f
Merge branch 'master' into 755-kg-validation
Nov 1, 2019
d1243f3
Fixes SHACl validation and adds validation to renku log
Nov 1, 2019
e3bc017
Adds renku log tests
Nov 5, 2019
52c5bcc
Adds some provenance types to the SHACL graph
Nov 5, 2019
db33fc0
Merge branch 'master' into 755-kg-validation
Nov 7, 2019
39b2e9a
fixes rdf log output and pyshacl dependency
Nov 7, 2019
b9535a0
Fixes Project and Dataset SHACL tests
Nov 7, 2019
5339b6d
Adds workflow SHACl validation
Nov 8, 2019
5624fdd
Fix SHACL schema and renku log validation
Nov 8, 2019
f0f20d4
Fix memory leak in integration tests
Nov 8, 2019
b8ddbd5
Merge branch 'master' into 755-kg-validation
rokroskar Nov 10, 2019
8370636
Merge branch 'master' into 755-kg-validation
Panaetius Nov 12, 2019
c827f3a
Fixes Python 3.5 path
Nov 12, 2019
bcb441b
Merge branch '755-kg-validation' of github.com:SwissDataScienceCenter…
Nov 12, 2019
a760d2f
Fixes sort order
Nov 12, 2019
901c67c
Fixes python 3.5 tests
Nov 12, 2019
5e72d13
Merge branch 'master' into 755-kg-validation
Panaetius Nov 12, 2019
835cff1
Patches pyld to prevent contexts from overwhelming its cache
Nov 14, 2019
fda27ad
Merge branch '755-kg-validation' of github.com:SwissDataScienceCenter…
Nov 14, 2019
b776273
Merge branch 'master' into 755-kg-validation
Panaetius Nov 14, 2019
04b07eb
Cleanup of pyld patch
Nov 14, 2019
ed81d9f
Updates documentation
Nov 14, 2019
0976db7
Adds initial github actions test
Nov 14, 2019
5bb30a3
Remove hardcoded token and use secret instead
Nov 14, 2019
c369a88
Add debug code
Nov 14, 2019
3954f10
Go live with testing the commit
Nov 14, 2019
9a6d638
Adds git add
Nov 14, 2019
b299b49
Cleanup: remove hardcoded versions from shacl shape
Nov 14, 2019
5814904
Merge branch '755-kg-validation' into 685-publish-shacl
Nov 14, 2019
86e0456
Merge branch 'master' into 755-kg-validation
jsam Nov 15, 2019
328f5b5
Cleanup and addresses PR comments
Nov 15, 2019
107edc7
Changes repo to renku repo
Nov 15, 2019
c824755
Change trigger to push on master
Nov 15, 2019
04c0bad
Add condition to only execute workflow when shacl shape has changed
Nov 15, 2019
ee4afd6
Change trigger to test deployment
Nov 15, 2019
f1adf24
Remove push github action
Nov 15, 2019
e868ba0
Merge branch 'master' into 755-kg-validation
Panaetius Nov 15, 2019
c2440e5
Change commit user to renkubot
Nov 15, 2019
c0468b4
fix: sanitize author name for nt output
rokroskar Nov 15, 2019
cd13981
refactor: Creator --> Person
rokroskar Nov 15, 2019
35296da
Merge branch 'master' into 755-kg-validation
rokroskar Nov 15, 2019
7537693
Merge branch 'master' into 755-kg-validation
Panaetius Nov 27, 2019
3a4a74d
Adapts SHACL and tests to changes on master
Nov 28, 2019
877113e
Changed to proper objects on loading and fix DatasetFile ids for old…
Nov 29, 2019
3d1c53e
SHACL Validation (#767)
Panaetius Nov 29, 2019
3a72e5e
Merge branch '755-kg-validation' into 685-publish-shacl
Nov 29, 2019
72ee1e3
Merge branch 'master' into 685-publish-shacl
Nov 29, 2019
cbd5ea5
Merge branch 'master' into 685-publish-shacl
Panaetius Dec 3, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/publish_shacl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish SHACL shape for current version

on:
push:
branches:
- master
paths:
- 'renku/data/shacl_shape.json'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[all]
- name: Publish shape
run: |
git clone https://${{secrets.SHACL_ACCESS_TOKEN}}@github.com/SwissDataScienceCenter/renku-ontology.git shacl_publish
cd shacl_publish
mkdir $(renku --version)
cp ../renku/data/shacl_shape.json ./$(renku --version)/
git config --local user.email "renku@datascience.ch"
git config --local user.name "RenkuBot"
git add $(renku --version)/shacl_shape.json
git commit -m "Publish SHACL shape for $(renku --version)"
git push