Skip to content
Permalink
Browse files

Drone.ci integration

  • Loading branch information...
fungiboletus committed May 9, 2018
1 parent c5224c3 commit d935b16fff3430c4a61cd542562e0e522fc20e5f
Showing with 41 additions and 0 deletions.
  1. +35 −0 .drone.yml
  2. +3 −0 Dockerfile-amd64
  3. +3 −0 Dockerfile-arm32v7
@@ -0,0 +1,35 @@
# Always built on x86_64
platform: linux/amd64

pipeline:
build:
image: maven:3-jdk-8
commands:
- mvn -Dmaven.test.failure.ignore clean install
- cd language
- mvn -Dmaven.test.failure.ignore -pl !thingml.ui.tests install
- cd ..
volumes:
- /tmp/.m2/:/root/.m2/
testing:
image: maven:3-jdk-8
commands:
- mvn -Dmaven.test.failure.ignore test thingmlreport:generate
volumes:
- /tmp/.m2/:/root/.m2/
docker-amd64:
group: docker
image: plugins/docker
dockerfile: Dockerfile-amd64
repo: tellu/thingml
auto_tag: true
auto_tag_suffix: amd64
secrets: [ docker_username, docker_password ]
docker-arm32v7:
group: docker
image: plugins/docker
dockerfile: Dockerfile-arm32v7
repo: tellu/thingml
auto_tag: true
auto_tag_suffix: arm32v7
secrets: [ docker_username, docker_password ]
@@ -0,0 +1,3 @@
FROM openjdk:8-slim
COPY ./compilers/official-network-plugins/target/official-network-plugins-2.0.0-SNAPSHOT-jar-with-dependencies.jar ./thingml.jar
CMD ["bin/bash"]
@@ -0,0 +1,3 @@
FROM arm32v7/openjdk:8-jre-slim
COPY ./compilers/official-network-plugins/target/official-network-plugins-2.0.0-SNAPSHOT-jar-with-dependencies.jar ./thingml.jar
CMD ["bin/bash"]

0 comments on commit d935b16

Please sign in to comment.
You can’t perform that action at this time.