Compare commits

..

10 Commits

Author SHA1 Message Date
f94e2dc770 Merge pull request 'chore(deps): update dependency helm/helm to v3.8.2' (#10) from renovate/helm-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
2022-05-11 08:16:25 +00:00
142144ecf5 chore(deps): update dependency helm/helm to v3.8.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-11 09:31:41 +02:00
dffd6eb068 fix(ci): use gitea to sync repo with github
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-03 17:42:23 +02:00
ff5b969f5f fix(ci): renovate search condition
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-14 22:00:49 +02:00
82058c1b30 fix: bump to 3.8.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-14 15:38:01 +02:00
4c77747a2c Merge pull request 'chore(deps): update docker.io/library/alpine docker tag to v3.15' (#7) from renovate/docker.io-library-alpine-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #7
2022-03-16 17:16:47 +00:00
acd9f0d686 Merge branch 'master' into renovate/docker.io-library-alpine-3.x
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-02-09 21:36:56 +00:00
19a7d4a67e chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.31.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-02-09 22:35:09 +01:00
e2eb729cec fix: install helm via installation script
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-09 22:29:24 +01:00
93fbf00b17 chore(deps): update docker.io/library/alpine docker tag to v3.15
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-02-01 09:01:10 +00:00
4 changed files with 12 additions and 100 deletions

View File

@ -10,7 +10,7 @@ steps:
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.30.0
image: docker.io/volkerraschek/markdownlint:0.31.1
resources:
limits:
cpu: 50
@ -682,58 +682,3 @@ trigger:
- tag
repo:
- volker.raschek/helm-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/helm-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/helm-docker

View File

@ -1,11 +1,16 @@
FROM docker.io/library/alpine:3.14
FROM docker.io/library/alpine:3.15
ARG HELM_VERSION
COPY install.sh /install.sh
RUN VERSION=${HELM_VERSION} /install.sh
RUN apk add bash curl git openssl && \
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 --output /tmp/install.sh
RUN [[ ${HELM_VERSION} == "" ]]; bash /tmp/install.sh
RUN [[ ${HELM_VERSION} != "" ]]; bash /tmp/install.sh --version ${HELM_VERSION}
RUN rm /tmp/install.sh
# Install additionally cm-push plugin
RUN helm plugin install https://github.com/chartmuseum/helm-push.git
ENTRYPOINT [ "/usr/bin/helm" ]
ENTRYPOINT [ "/usr/local/bin/helm" ]

View File

@ -1,6 +1,6 @@
# HELM_VERSION
# Only required to install a specifiy version
HELM_VERSION?=v3.8.0 # renovate: datasource=github-releases depName=helm lookupName=helm/helm versioning=semver
HELM_VERSION?=v3.8.2 # renovate: datasource=github-releases depName=helm/helm
# CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a
@ -49,4 +49,4 @@ container-image/push:
# ==============================================================================
# Declare the contents of the PHONY variable as phony. We keep that information
# in a variable so we can use it in if_changed.
.PHONY: ${PHONY}
.PHONY: ${PHONY}

View File

@ -1,38 +0,0 @@
#!/bin/sh
set -xe
BASE_URL=https://get.helm.sh
if [ -z ${VERSION+x} ]; then
echo ${VERSION} not defined
exit 1
fi
case `uname -m` in
x86_64)
ARCH=amd64
;;
armv7l)
ARCH=arm
;;
aarch64)
ARCH=arm64
;;
ppc64le)
ARCH=ppc64le
;;
s390x)
ARCH=s390x
;;
*)
echo "un-supported arch, exit ..."
exit 1
;;
esac
apk add --update --no-cache wget git
wget ${BASE_URL}/helm-${VERSION}-linux-${ARCH}.tar.gz -O - | tar -xz
mv linux-${ARCH}/helm /usr/bin/helm
chmod +x /usr/bin/helm
rm -rf linux-${ARCH}