Skip to content

Commit

Permalink
Update all dependencies and bundled Helm binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
headcr4sh committed Jun 16, 2019
1 parent 2616a0e commit 9bfda1c
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 47 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.6.0] - 2019-06-16

### Updated

- Node.js runtime has been updated to v12.4.0
- Included Helm binary has been updated to v2.14.1

## [0.5.0] - 2019-01-29

### Updated
Expand Down
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:11.8.0 as builder
FROM node:12.4.0 as builder
RUN apt-get -y update && apt-get -y install curl gzip tar unzip
ARG HELM_DOWNLOAD_URL="https://storage.googleapis.com/kubernetes-helm/helm-v2.12.3-linux-amd64.tar.gz"
ARG HELM_DOWNLOAD_URL="https://get.helm.sh/helm-v2.14.1-linux-amd64.tar.gz"
RUN curl -s -j -k -L "${HELM_DOWNLOAD_URL}" > /tmp/helm.tar.gz
RUN echo "3425a1b37954dabdf2ba37d5d8a0bd24a225bb8454a06f12b115c55907809107 /tmp/helm.tar.gz" | sha256sum -c
RUN echo "804f745e6884435ef1343f4de8940f9db64f935cd9a55ad3d9153d064b7f5896 /tmp/helm.tar.gz" | sha256sum -c
RUN mkdir -p /data
WORKDIR /data
RUN gunzip -c "/tmp/helm.tar.gz" | tar -xf - \
Expand All @@ -13,7 +13,7 @@ COPY . /src
WORKDIR /src
RUN npm -s install && npm -s run build && npm -s test && npm -s pack && mv cathive-concourse-chartmuseum-resource-*.tgz /data/cathive-concourse-chartmuseum-resource.tgz

FROM node:11.8.0-alpine
FROM node:12.4.0-alpine
RUN apk add --no-cache gnupg ca-certificates
COPY --from=builder "/data/helm" "/usr/local/bin/helm"
COPY --from=builder "/data/cathive-concourse-chartmuseum-resource.tgz" "/tmp/cathive-concourse-chartmuseum-resource.tgz"
Expand All @@ -26,8 +26,8 @@ RUN npm -s install -g /tmp/cathive-concourse-chartmuseum-resource.tgz \
ENV PATH="/usr/local/bin:/usr/bin:/bin"
RUN helm init --client-only
LABEL maintainer="Benjamin P. Jung <headcr4sh@gmail.com>" \
version="0.5.0" \
org.concourse-ci.target-version="4.2.2" \
version="0.6.0" \
org.concourse-ci.target-version="5.3.0" \
org.concourse-ci.resource-id="chartmuseum" \
org.concourse-ci.resource-name="ChartMuseum package management" \
org.concourse-ci.resource-homepage="https://github.com/cathive/concourse-chartmuseum-resource"
2 changes: 1 addition & 1 deletion out.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export default async function out(): Promise<{ data: Object, cleanupCallback: ((

(async () => {
process.on("unhandledRejection", err => {
process.stderr.write(err);
process.stderr.write(err != null ? err.toString() : "UNKNOWN ERROR");
process.exit(-1);
});
try {
Expand Down
57 changes: 26 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"private": true,
"name": "@cathive/concourse-chartmuseum-resource",
"version": "0.5.0",
"version": "0.6.0",
"main": "./index.js",
"dependencies": {
"node-fetch": "^2.3.0",
"node-fetch": "^2.6.0",
"rimraf": "^2.6.3",
"semver": "^5.6.0",
"tmp": "^0.0.33",
"semver": "^6.1.1",
"tmp": "^0.1.0",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@types/node": "^10.12.19",
"@types/node-fetch": "^2.1.4",
"@types/node": "^12.0.8",
"@types/node-fetch": "^2.3.7",
"@types/rimraf": "^2.0.2",
"@types/semver": "^5.5.0",
"@types/tmp": "^0.0.33",
"@types/semver": "^6.0.0",
"@types/tmp": "^0.1.0",
"@types/yamljs": "^0.2.30",
"typescript": "^3.2.4"
"typescript": "^3.5.2"
},
"scripts": {
"build": "tsc",
Expand Down

0 comments on commit 9bfda1c

Please sign in to comment.