Commit 521a2dee authored by jcorvi's avatar jcorvi

CI CD, README, CHANGELOG and LICENSE

parent cd76fe64
variables:
DOCKER_USER: javicorvi
DOCKER_BUILD: $DOCKER_USER/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
stages:
- build
build_docker_image:
stage: build
only:
- tags
script:
- docker login -u javicorvi -p $DOCKER_PASS
- docker build -t $DOCKER_BUILD .
- docker push $DOCKER_BUILD
tags:
- build
\ No newline at end of file
# Change Log
## Version 1.0, 2020-03-03
First version of the component.
This diff is collapsed.
......@@ -16,11 +16,11 @@ ETOX terminology: Information available from the Ontobrowser system was used to
The cdisc-etox-annotation component uses the generic nlp-generic-dictionary-annotation https://github.com/inab/docker-textmining-tools/tree/master/nlp-generic-dictionary-annotation. This library is a generic component that annotate text with parametrices GATE-formatted gazetters/dictionaries. In other words, the hepatotoxicity-annotation library is an instance of the nlp-generic-dictionary-annotation with the hepatotoxicity dictionaries.
## For clone this component
## Actual Version: 1.0, 2020-03-04
## [Changelog](https://gitlab.bsc.es/inb/text-mining/bio-tools/cdisc-etox-annotation/blob/master/CHANGELOG)
## Docker
git clone --depth 1 https://github.com/inab/docker-textmining-tools.git cdisc-etox-annotation
cd cdisc-etox-annotation
git filter-branch --prune-empty --subdirectory-filter cdisc-etox-annotation HEAD
javicorvi/cdisc-etox-annotation
## Build and Run the Docker
......
......@@ -27,13 +27,12 @@ else
apt-get install openjdk-8-jdk git maven
fi
git clone --depth 1 https://github.com/inab/docker-textmining-tools.git nlp_gate_generic_component
cd nlp_gate_generic_component
git filter-branch --prune-empty --subdirectory-filter nlp-gate-generic-component HEAD
git clone https://gitlab.bsc.es/inb/text-mining/generic-tools/nlp-gate-generic-component.git
cd nlp-gate-generic-component
mvn clean install -DskipTests
cd ..
#rename jar
mv nlp_gate_generic_component/target/nlp-gate-generic-component-0.0.1-SNAPSHOT-jar-with-dependencies.jar nlp-gate-generic-component-${CDISC_ETOX_TAGGER_VERSION}.jar
mv nlp-gate-generic-component/target/nlp-gate-generic-component-0.0.1-SNAPSHOT-jar-with-dependencies.jar nlp-gate-generic-component-${CDISC_ETOX_TAGGER_VERSION}.jar
cat > /usr/local/bin/cdisc-etox-annotation <<EOF
#!/bin/sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment