Skip to content

Commit

Permalink
Updates configuration to separate columns
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-aravind committed Oct 8, 2024
1 parent 7e4ac92 commit f236e73
Show file tree
Hide file tree
Showing 6 changed files with 4,349 additions and 9 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/fetch-data-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
matrix: ${{ steps.process-urls.outputs.matrix }}
steps:
- name: Install requirements
run: apk update && apk add curl && apk add util-linux
run: apk update && apk add curl && apk add util-linux && apk add jq

- name: Run ontorefine server
run: /opt/ontorefine/dist/bin/ontorefine &
Expand All @@ -52,6 +52,17 @@ jobs:
id: step-4
run: |
curl 'https://raw.githubusercontent.com/culturecreates/artsdata-planet-spektrix/main/ontorefine/configuration.json' >> project-config.json
curl 'https://raw.githubusercontent.com/culturecreates/artsdata-planet-spektrix/main/ontorefine/columns.json' >> columns.json
- name: Transform configurations to include column additions
shell: bash
run: |
config_file="project-config.json"
column_file="columns.json"
tmp_file=$(mktemp)
jq '.operations |= (input + .)' "$config_file" "$column_file" > "$tmp_file"
mv "$tmp_file" "$config_file"
- name: download artifacts
uses: actions/download-artifact@v4
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
updated-configuration.json
*.ttl
Loading

0 comments on commit f236e73

Please sign in to comment.