Skip to content

Commit

Permalink
Consume Metafacture dependencies from GitHub Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Mar 17, 2021
1 parent 3069f45 commit 62d24f8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 31 deletions.
3 changes: 0 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ variables:

build:
script:
- sh install_snapshots.sh
- ./gradlew --version
- ./gradlew check --info

Expand All @@ -28,7 +27,6 @@ deploy:
- echo COMMIT_SHA=${CI_COMMIT_SHORT_SHA} >> build.info
- date +'TIMESTAMP=%Y%m%d%H%M%S' >> build.info
- cat build.info
- sh install_snapshots.sh
- ./gradlew installDist
artifacts:
paths:
Expand All @@ -45,7 +43,6 @@ sonar:
paths:
- .sonar/cache
script:
- sh install_snapshots.sh
- ./gradlew check jacocoTestReport sonarqube --info
only:
- merge_requests
Expand Down
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ Set up project

`cd oersi-etl`

If you do **not** have an installed metafacture instance:

`sh install_snapshots.sh`

If you have an installed metafacture instance:

Do `git pull origin oersi ; ./gradlew install` in metafacture-core, `git pull origin oersi ; ./gradlew clean install` in metafacture-fix, and `./gradlew clean` in oersi-etl.


User documentation
==================

Expand All @@ -30,10 +21,6 @@ Pass a directory name to run all `*.flux` workflows in that directory, e.g.:

This will run all `*.flux` workflows in `data/production`.

If changes in metafacture were made update your metafacture before running the workflows:

Do `git pull origin oersi ; ./gradlew install` in metafacture-core, `git pull origin oersi ; ./gradlew clean install` in metafacture-fix (or remove them and run `sh install_snapshots.sh`), and `./gradlew clean ` in oersi-etl.

Write to backend API
--------------------

Expand Down
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ plugins {
id 'application'
id "jacoco"
id "org.sonarqube" version "2.8"
id 'io.github.0ffz.github-packages' version '1.2.1'
}

repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenLocal()
maven githubPackage.invoke("metafacture")
}

dependencies {
Expand All @@ -34,12 +35,14 @@ dependencies {
implementation 'org.metafacture:metafacture-triples:feature-oersi-SNAPSHOT'
implementation 'org.metafacture:metafacture-formatting:feature-oersi-SNAPSHOT'
implementation 'org.metafacture:metafacture-monitoring:feature-oersi-SNAPSHOT'
implementation 'org.metafacture:metafacture-runner:feature-oersi-SNAPSHOT'
implementation ('org.metafacture:metafacture-runner:feature-oersi-SNAPSHOT'){
exclude group: 'org.antlr', module: 'antlr'
}
implementation 'org.metafacture:metafacture-json:feature-oersi-SNAPSHOT'
implementation 'org.metafacture:metafacture-html:feature-oersi-SNAPSHOT'
implementation 'org.metafacture:metafacture-elasticsearch:feature-oersi-SNAPSHOT'
implementation 'org.metafacture:metafacture-xml:feature-oersi-SNAPSHOT'
implementation 'org.metafacture.fix:org.metafacture.fix:1.0.0-SNAPSHOT'
implementation 'org.metafacture:metafacture-fix:feature-oersi-SNAPSHOT'
implementation('org.metafacture:metafacture-biblio:feature-oersi-SNAPSHOT') {
exclude group: 'xml-apis', module: 'xml-apis'
}
Expand Down
12 changes: 0 additions & 12 deletions install_snapshots.sh

This file was deleted.

0 comments on commit 62d24f8

Please sign in to comment.