Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.7.1](https://github.com/glopezep/helm/compare/v1.8.0...v1.7.1) (2022-01-24)

## [1.7.0](https://github.com/deliverybot/helm/compare/v1.6.1...v1.7.0) (2021-01-09)


Expand Down
42 changes: 28 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,41 @@
FROM alpine:3.10.2
FROM alpine:3.15

ENV BASE_URL="https://get.helm.sh"

ENV HELM_2_FILE="helm-v2.17.0-linux-amd64.tar.gz"
ENV HELM_3_FILE="helm-v3.4.2-linux-amd64.tar.gz"
ENV HELM_3_FILE="helm-v3.8.0-linux-amd64.tar.gz"

RUN apk add --no-cache ca-certificates \
--repository http://dl-3.alpinelinux.org/alpine/edge/community/ \
jq curl bash nodejs aws-cli && \
# Install helm version 2:
curl -L ${BASE_URL}/${HELM_2_FILE} |tar xvz && \
# Install basic linux tools
RUN apk add --no-cache ca-certificates jq curl bash

# Install node and deps
RUN apk add --no-cache nodejs

# Install Python3
RUN apk add --no-cache python3 py3-pip

# Install Python deps and aws cli
RUN pip3 install --upgrade pip awscli

# Install helm version 2
RUN curl -L ${BASE_URL}/${HELM_2_FILE} |tar xvz && \
mv linux-amd64/helm /usr/bin/helm && \
chmod +x /usr/bin/helm && \
rm -rf linux-amd64 && \
# Install helm version 3:
curl -L ${BASE_URL}/${HELM_3_FILE} |tar xvz && \
rm -rf linux-amd64

# Install helm version 3:
RUN curl -L ${BASE_URL}/${HELM_3_FILE} |tar xvz && \
mv linux-amd64/helm /usr/bin/helm3 && \
chmod +x /usr/bin/helm3 && \
rm -rf linux-amd64 && \
# Init version 2 helm:
helm init --client-only
rm -rf linux-amd64

# Init version 2 helm:
RUN helm init --client-only

# Setup Python path variable
ENV PYTHONPATH "/usr/lib/python3.8/site-packages/"

# Copy node_modules and charts to src
COPY . /usr/src/
ENTRYPOINT ["node", "/usr/src/index.js"]

ENTRYPOINT ["node", "/usr/src/index.js"]
9 changes: 5 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Deliverybot Helm Action
name: Deliverybot Helm Action forked by headout
description: Deploys a helm chart
author: deliverybot
icon: box
color: gray-dark
author: headout
branding:
icon: arrow-right
color: purple
inputs:
release:
description: Helm release name. Will be combined with track if set. (required)
Expand Down
Loading