Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit b211bf1

Browse files
authored
Update deps and fix types (#359)
1 parent ba13341 commit b211bf1

File tree

11 files changed

+1765
-2669
lines changed

11 files changed

+1765
-2669
lines changed

.cirrus.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ build_task:
2525
matrix:
2626
- dockerfile: .cirrus/nodejs-12.Dockerfile
2727
- dockerfile: .cirrus/nodejs-14.Dockerfile
28-
- dockerfile: .cirrus/nodejs-15.Dockerfile
28+
- dockerfile: .cirrus/nodejs-16.Dockerfile
29+
- dockerfile: .cirrus/nodejs-18.Dockerfile
2930
<<: *CONTAINER_DEFINITION
3031
cpu: 3
3132
memory: 8G

.cirrus/nodejs-12.Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ FROM eu.gcr.io/release-engineering-ci-prod/base:j11-latest
22

33
USER root
44

5-
ENV NODE_VERSION v12.22.7
5+
ENV NODE_VERSION v12.22.12
66

7-
RUN wget -U "nodejs" -q -O nodejs.tar.xz https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.xz \
8-
&& tar -xJf "nodejs.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
9-
&& rm nodejs.tar.xz \
7+
RUN wget -U "nodejs" -q -O nodejs.tar.gz https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.gz \
8+
&& tar -xzf "nodejs.tar.gz" -C /usr/local --strip-components=1 --no-same-owner \
9+
&& rm nodejs.tar.gz \
1010
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs
1111

12-
RUN curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.3.0.2102.zip" -o /tmp/sonar-scanner.zip \
12+
RUN curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747.zip" -o /tmp/sonar-scanner.zip \
1313
&& unzip -d /opt /tmp/sonar-scanner.zip \
14-
&& mv /opt/sonar-scanner-4.3.0.2102 /opt/sonar-scanner \
14+
&& mv /opt/sonar-scanner-4.7.0.2747 /opt/sonar-scanner \
1515
&& rm /tmp/sonar-scanner.zip
1616

1717
USER sonarsource

.cirrus/nodejs-14.Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ FROM eu.gcr.io/release-engineering-ci-prod/base:j11-latest
22

33
USER root
44

5-
ENV NODE_VERSION v14.15.4
5+
ENV NODE_VERSION v14.20.0
66

7-
RUN wget -U "nodejs" -q -O nodejs.tar.xz https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.xz \
8-
&& tar -xJf "nodejs.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
9-
&& rm nodejs.tar.xz \
7+
RUN wget -U "nodejs" -q -O nodejs.tar.gz https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.gz \
8+
&& tar -xzf "nodejs.tar.gz" -C /usr/local --strip-components=1 --no-same-owner \
9+
&& rm nodejs.tar.gz \
1010
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs
1111

12-
RUN curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.3.0.2102.zip" -o /tmp/sonar-scanner.zip \
12+
RUN curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747.zip" -o /tmp/sonar-scanner.zip \
1313
&& unzip -d /opt /tmp/sonar-scanner.zip \
14-
&& mv /opt/sonar-scanner-4.3.0.2102 /opt/sonar-scanner \
14+
&& mv /opt/sonar-scanner-4.7.0.2747 /opt/sonar-scanner \
1515
&& rm /tmp/sonar-scanner.zip
1616

1717
USER sonarsource

.cirrus/nodejs-15.Dockerfile

Lines changed: 0 additions & 19 deletions
This file was deleted.

.cirrus/nodejs-16.Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM eu.gcr.io/release-engineering-ci-prod/base:j11-latest
2+
3+
USER root
4+
5+
ENV NODE_VERSION v16.16.0
6+
7+
RUN wget -U "nodejs" -q -O nodejs.tar.gz https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.gz \
8+
&& tar -xzf "nodejs.tar.gz" -C /usr/local --strip-components=1 --no-same-owner \
9+
&& rm nodejs.tar.gz \
10+
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs
11+
12+
RUN curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747.zip" -o /tmp/sonar-scanner.zip \
13+
&& unzip -d /opt /tmp/sonar-scanner.zip \
14+
&& mv /opt/sonar-scanner-4.7.0.2747 /opt/sonar-scanner \
15+
&& rm /tmp/sonar-scanner.zip
16+
17+
USER sonarsource
18+
19+
ENV PATH "/opt/sonar-scanner/bin:${PATH}"

.cirrus/nodejs-18.Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM eu.gcr.io/release-engineering-ci-prod/base:j11-latest
2+
3+
USER root
4+
5+
ENV NODE_VERSION v18.6.0
6+
7+
RUN wget -U "nodejs" -q -O nodejs.tar.gz https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.gz \
8+
&& tar -xzf "nodejs.tar.gz" -C /usr/local --strip-components=1 --no-same-owner \
9+
&& rm nodejs.tar.gz \
10+
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs
11+
12+
RUN curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747.zip" -o /tmp/sonar-scanner.zip \
13+
&& unzip -d /opt /tmp/sonar-scanner.zip \
14+
&& mv /opt/sonar-scanner-4.7.0.2747 /opt/sonar-scanner \
15+
&& rm /tmp/sonar-scanner.zip
16+
17+
USER sonarsource
18+
19+
ENV PATH "/opt/sonar-scanner/bin:${PATH}"

0 commit comments

Comments
 (0)