-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Dockerfile to run yarrrml-parser using Docker. Also added short instructions to build and run to the readme * Add DockerHub URL to readme * now Dockerfile build from current folder instead of installing from npm. Updated readme. * add .dockerignore to avoid copying node_modules when docker build * fixes #73 * Delete generator.test.js * nit * readme error * fix #75 * add action.yml to use YARRRML parser as GitHub action * action is now dockerfile instead of node * wip #59 * add more test cases * update changelog * fix #37 * fix #78 * Allow multiple input files (#80) fix #34 Co-authored-by: Ben De Meester <Ben.DeMeester@UGent.be> * Fix #35 (#84) fix #35 * fix remarks * Fix #31 (#86) fix #31 * Fix #87 (#88) fix #87 * v1.2.0 (#89) v1.2.0 Co-authored-by: Vincent Emonet <vincent.emonet@gmail.com> Co-authored-by: Ben De Meester <Ben.DeMeester@UGent.be>
- Loading branch information
1 parent
6e4f3c5
commit 8a47e47
Showing
136 changed files
with
6,302 additions
and
2,990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM node:12-alpine | ||
|
||
WORKDIR /app | ||
|
||
ADD . . | ||
|
||
RUN npm install -g . | ||
|
||
ENTRYPOINT ["yarrrml-parser"] | ||
CMD ["-h"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# GitHub Actions to run the RML Mapper | ||
name: 'YARRRML Parser' | ||
description: 'Convert YARRRML rules to RML rules using the YARRRML Parser.' | ||
branding: | ||
icon: 'edit-3' | ||
color: 'blue' | ||
inputs: | ||
input: | ||
description: 'Input YARRRML file to convert to RML' | ||
required: true | ||
default: 'input.yarrr.yml' | ||
output: | ||
description: 'Path to output file' | ||
required: true | ||
default: 'output.rml.ttl' | ||
format: | ||
description: 'RML or R2RML (default: RML)' | ||
required: false | ||
default: 'RML' | ||
outputs: | ||
rml_output: | ||
description: 'RML rules generated from the YARRRML rules.' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
args: | ||
- "--input" | ||
- ${{ inputs.input }} | ||
- "--output" | ||
- ${{ inputs.output }} | ||
- "--format" | ||
- ${{ inputs.format }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.