diff --git a/CHANGELOG.md b/CHANGELOG.md index 99de86a..a8d30f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,7 +47,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Node.js runtime has been updated to v10.9.0 - Included Helm binary has been updated to v2.10.0. -- All NPM (dev/runtime) dependencies have been updated to their respective latest versions +- All NPM (dev/runtime) dependencies have been updated to their respective latest + versions ### Changed @@ -64,8 +65,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed -- Chart re-deployments are now handled correctly and the `check` action is being triggered - if only the digest of a chart (and not it's version) has been changed +- Chart re-deployments are now handled correctly and the `check` action is being + triggered if only the digest of a chart (and not it's version) has been changed ## [0.1.1] - 2018-01-15 @@ -77,4 +78,5 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added -- First public version. Implementation of the `check` and `in` actions have been done so far. \ No newline at end of file +- First public version. Implementation of the `check` and `in` actions have been + done so far. diff --git a/Dockerfile b/Dockerfile index 3b99e5e..9a2505b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:10.13.0 as builder +FROM node:11.8.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.11.0-linux-amd64.tar.gz" RUN curl -s -j -k -L "${HELM_DOWNLOAD_URL}" > /tmp/helm.tar.gz @@ -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:10.13.0-alpine +FROM node:11.8.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" @@ -27,7 +27,7 @@ ENV PATH="/usr/local/bin:/usr/bin:/bin" RUN helm init --client-only LABEL maintainer="Benjamin P. Jung " \ version="0.4.3-pre" \ - org.concourse-ci.target-version="4.2.1" \ + org.concourse-ci.target-version="4.2.2" \ 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" diff --git a/package-lock.json b/package-lock.json index e4f3bf3..442a88d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,9 +28,9 @@ "dev": true }, "@types/node": { - "version": "10.12.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.10.tgz", - "integrity": "sha512-8xZEYckCbUVgK8Eg7lf5Iy4COKJ5uXlnIOnePN0WUwSQggy9tolM+tDJf7wMOnT/JT/W9xDYIaYggt3mRV2O5w==", + "version": "10.12.19", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.19.tgz", + "integrity": "sha512-2NVovndCjJQj6fUUn9jCgpP4WSqr+u1SoUZMZyJkhGeBFsm6dE46l31S7lPUYt9uQ28XI+ibrJA1f5XyH5HNtA==", "dev": true }, "@types/node-fetch": { @@ -161,11 +161,26 @@ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "rimraf": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", - "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "requires": { - "glob": "^7.0.5" + "glob": "^7.1.3" + }, + "dependencies": { + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } } }, "semver": { @@ -187,9 +202,9 @@ } }, "typescript": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.1.6.tgz", - "integrity": "sha512-tDMYfVtvpb96msS1lDX9MEdHrW4yOuZ4Kdc4Him9oU796XldPYF/t2+uKoX0BBa0hXXwDlqYQbXY5Rzjzc5hBA==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.2.4.tgz", + "integrity": "sha512-0RNDbSdEokBeEAkgNbxJ+BLwSManFy9TeXz8uW+48j/xhEXv1ePME60olyzw2XzUqUBNAYFeJadIqAgNqIACwg==", "dev": true }, "wrappy": { diff --git a/package.json b/package.json index 8e0406d..933f477 100644 --- a/package.json +++ b/package.json @@ -5,19 +5,19 @@ "main": "./index.js", "dependencies": { "node-fetch": "^2.3.0", - "rimraf": "^2.6.2", + "rimraf": "^2.6.3", "semver": "^5.6.0", "tmp": "^0.0.33", "yamljs": "^0.3.0" }, "devDependencies": { - "@types/node": "^10.12.0", + "@types/node": "^10.12.19", "@types/node-fetch": "^2.1.4", "@types/rimraf": "^2.0.2", "@types/semver": "^5.5.0", "@types/tmp": "^0.0.33", "@types/yamljs": "^0.2.30", - "typescript": "^3.1.6" + "typescript": "^3.2.4" }, "scripts": { "build": "tsc",