Add Drone config

master
Lauri Võsandi 7 months ago
parent cf4d81d148
commit 495027ebef
  1. 2
      .drone.yml
  2. 4
      Dockerfile
  3. 20
      Jenkinsfile

@ -0,0 +1,2 @@
kind: template
load: docker.yaml

@ -1,5 +1,5 @@
FROM python:3
RUN pip install aiostream sanic
FROM harbor.k-space.ee/k-space/microservice-base
RUN pip install aiostream
ADD aio_api_ros /aio_api_ros
WORKDIR /aio_api_ros
RUN pip install .

20
Jenkinsfile vendored

@ -1,20 +0,0 @@
#!/usr/bin/groovy
image = "mikrotik-exporter"
label = "latest"
build = null
node {
stage("Checkout") {
checkout scm
}
stage("Build") {
build = docker.build("kspaceee/${image}")
}
stage("Push") {
docker.withRegistry("https://registry.hub.docker.com", "dockerhub-kspace") {
build.push(label)
}
}
}
Loading…
Cancel
Save