Skip to content

Commit

Permalink
chore: Upgrade Yarn to 1.22.22 from 1.22.19
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Sep 11, 2024
1 parent c20c81f commit 1865798
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
run: CUBESTORE_SKIP_POST_INSTALL=true yarn install --frozen-lockfile
- name: Build client
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/drivers-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Install Yarn
run: npm install -g yarn
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Install cargo-cp-artifact
run: npm install -g [email protected]
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
node-version: 20.x

- name: Configure `yarn`
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Install Yarn
run: npm install -g yarn
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
# We don't need to install all yarn deps to build native
- name: Install cargo-cp-artifact
run: npm install -g [email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
restore-keys: |
${{ runner.os }}-workspace-main-20.x-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
restore-keys: |
${{ runner.os }}-workspace-main-20.x-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
restore-keys: |
${{ runner.os }}-workspace-main-20.x-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- name: Install Yarn
run: npm install -g yarn
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
# We don't need to install all yarn deps to build native
- name: Install cargo-cp-artifact
run: npm install -g [email protected]
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
# We don't need to install all yarn deps to build native
- name: Install cargo-cp-artifact
run: npm install -g [email protected]
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
# We don't need to install all yarn deps to build native
- name: Install cargo-cp-artifact
run: npm install -g [email protected]
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down Expand Up @@ -412,7 +412,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down Expand Up @@ -545,7 +545,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Yarn install
uses: nick-fields/retry@v3
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust-cubesql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
- name: Install Yarn
run: npm install -g yarn
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -332,7 +332,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Set Yarn version
run: yarn policies set-version v1.22.19
run: yarn policies set-version v1.22.22
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-docker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ COPY packages/cubejs-client-ngx/package.json packages/cubejs-client-ngx/package.
COPY packages/cubejs-client-ws-transport/package.json packages/cubejs-client-ws-transport/package.json
COPY packages/cubejs-playground/package.json packages/cubejs-playground/package.json

RUN yarn policies set-version v1.22.19
RUN yarn policies set-version v1.22.22
# Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890
RUN yarn config set network-timeout 120000 -g

Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-docker/latest-debian-jdk.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM node:20.17.0-bookworm-slim as builder
WORKDIR /cube
COPY . .

RUN yarn policies set-version v1.22.19
RUN yarn policies set-version v1.22.22
# Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890
RUN yarn config set network-timeout 120000 -g

Expand Down Expand Up @@ -41,7 +41,7 @@ RUN groupadd cube && useradd -ms /bin/bash -g cube cube \
USER cube
WORKDIR /cube

RUN yarn policies set-version v1.22.19
RUN yarn policies set-version v1.22.22

ENV TERM rxvt-unicode
ENV NODE_ENV production
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-docker/latest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:20.17.0-bookworm-slim AS builder
WORKDIR /cube
COPY . .

RUN yarn policies set-version v1.22.19
RUN yarn policies set-version v1.22.22
# Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890
RUN yarn config set network-timeout 120000 -g

Expand Down Expand Up @@ -32,7 +32,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
&& apt-get install -y --no-install-recommends rxvt-unicode libssl3 python3.11 libpython3.11-dev \
&& rm -rf /var/lib/apt/lists/*

RUN yarn policies set-version v1.22.19
RUN yarn policies set-version v1.22.22

ENV TERM=rxvt-unicode
ENV NODE_ENV=production
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-docker/local.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ COPY --from=build /cubejs /cube-build
RUN cd /cube-build && yarn run link:dev
COPY package.json.local package.json

RUN yarn policies set-version v1.22.19
RUN yarn policies set-version v1.22.22
# Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890
RUN yarn config set network-timeout 120000 -g

Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-docker/testing-drivers.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ COPY packages/cubejs-jdbc-driver/package.json packages/cubejs-jdbc-driver/packag
#COPY packages/cubejs-client-ws-transport/package.json packages/cubejs-client-ws-transport/package.json
#COPY packages/cubejs-playground/package.json packages/cubejs-playground/package.json

RUN yarn policies set-version v1.22.19
RUN yarn policies set-version v1.22.22
RUN yarn config set network-timeout 120000 -g

######################################################################
Expand Down

0 comments on commit 1865798

Please sign in to comment.