Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Build in Drone
Browse files Browse the repository at this point in the history
  • Loading branch information
george-angel committed Mar 31, 2021
1 parent a4fb2ce commit abde482
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
kind: pipeline
type: kubernetes
name: default

steps:
- name: fetch
image: docker:git
commands:
- git fetch --tags

- name: docker-tag
image: alpine
commands:
- test "${DRONE_BRANCH}" == "master" && echo -n "latest," > .tags || true
- test -n "${DRONE_BRANCH}" && test "${DRONE_BRANCH}" != "master" && echo -n "${DRONE_BRANCH}," > .tags || true
- test -n "${DRONE_TAG}" && echo -n "${DRONE_TAG}," >> .tags || true
- sed -i "s/,$//" .tags

- name: docker-publish
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: quay.io/utilitywarehouse/${DRONE_REPO_NAME}
registry: quay.io

trigger:
event:
exclude:
- pull_request
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# fluentd

[![Build Status](https://drone.prod.merit.uw.systems/api/badges/utilitywarehouse/fluentd/status.svg)](https://drone.prod.merit.uw.systems/utilitywarehouse/fluentd)

This repository is used to build a fluentd image that's used to ship logs from
kubernetes nodes.

Expand All @@ -8,7 +10,8 @@ https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/fluentd-elas

# bullseye version

Current official fluentd images based on buster pack an older version of libsystemd that can't read logs from flatcar-2605-09-0 onwards.
Current official fluentd images based on buster pack an older version of
libsystemd that can't read logs from flatcar-2605-09-0 onwards.

As a temporary workaround we are building our own fluentd images from bullseye.

Expand Down

0 comments on commit abde482

Please sign in to comment.