Skip to content

Commit e4cec22

Browse files
committed
Use new codecov uploader
1 parent e936fde commit e4cec22

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.gitpod.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
image:
2-
file: dev/image/Dockerfile
1+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aledbf-trigger.4
32
workspaceLocation: gitpod/gitpod-ws.code-workspace
43
checkoutLocation: gitpod
54
ports:

dev/image/Dockerfile

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN curl -fsSL https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 > $CLO
2121

2222
### Helm3 ###
2323
RUN mkdir -p /tmp/helm/ \
24-
&& curl -fsSL https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz | tar -xzvC /tmp/helm/ --strip-components=1 \
24+
&& curl -fsSL https://get.helm.sh/helm-v3.6.0-linux-amd64.tar.gz | tar -xzvC /tmp/helm/ --strip-components=1 \
2525
&& cp /tmp/helm/helm /usr/local/bin/helm \
2626
&& cp /tmp/helm/helm /usr/local/bin/helm3 \
2727
&& rm -rf /tmp/helm/ \
@@ -123,20 +123,13 @@ ENV GOFLAGS="-mod=readonly"
123123
## Register leeway autocompletion in bashrc
124124
RUN bash -c "echo . \<\(leeway bash-completion\) >> ~/.bashrc"
125125

126-
# Install pulumi
127-
RUN curl -fsSL https://get.pulumi.com/releases/sdk/pulumi-v1.9.1-linux-x64.tar.gz | tar xvzC . \
128-
&& mkdir -p /home/gitpod/.pulumi/bin \
129-
&& mv pulumi/* /home/gitpod/.pulumi/bin \
130-
&& echo "export PATH=\$PATH:/home/gitpod/.pulumi/bin" >> /home/gitpod/.bashrc \
131-
&& rm -Rf ./pulumi
132-
133126
### Google Cloud ###
134127
# not installed via repository as then 'docker-credential-gcr' is not available
135128
ARG GCS_DIR=/opt/google-cloud-sdk
136129
ENV PATH=$GCS_DIR/bin:$PATH
137130
RUN sudo chown gitpod: /opt \
138131
&& mkdir $GCS_DIR \
139-
&& curl -fsSL https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-245.0.0-linux-x86_64.tar.gz \
132+
&& curl -fsSL https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-344.0.0-linux-x86_64.tar.gz \
140133
| tar -xzvC /opt \
141134
&& /opt/google-cloud-sdk/install.sh --quiet --usage-reporting=false --bash-completion=true \
142135
--additional-components docker-credential-gcr alpha beta \
@@ -191,3 +184,8 @@ RUN mkdir -p ~/.terraform \
191184
RUN sudo install-packages graphviz
192185

193186
ENV PATH=$PATH:$HOME/.aws-iam:$HOME/.terraform
187+
188+
# Install codecov uploader
189+
# https://about.codecov.io/blog/introducing-codecovs-new-uploader
190+
RUN sudo curl -fsSL https://uploader.codecov.io/latest/codecov-linux -o /usr/local/bin/codecov \
191+
&& sudo chmod +x /usr/local/bin/codecov

0 commit comments

Comments
 (0)