Skip to content

Commit 1e67db8

Browse files
Merge pull request #635 from snyk/chore/install-helm
chore: install helm from package manager
2 parents c84d91e + d1d1727 commit 1e67db8

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

.circleci/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
commands:
2+
install_helm:
3+
description: Install requests library
4+
steps:
5+
- run:
6+
command: |
7+
export DEBIAN_FRONTEND=noninteractive
8+
curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
9+
sudo apt-get install -y apt-transport-https
10+
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
11+
sudo apt-get update -qq
12+
sudo apt-get install -y helm
13+
name: Install Helm
214
install_python_requests:
315
description: Install requests library
416
steps:
@@ -556,6 +568,7 @@ jobs:
556568
- checkout
557569
- setup_remote_docker
558570
- install_python_requests
571+
- install_helm
559572
- run:
560573
command: |
561574
LATEST_TAG_WITH_V=`git describe --abbrev=0 --tags ${CIRCLE_SHA1}` &&
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
description: Install requests library
2+
steps:
3+
- run:
4+
name: Install Helm
5+
command: |
6+
export DEBIAN_FRONTEND=noninteractive
7+
curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
8+
sudo apt-get install -y apt-transport-https
9+
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
10+
sudo apt-get update -qq
11+
sudo apt-get install -y helm

.circleci/config/jobs/@jobs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ publish:
365365
- checkout
366366
- setup_remote_docker
367367
- install_python_requests
368+
- install_helm
368369
- run:
369370
name: Publish
370371
command: |

scripts/publish-gh-pages.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ sed -i "s/IMAGE_TAG_OVERRIDE_WHEN_PUBLISHING/${NEW_TAG}/g" ./snyk-monitor/values
2828
sed -i "s/IMAGE_TAG_OVERRIDE_WHEN_PUBLISHING/${NEW_TAG}/g" ./snyk-monitor-deployment.yaml
2929

3030
echo building new helm release
31-
./helm init --client-only
32-
./helm package snyk-monitor --version ${NEW_TAG}
33-
./helm repo index .
31+
helm init --client-only
32+
helm package snyk-monitor --version ${NEW_TAG}
33+
helm repo index .
3434

3535
echo publishing to gh-pages
3636
git add index.yaml

0 commit comments

Comments
 (0)