7 Commits

Author SHA1 Message Date
0f84feeb5f fix: getHostname error in docker-compose
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-14 20:02:15 +02:00
4ec1a2311b chore(deps): update dependency docker.io/library/alpine to v3.16.0 2022-07-14 20:02:15 +02:00
16f30737f2 fix(ci): resource limits
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-05-22 13:10:28 +02:00
c33ffca552 fix(ci): use fully qualified image name
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-22 13:02:39 +02:00
25b57f99be fix(ci): use gitea to sync repo with github
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-03 17:48:47 +02:00
163eb5c4ea Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.15.4' (#6) from renovate/docker.io-library-alpine-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #6
2022-04-15 21:27:53 +00:00
0cb5db3c50 chore(deps): update dependency docker.io/library/alpine to v3.15.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-05 02:04:19 +02:00
3 changed files with 30 additions and 84 deletions

View File

@@ -13,8 +13,8 @@ steps:
image: docker.io/volkerraschek/markdownlint:0.31.1 image: docker.io/volkerraschek/markdownlint:0.31.1
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 50M memory: 150M
- name: email-notification - name: email-notification
environment: environment:
@@ -29,8 +29,8 @@ steps:
image: docker.io/drillster/drone-email:latest image: docker.io/drillster/drone-email:latest
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
@@ -52,7 +52,7 @@ platform:
steps: steps:
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:latest
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
auto_tag: false auto_tag: false
@@ -69,7 +69,7 @@ steps:
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: notify
image: drillster/drone-email image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
@@ -113,7 +113,7 @@ platform:
steps: steps:
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:latest
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
auto_tag: false auto_tag: false
@@ -127,7 +127,7 @@ steps:
no_cache: true no_cache: true
- name: notify - name: notify
image: drillster/drone-email image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
@@ -174,7 +174,7 @@ platform:
steps: steps:
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:latest
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
auto_tag: false auto_tag: false
@@ -188,7 +188,7 @@ steps:
no_cache: true no_cache: true
- name: notify - name: notify
image: drillster/drone-email image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
@@ -235,7 +235,7 @@ platform:
steps: steps:
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:latest
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
auto_tag: false auto_tag: false
@@ -251,7 +251,7 @@ steps:
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: notify
image: drillster/drone-email image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
@@ -294,7 +294,7 @@ platform:
steps: steps:
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:latest
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
auto_tag: false auto_tag: false
@@ -307,7 +307,7 @@ steps:
no_cache: true no_cache: true
- name: notify - name: notify
image: drillster/drone-email image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
@@ -353,7 +353,7 @@ platform:
steps: steps:
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:latest
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
auto_tag: false auto_tag: false
@@ -366,7 +366,7 @@ steps:
no_cache: true no_cache: true
- name: notify - name: notify
image: drillster/drone-email image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
@@ -408,7 +408,7 @@ name: latest-manifest
steps: steps:
- name: build-manifest - name: build-manifest
image: plugins/manifest image: docker.io/plugins/manifest:latest
settings: settings:
auto_tag: false auto_tag: false
ignore_missing: true ignore_missing: true
@@ -431,8 +431,8 @@ steps:
from_secret: smtp_mail_address from_secret: smtp_mail_address
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
@@ -463,7 +463,7 @@ platform:
steps: steps:
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:latest
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
auto_tag: true auto_tag: true
@@ -479,7 +479,7 @@ steps:
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: notify
image: drillster/drone-email image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
@@ -516,7 +516,7 @@ platform:
steps: steps:
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:latest
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
auto_tag: true auto_tag: true
@@ -532,7 +532,7 @@ steps:
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: notify
image: drillster/drone-email image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
@@ -569,7 +569,7 @@ platform:
steps: steps:
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:latest
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
auto_tag: true auto_tag: true
@@ -585,7 +585,7 @@ steps:
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: notify
image: drillster/drone-email image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
@@ -618,7 +618,7 @@ name: tagged-manifest
steps: steps:
- name: build-manifest - name: build-manifest
image: plugins/manifest image: docker.io/plugins/manifest:latest
settings: settings:
auto_tag: true auto_tag: true
ignore_missing: true ignore_missing: true
@@ -641,8 +641,8 @@ steps:
from_secret: smtp_mail_address from_secret: smtp_mail_address
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
@@ -658,58 +658,3 @@ trigger:
- tag - tag
repo: repo:
- volker.raschek/postfixadmin-fetchmail-docker - volker.raschek/postfixadmin-fetchmail-docker
---
kind: pipeline
type: kubernetes
name: sync
platform:
os: linux
arch: amd64
steps:
- name: github
image: docker.io/appleboy/drone-git-push:latest
resources:
limits:
cpu: 50
memory: 25M
settings:
branch: master
remote: ssh://git@github.com/volker-raschek/postfixadmin-fetchmail-docker.git
force: true
ssh_key:
from_secret: ssh_key
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
depends_on:
- latest-manifest
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/postfixadmin-fetchmail-docker

View File

@@ -1,4 +1,4 @@
FROM docker.io/library/alpine:3.15.3 FROM docker.io/library/alpine:3.16.0
RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
RUN apk upgrade RUN apk upgrade

View File

@@ -11,3 +11,4 @@ services:
- DATABASE_PORT=${DATABASE_PORT} - DATABASE_PORT=${DATABASE_PORT}
- DATABASE_NAME=${DATABASE_NAME} - DATABASE_NAME=${DATABASE_NAME}
network_mode: host network_mode: host
privileged: true