Skip to content

Commit

Permalink
[dev] Bump helm to ~3.5.2~ ... (#3111)
Browse files Browse the repository at this point in the history
* [dev] Bump helm to 3.5.2

* [chart] Use chart version during build

* [dev] Update dev image
  • Loading branch information
geropl authored Feb 22, 2021
1 parent 613c299 commit 9ae4251
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:csweichel-leeway-vet-ignore-warnings-2986.0
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:gpl-bump-helm.12
workspaceLocation: gitpod/gitpod-ws.theia-workspace
checkoutLocation: gitpod
ports:
Expand Down
2 changes: 1 addition & 1 deletion .werft/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pod:
- name: MYSQL_TCP_PORT
value: 23306
- name: build
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:csweichel-leeway-vet-ignore-warnings-2986.0
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:gpl-bump-helm.12
workingDir: /workspace
imagePullPolicy: Always
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion .werft/wipe-devstaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pod:
secretName: gcp-sa-gitpod-dev-deployer
containers:
- name: wipe-devstaging
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:csweichel-leeway-vet-ignore-warnings-2986.0
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:gpl-bump-helm.12
workingDir: /workspace
imagePullPolicy: Always
volumeMounts:
Expand Down
3 changes: 2 additions & 1 deletion chart/BUILD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ packages:
config:
commands:
# set values
- ["yq", "w", "-i", "Chart.yaml", "version", "${version}"]
# Chart.version has to be semver compliant
- ["sh", "-c", "yq w -i Chart.yaml version 0.1.0-${version}"]
- ["yq", "w", "-i", "values.yaml", "version", "${version}"]
- ["yq", "w", "-i", "values.yaml", "imagePrefix", "${imageRepoBase}/"]
# prepare chart
Expand Down
5 changes: 3 additions & 2 deletions dev/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ RUN curl -fsSL https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 > $CLO

### Helm3 ###
RUN mkdir -p /tmp/helm/ \
&& curl -fsSL https://get.helm.sh/helm-v3.0.3-linux-amd64.tar.gz | tar -xzvC /tmp/helm/ --strip-components=1 \
&& curl -fsSL https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz | tar -xzvC /tmp/helm/ --strip-components=1 \
&& cp /tmp/helm/helm /usr/local/bin/helm \
&& cp /tmp/helm/helm /usr/local/bin/helm3 \
&& rm -rf /tmp/helm/
&& rm -rf /tmp/helm/ \
&& helm completion bash > /usr/share/bash-completion/completions/helm

### kubernetes ###
RUN mkdir -p /usr/local/kubernetes/ && \
Expand Down

0 comments on commit 9ae4251

Please sign in to comment.