This commit is contained in:
parent
38d9d66501
commit
b5d8ee48d1
32
.drone.yml
32
.drone.yml
@ -3,7 +3,6 @@ type: docker
|
|||||||
name: docmaster
|
name: docmaster
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: build_and_publish_docmaster
|
- name: build_and_publish_docmaster
|
||||||
image: plugins/docker:linux-amd64
|
image: plugins/docker:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
@ -25,13 +24,11 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: ot-recorder
|
name: ot-recorder
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: build_and_publish_ot-recorder
|
- name: build_and_publish_ot-recorder
|
||||||
image: plugins/docker:linux-amd64
|
image: plugins/docker:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
@ -53,13 +50,37 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
|
|
||||||
---
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: upsmon
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build_and_publish_upsmon
|
||||||
|
image: plugins/docker:linux-amd64
|
||||||
|
settings:
|
||||||
|
dockerfile: upsmon/Dockerfile
|
||||||
|
context: upsmon
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
registry: docker.asperti.com
|
||||||
|
repo: docker.asperti.com/paspo/hassio-upsmon
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- 0.2.0
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
- push
|
||||||
|
|
||||||
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: zabbix-agent
|
name: zabbix-agent
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: build_and_publish_zabbix-agent
|
- name: build_and_publish_zabbix-agent
|
||||||
image: plugins/docker:linux-amd64
|
image: plugins/docker:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
@ -80,15 +101,12 @@ trigger:
|
|||||||
- tag
|
- tag
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: zabbix-agent2
|
name: zabbix-agent2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: build_and_publish_zabbix-agent2
|
- name: build_and_publish_zabbix-agent2
|
||||||
image: plugins/docker:linux-amd64
|
image: plugins/docker:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
ARG BUILD_FROM
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:10.0.2
|
||||||
FROM $BUILD_FROM
|
FROM $BUILD_FROM
|
||||||
|
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
|
|
||||||
# Copy scripts for add-on
|
COPY run.sh shutdown.sh /
|
||||||
COPY run.sh /
|
|
||||||
COPY shutdown.sh /
|
|
||||||
|
|
||||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
|
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
|
||||||
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
||||||
@ -14,7 +12,6 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositori
|
|||||||
mkdir /var/run/nut && \
|
mkdir /var/run/nut && \
|
||||||
chown root:nut /var/run/nut && \
|
chown root:nut /var/run/nut && \
|
||||||
chmod 770 /var/run/nut && \
|
chmod 770 /var/run/nut && \
|
||||||
chmod a+x /run.sh && \
|
chmod a+x /run.sh /shutdown.sh
|
||||||
chmod a+x /shutdown.sh
|
|
||||||
|
|
||||||
CMD [ "/run.sh" ]
|
CMD [ "/run.sh" ]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Network UPS Tools - netclient",
|
"name": "Network UPS Tools - netclient",
|
||||||
"url": "https://git.asperti.com/paspo/hassio-addons",
|
"url": "https://git.asperti.com/paspo/hassio-addons",
|
||||||
"version": "0.1.9",
|
"version": "0.2.0",
|
||||||
"slug": "upsmon",
|
"slug": "upsmon",
|
||||||
"description": "Connect to a remote NUT server",
|
"description": "Connect to a remote NUT server",
|
||||||
"startup": "services",
|
"startup": "services",
|
||||||
|
Loading…
Reference in New Issue
Block a user