Skip to content

Conversation

@Panaetius
Copy link
Member

@Panaetius Panaetius commented Nov 14, 2019

Description

Github action to copy the shacl_shape.json to a different repository on commit to master with version.

Currently configured to go to https://github.com/Panaetius/SHACL_test_repo for testing.

Access Token needs to be generated for this with rights to the final repository where the SHACL should end up in. Until then it's WIP and it pushes to the test repo on every commit (not just on commit to master)

Closes SwissDataScienceCenter/renku#685

Ralf Grubenmann and others added 30 commits October 23, 2019 17:01
@jsam
Copy link
Contributor

jsam commented Nov 15, 2019

I see. But that ability should probably be part of the schema versioning itself since we gonna most likely need it inside the core module for migrations. Also, having a new directory for every changed schema version (vs. for every commit) makes it easier/possible to track changes of schema through time (I think the same wouldn't be the case after 200 commits on master with current setup).

I guess there is a tradeoff for both.

@Panaetius
Copy link
Member Author

i changed it so it only gets executed when renku/data/shacl_shape.json is in a push

@Panaetius Panaetius changed the title [WIP] Publish SHACL to repo Publish SHACL to repo Nov 15, 2019
jsam
jsam previously approved these changes Nov 15, 2019
Copy link
Contributor

@jsam jsam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for setting this up. It's pretty cool!

rokroskar
rokroskar previously approved these changes Nov 15, 2019
@Panaetius Panaetius changed the base branch from 755-kg-validation to master November 29, 2019 15:14
@Panaetius Panaetius merged commit 60947e9 into master Dec 3, 2019
@Panaetius Panaetius deleted the 685-publish-shacl branch December 3, 2019 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SHACL schema to be available for Renku services

4 participants