From 81670ee0d98f717235f241a432a133da4c7d4e6e Mon Sep 17 00:00:00 2001 From: Guillermo Lopez Date: Mon, 24 Jan 2022 08:39:02 -0400 Subject: [PATCH 01/13] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8679e0ea..3775c17e 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,6 @@ name: Deliverybot Helm Action description: Deploys a helm chart -author: deliverybot +author: glopezep icon: box color: gray-dark inputs: From b5de38e82464cd49691a9a28a39da3f746f2abc8 Mon Sep 17 00:00:00 2001 From: Guillermo Lopez Date: Mon, 24 Jan 2022 08:41:12 -0400 Subject: [PATCH 02/13] Update action --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3775c17e..faf8c71f 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: Deliverybot Helm Action +name: Deliverybot Helm Action forked by glopezep description: Deploys a helm chart author: glopezep icon: box From 226c22421a235db6271606684505c1852d08eff8 Mon Sep 17 00:00:00 2001 From: Guillermo Lopez Date: Mon, 24 Jan 2022 08:45:13 -0400 Subject: [PATCH 03/13] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d9595117..67156d4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.10.2 +FROM alpine:3.15 ENV BASE_URL="https://get.helm.sh" From 367099eeee86f65f5df662cbfc0777e29a0e40a5 Mon Sep 17 00:00:00 2001 From: Guillermo Date: Mon, 24 Jan 2022 08:51:38 -0400 Subject: [PATCH 04/13] chore(release): 1.7.1 --- CHANGELOG.md | 2 + package-lock.json | 422 +++++++++++++++++++++++++++++++++++++++++++++- package.json | 8 +- 3 files changed, 426 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54c85f09..3f4aa00a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package-lock.json b/package-lock.json index 37cc6a4a..c4fd291a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,8 +1,426 @@ { "name": "status", - "version": "1.7.0", - "lockfileVersion": 1, + "version": "1.7.1", + "lockfileVersion": 2, "requires": true, + "packages": { + "": { + "name": "status", + "version": "1.7.1", + "license": "MIT", + "dependencies": { + "@actions/core": "^1.2.6", + "@actions/exec": "^1.0.0", + "@actions/github": "^1.0.0", + "mustache": "^3.0.3" + } + }, + "node_modules/@actions/core": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.6.tgz", + "integrity": "sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==" + }, + "node_modules/@actions/exec": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.0.tgz", + "integrity": "sha512-nquH0+XKng+Ll7rZfCojN7NWSbnGh+ltwUJhzfbLkmOJgxocGX2/yXcZLMyT9fa7+tByEow/NSTrBExNlEj9fw==" + }, + "node_modules/@actions/github": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-1.0.0.tgz", + "integrity": "sha512-PPbWZ5wFAD/Vr+RCECfR3KNHjTwYln4liJBihs9tQUL0/PCFqB2lSkIh9V94AcZFHxgKk8snImjuLaBE8bKR7A==", + "dependencies": { + "@octokit/graphql": "^2.0.1", + "@octokit/rest": "^16.15.0" + } + }, + "node_modules/@octokit/endpoint": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.3.2.tgz", + "integrity": "sha512-gRjteEM9I6f4D8vtwU2iGUTn9RX/AJ0SVXiqBUEuYEWVGGAVjSXdT0oNmghH5lvQNWs8mwt6ZaultuG6yXivNw==", + "dependencies": { + "deepmerge": "4.0.0", + "is-plain-object": "^3.0.0", + "universal-user-agent": "^3.0.0", + "url-template": "^2.0.8" + } + }, + "node_modules/@octokit/endpoint/node_modules/universal-user-agent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz", + "integrity": "sha512-T3siHThqoj5X0benA5H0qcDnrKGXzU8TKoX15x/tQHw1hQBvIEBHjxQ2klizYsqBOO/Q+WuxoQUihadeeqDnoA==", + "dependencies": { + "os-name": "^3.0.0" + } + }, + "node_modules/@octokit/graphql": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz", + "integrity": "sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==", + "dependencies": { + "@octokit/request": "^5.0.0", + "universal-user-agent": "^2.0.3" + } + }, + "node_modules/@octokit/request": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.0.2.tgz", + "integrity": "sha512-z1BQr43g4kOL4ZrIVBMHwi68Yg9VbkRUyuAgqCp1rU3vbYa69+2gIld/+gHclw15bJWQnhqqyEb7h5a5EqgZ0A==", + "dependencies": { + "@octokit/endpoint": "^5.1.0", + "@octokit/request-error": "^1.0.1", + "deprecation": "^2.0.0", + "is-plain-object": "^3.0.0", + "node-fetch": "^2.3.0", + "once": "^1.4.0", + "universal-user-agent": "^3.0.0" + } + }, + "node_modules/@octokit/request-error": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.0.4.tgz", + "integrity": "sha512-L4JaJDXn8SGT+5G0uX79rZLv0MNJmfGa4vb4vy1NnpjSnWDLJRy6m90udGwvMmavwsStgbv2QNkPzzTCMmL+ig==", + "dependencies": { + "deprecation": "^2.0.0", + "once": "^1.4.0" + } + }, + "node_modules/@octokit/request/node_modules/universal-user-agent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz", + "integrity": "sha512-T3siHThqoj5X0benA5H0qcDnrKGXzU8TKoX15x/tQHw1hQBvIEBHjxQ2klizYsqBOO/Q+WuxoQUihadeeqDnoA==", + "dependencies": { + "os-name": "^3.0.0" + } + }, + "node_modules/@octokit/rest": { + "version": "16.28.7", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.28.7.tgz", + "integrity": "sha512-cznFSLEhh22XD3XeqJw51OLSfyL2fcFKUO+v2Ep9MTAFfFLS1cK1Zwd1yEgQJmJoDnj4/vv3+fGGZweG+xsbIA==", + "dependencies": { + "@octokit/request": "^5.0.0", + "@octokit/request-error": "^1.0.2", + "atob-lite": "^2.0.0", + "before-after-hook": "^2.0.0", + "btoa-lite": "^1.0.0", + "deprecation": "^2.0.0", + "lodash.get": "^4.4.2", + "lodash.set": "^4.3.2", + "lodash.uniq": "^4.5.0", + "octokit-pagination-methods": "^1.1.0", + "once": "^1.4.0", + "universal-user-agent": "^3.0.0", + "url-template": "^2.0.8" + } + }, + "node_modules/@octokit/rest/node_modules/universal-user-agent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz", + "integrity": "sha512-T3siHThqoj5X0benA5H0qcDnrKGXzU8TKoX15x/tQHw1hQBvIEBHjxQ2klizYsqBOO/Q+WuxoQUihadeeqDnoA==", + "dependencies": { + "os-name": "^3.0.0" + } + }, + "node_modules/atob-lite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz", + "integrity": "sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY=" + }, + "node_modules/before-after-hook": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.1.0.tgz", + "integrity": "sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A==" + }, + "node_modules/btoa-lite": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz", + "integrity": "sha1-M3dm2hWAEhD92VbCLpxokaudAzc=" + }, + "node_modules/cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "node_modules/deepmerge": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.0.0.tgz", + "integrity": "sha512-YZ1rOP5+kHor4hMAH+HRQnBQHg+wvS1un1hAOuIcxcBy0hzcUf6Jg2a1w65kpoOUnurOfZbERwjI1TfZxNjcww==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "node_modules/end-of-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", + "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/execa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", + "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "dependencies": { + "cross-spawn": "^6.0.0", + "get-stream": "^4.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/is-plain-object": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz", + "integrity": "sha512-tZIpofR+P05k8Aocp7UI/2UTa9lTJSebCXpFFoR9aibpokDj/uXBsJ8luUu0tTVYKkMU6URDUuOfJZ7koewXvg==", + "dependencies": { + "isobject": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + }, + "node_modules/isobject": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", + "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" + }, + "node_modules/lodash.set": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", + "integrity": "sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM=" + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=" + }, + "node_modules/macos-release": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.3.0.tgz", + "integrity": "sha512-OHhSbtcviqMPt7yfw5ef5aghS2jzFVKEFyCJndQt2YpSQ9qRVSEv2axSJI1paVThEu+FFGs584h/1YhxjVqajA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/mustache": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-3.0.3.tgz", + "integrity": "sha512-vM5FkMHamTYmVYeAujypihuPrJQDtaUIlKeeVb1AMJ73OZLtWiF7GprqrjxD0gJWT53W9JfqXxf97nXQjMQkqA==", + "bin": { + "mustache": "bin/mustache" + }, + "engines": { + "npm": ">=1.4.0" + } + }, + "node_modules/nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" + }, + "node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dependencies": { + "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/octokit-pagination-methods": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz", + "integrity": "sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ==" + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/os-name": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz", + "integrity": "sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg==", + "dependencies": { + "macos-release": "^2.2.0", + "windows-release": "^3.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "engines": { + "node": ">=4" + } + }, + "node_modules/path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "engines": { + "node": ">=4" + } + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dependencies": { + "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" + }, + "node_modules/strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/universal-user-agent": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-2.1.0.tgz", + "integrity": "sha512-8itiX7G05Tu3mGDTdNY2fB4KJ8MgZLS54RdG6PkkfwMAavrXu1mV/lls/GABx9O3Rw4PnTtasxrvbMQoBYY92Q==", + "dependencies": { + "os-name": "^3.0.0" + } + }, + "node_modules/url-template": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz", + "integrity": "sha1-/FZaPMy/93MMd19WQflVV5FDnyE=" + }, + "node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/windows-release": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.2.0.tgz", + "integrity": "sha512-QTlz2hKLrdqukrsapKsINzqMgOUpQW268eJ0OaOpJN32h272waxR9fkB9VoWRtK7uKHG5EHJcTXQBD8XZVJkFA==", + "dependencies": { + "execa": "^1.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + } + }, "dependencies": { "@actions/core": { "version": "1.2.6", diff --git a/package.json b/package.json index fcf252ad..abb16283 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "status", - "version": "1.7.0", + "version": "1.7.1", "main": "index.js", "license": "MIT", - "homepage": "https://github.com/deliverybot/helm", + "homepage": "https://github.com/glopezep/helm", "author": { - "name": "deliverybot", - "url": "https://github.com/deliverybot" + "name": "glopezep", + "url": "https://github.com/glopezep" }, "dependencies": { "@actions/core": "^1.2.6", From 39b627917ed1bbf16a3ec64c0d6eb37b437616db Mon Sep 17 00:00:00 2001 From: Somesh Koli Date: Thu, 4 Aug 2022 00:22:50 +0530 Subject: [PATCH 05/13] fix aws-cli not found issue Signed-off-by: Somesh Koli --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 67156d4c..c6bf23a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,12 @@ 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.6.3-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 && \ + apk add --no-cache aws-cli && \ # Install helm version 2: curl -L ${BASE_URL}/${HELM_2_FILE} |tar xvz && \ mv linux-amd64/helm /usr/bin/helm && \ From 6f94fa19be29e59e6b5370a21367b223a26737cb Mon Sep 17 00:00:00 2001 From: Somesh Koli Date: Thu, 4 Aug 2022 00:33:24 +0530 Subject: [PATCH 06/13] change author name Signed-off-by: Somesh Koli --- action.yml | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index faf8c71f..b7bfd3e2 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: Deliverybot Helm Action forked by glopezep +name: Deliverybot Helm Action forked by headout description: Deploys a helm chart author: glopezep icon: box diff --git a/package.json b/package.json index abb16283..fc3a8cf5 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "version": "1.7.1", "main": "index.js", "license": "MIT", - "homepage": "https://github.com/glopezep/helm", + "homepage": "https://github.com/headout/helm", "author": { - "name": "glopezep", - "url": "https://github.com/glopezep" + "name": "headout", + "url": "https://github.com/headout" }, "dependencies": { "@actions/core": "^1.2.6", From 33e6e934436da4827bbb71c46fa45ba1b9ebe764 Mon Sep 17 00:00:00 2001 From: Somesh Koli Date: Thu, 4 Aug 2022 00:36:33 +0530 Subject: [PATCH 07/13] fix icon names Signed-off-by: Somesh Koli --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index b7bfd3e2..a5f9cdef 100644 --- a/action.yml +++ b/action.yml @@ -1,8 +1,8 @@ name: Deliverybot Helm Action forked by headout description: Deploys a helm chart -author: glopezep -icon: box -color: gray-dark +author: headout +icon: arrow-right +color: purple inputs: release: description: Helm release name. Will be combined with track if set. (required) From e846f0c41fe88bc656f03860bfa1fe717bdf19f6 Mon Sep 17 00:00:00 2001 From: Somesh Koli Date: Thu, 4 Aug 2022 00:38:33 +0530 Subject: [PATCH 08/13] fix icon names Signed-off-by: Somesh Koli --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index a5f9cdef..cf4e491a 100644 --- a/action.yml +++ b/action.yml @@ -1,8 +1,9 @@ name: Deliverybot Helm Action forked by headout description: Deploys a helm chart author: headout -icon: arrow-right -color: purple +branding: + icon: arrow-right + color: purple inputs: release: description: Helm release name. Will be combined with track if set. (required) From d7078cb9432c34ab6ffb5f50c132febd541646a8 Mon Sep 17 00:00:00 2001 From: Somesh Koli Date: Thu, 4 Aug 2022 00:45:20 +0530 Subject: [PATCH 09/13] Install pip module Signed-off-by: Somesh Koli --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index c6bf23a0..e95f7780 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,13 @@ RUN apk add --no-cache ca-certificates \ --repository http://dl-3.alpinelinux.org/alpine/edge/community/ \ jq curl bash nodejs aws-cli && \ apk add --no-cache aws-cli && \ + apk add --no-cache \ + python3 \ + py3-pip \ + && pip3 install --upgrade pip \ + && pip3 install --no-cache-dir \ + awscli \ + && rm -rf /var/cache/apk/* && \ # Install helm version 2: curl -L ${BASE_URL}/${HELM_2_FILE} |tar xvz && \ mv linux-amd64/helm /usr/bin/helm && \ From f983947679e5ba1bdad897782f270a146fd1ba2e Mon Sep 17 00:00:00 2001 From: Somesh Koli Date: Thu, 4 Aug 2022 15:01:07 +0530 Subject: [PATCH 10/13] remove wait from helm3 command Signed-off-by: Somesh Koli --- tests/scenarios/helm3.sh.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scenarios/helm3.sh.snap b/tests/scenarios/helm3.sh.snap index 158a3800..b0bd51d3 100644 --- a/tests/scenarios/helm3.sh.snap +++ b/tests/scenarios/helm3.sh.snap @@ -17,6 +17,6 @@ ::debug::param: atomic = "true" ::debug::env: KUBECONFIG="undefined" ::debug::rendering value files [./values.yml] with: {"secrets":{"secret":"val"}} -[command]helm3 upgrade app /usr/src/charts/app --install --wait --namespace=default --set=app.name=app --set=app.version=1234 --values=./values.yml --atomic -helm upgrade app /usr/src/charts/app --install --wait --namespace=default --set=app.name=app --set=app.version=1234 --values=./values.yml --atomic +[command]helm3 upgrade app /usr/src/charts/app --install --namespace=default --set=app.name=app --set=app.version=1234 --values=./values.yml --atomic +helm upgrade app /usr/src/charts/app --install --namespace=default --set=app.name=app --set=app.version=1234 --values=./values.yml --atomic ::debug::not setting deployment status From 8728883ea9be98c8fa13190dbd85a47f22b9748d Mon Sep 17 00:00:00 2001 From: Somesh Koli Date: Mon, 8 Aug 2022 19:18:58 +0530 Subject: [PATCH 11/13] upgrade helm3 version Signed-off-by: Somesh Koli --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e95f7780..1f709645 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ 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.6.3-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/ \ From 7469cb6f5caf56d6ba0c2fa294870b35318a472e Mon Sep 17 00:00:00 2001 From: Amit Meena <29653282+im-Amitto@users.noreply.github.com> Date: Sat, 18 Feb 2023 13:22:42 +0530 Subject: [PATCH 12/13] clean Dockerfile and lib fix --- Dockerfile | 49 +++++++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f709645..591c0160 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,31 +5,40 @@ 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.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 && \ - apk add --no-cache aws-cli && \ - apk add --no-cache \ - python3 \ - py3-pip \ - && pip3 install --upgrade pip \ - && pip3 install --no-cache-dir \ - awscli \ - && rm -rf /var/cache/apk/* && \ - # 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 Aws CLI +RUN apk add --no-cache aws-cli + +# Install Python3 +RUN apk add --no-cache python3 py3-pip + +# Install Python deps +RUN pip3 install --upgrade pip + +# 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"] \ No newline at end of file From f0fc61a77111cde65a250222ad3c1ca8a78f64cb Mon Sep 17 00:00:00 2001 From: Amit Meena <29653282+im-Amitto@users.noreply.github.com> Date: Sat, 18 Feb 2023 15:02:49 +0530 Subject: [PATCH 13/13] bump aws cli --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 591c0160..500f7aeb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,14 +11,11 @@ RUN apk add --no-cache ca-certificates jq curl bash # Install node and deps RUN apk add --no-cache nodejs -# Install Aws CLI -RUN apk add --no-cache aws-cli - # Install Python3 RUN apk add --no-cache python3 py3-pip -# Install Python deps -RUN pip3 install --upgrade 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 && \