Skip to content

Commit f2260db

Browse files
authored
chore(cross): Upgrade openssl, clang (#5157)
1 parent 6e38c9d commit f2260db

14 files changed

+59
-51
lines changed

.github/workflows/master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ jobs:
5353
username: ${{ secrets.DOCKERHUB_USERNAME }}
5454
password: ${{ secrets.DOCKERHUB_TOKEN }}
5555
- name: Set up QEMU
56-
uses: docker/setup-qemu-action@v1
56+
uses: docker/setup-qemu-action@v2
5757
- name: Set up Docker Buildx
58-
uses: docker/setup-buildx-action@v1
58+
uses: docker/setup-buildx-action@v2
5959
with:
60-
version: v0.6.3
60+
version: v0.9.1
6161
- name: Push to Docker Hub
6262
uses: docker/build-push-action@v2
6363
with:

.github/workflows/publish.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
package_target_libc: glibc
8585
fail-fast: false
8686
container:
87-
image: cubejs/rust-cross:${{ matrix.target }}-02012023
87+
image: cubejs/rust-cross:${{ matrix.target }}-03012023
8888

8989
steps:
9090
- name: Checkout
@@ -273,11 +273,11 @@ jobs:
273273
username: ${{ secrets.DOCKERHUB_USERNAME }}
274274
password: ${{ secrets.DOCKERHUB_TOKEN }}
275275
- name: Set up QEMU
276-
uses: docker/setup-qemu-action@v1
276+
uses: docker/setup-qemu-action@v2
277277
- name: Set up Docker Buildx
278-
uses: docker/setup-buildx-action@v1
278+
uses: docker/setup-buildx-action@v2
279279
with:
280-
version: v0.6.3
280+
version: v0.9.1
281281
- name: Copy yarn.lock file
282282
run: cp yarn.lock packages/cubejs-docker
283283
- name: Push to Docker Hub
@@ -345,11 +345,11 @@ jobs:
345345
username: ${{ secrets.DOCKERHUB_USERNAME }}
346346
password: ${{ secrets.DOCKERHUB_TOKEN }}
347347
- name: Set up QEMU
348-
uses: docker/setup-qemu-action@v1
348+
uses: docker/setup-qemu-action@v2
349349
- name: Set up Docker Buildx
350-
uses: docker/setup-buildx-action@v1
350+
uses: docker/setup-buildx-action@v2
351351
with:
352-
version: v0.6.3
352+
version: v0.9.1
353353
- name: Copy yarn.lock file
354354
run: cp yarn.lock packages/cubejs-docker
355355
- name: Push to Docker Hub
@@ -417,11 +417,11 @@ jobs:
417417
username: ${{ secrets.DOCKERHUB_USERNAME }}
418418
password: ${{ secrets.DOCKERHUB_TOKEN }}
419419
- name: Set up QEMU
420-
uses: docker/setup-qemu-action@v1
420+
uses: docker/setup-qemu-action@v2
421421
- name: Set up Docker Buildx
422-
uses: docker/setup-buildx-action@v1
422+
uses: docker/setup-buildx-action@v2
423423
with:
424-
version: v0.6.3
424+
version: v0.9.1
425425
- name: Copy yarn.lock file
426426
run: cp yarn.lock packages/cubejs-docker
427427
- name: Push to Docker Hub
@@ -513,9 +513,9 @@ jobs:
513513
username: ${{ secrets.DOCKERHUB_USERNAME }}
514514
password: ${{ secrets.DOCKERHUB_TOKEN }}
515515
- name: Set up Docker Buildx
516-
uses: docker/setup-buildx-action@v1
516+
uses: docker/setup-buildx-action@v2
517517
with:
518-
version: v0.6.3
518+
version: v0.9.1
519519
- name: Cache Docker layers
520520
uses: actions/cache@v2
521521
with:

.github/workflows/push-cross-images.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,21 @@ jobs:
3434
username: ${{ secrets.DOCKERHUB_USERNAME }}
3535
password: ${{ secrets.DOCKERHUB_TOKEN }}
3636
- name: Set up QEMU
37-
uses: docker/setup-qemu-action@v1
37+
uses: docker/setup-qemu-action@v2
3838
- name: Set up Docker Buildx
39-
uses: docker/setup-buildx-action@v1
39+
uses: docker/setup-buildx-action@v2
4040
with:
41-
version: v0.6.3
41+
version: v0.9.1
4242
driver-opts: network=host
43+
- name: Load .cross file
44+
uses: xom9ikk/dotenv@v2
45+
with:
46+
path: rust/cubestore/cross/
4347
- name: Push to Docker Hub
4448
uses: docker/build-push-action@v2
4549
with:
4650
context: ./
4751
file: ./rust/cubestore/cross/${{ matrix.target }}.Dockerfile
4852
platforms: linux/amd64
4953
push: ${{ github.ref == 'refs/heads/master' }}
50-
tags: cubejs/rust-cross:${{ matrix.target }}
54+
tags: cubejs/rust-cross:${{ matrix.target }},cubejs/rust-cross:${{ matrix.target }}-${{ env.CROSS_VERSION }}

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,11 +555,11 @@ jobs:
555555
- name: Checkout
556556
uses: actions/checkout@v2
557557
- name: Set up QEMU
558-
uses: docker/setup-qemu-action@v1
558+
uses: docker/setup-qemu-action@v2
559559
- name: Set up Docker Buildx
560-
uses: docker/setup-buildx-action@v1
560+
uses: docker/setup-buildx-action@v2
561561
with:
562-
version: v0.6.3
562+
version: v0.9.1
563563
driver-opts: network=host
564564
- name: Build image
565565
uses: docker/build-push-action@v2

.github/workflows/rust-cubesql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
target: ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu"]
131131
fail-fast: false
132132
container:
133-
image: cubejs/rust-cross:${{ matrix.target }}-02012023
133+
image: cubejs/rust-cross:${{ matrix.target }}-03012023
134134

135135
steps:
136136
- name: Checkout

.github/workflows/rust-cubestore-master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ jobs:
129129
username: ${{ secrets.DOCKERHUB_USERNAME }}
130130
password: ${{ secrets.DOCKERHUB_TOKEN }}
131131
- name: Set up Docker Buildx
132-
uses: docker/setup-buildx-action@v1
132+
uses: docker/setup-buildx-action@v2
133133
with:
134-
version: v0.6.3
134+
version: v0.9.1
135135
- name: Cache Docker layers
136136
uses: actions/cache@v2
137137
with:

.github/workflows/rust-cubestore.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ jobs:
7878
- name: Checkout
7979
uses: actions/checkout@v2
8080
- name: Set up Docker Buildx
81-
uses: docker/setup-buildx-action@v1
81+
uses: docker/setup-buildx-action@v2
8282
with:
83-
version: v0.6.3
83+
version: v0.9.1
8484
- name: Cache Docker layers
8585
uses: actions/cache@v2
8686
with:

rust/cubestore/Cross.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
[target.x86_64-apple-darwin]
2-
image = "cubejs/rust-cross:x86_64-apple-darwin-10012022"
2+
image = "cubejs/rust-cross:x86_64-apple-darwin-03012023"
33
xargo = false
44

55
[target.x86_64-pc-windows-msvc]
6-
image = "cubejs/rust-cross:x86_64-pc-windows-msvc-10012022"
6+
image = "cubejs/rust-cross:x86_64-pc-windows-msvc-03012023"
77
xargo = false
88

99
[target.x86_64-pc-windows-gnu]
10-
image = "cubejs/rust-cross:x86_64-pc-windows-gnu-10012022"
10+
image = "cubejs/rust-cross:x86_64-pc-windows-gnu-03012023"
1111
xargo = false
1212

1313
[target.x86_64-unknown-linux-gnu]
14-
image = "cubejs/rust-cross:x86_64-unknown-linux-gnu-02012023"
14+
image = "cubejs/rust-cross:x86_64-unknown-linux-gnu-03012023"
1515
xargo = false
1616

1717
[target.x86_64-unknown-linux-musl]
18-
image = "cubejs/rust-cross:x86_64-unknown-linux-musl-02012023"
18+
image = "cubejs/rust-cross:x86_64-unknown-linux-musl-03012023"
1919
xargo = false
2020

2121
[target.aarch64-unknown-linux-gnu]
22-
image = "cubejs/rust-cross:aarch64-unknown-linux-gnu-02012023"
22+
image = "cubejs/rust-cross:aarch64-unknown-linux-gnu-03012023"
2323
xargo = false

rust/cubestore/cross/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CROSS_VERSION=03012023

rust/cubestore/cross/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Keep in mind:
1818

1919
```sh
2020
# dmY
21-
export CROSS_VERSION=02012023
21+
export $(cat .env | xargs)
2222

2323
# docker build -t cubejs/rust-cross:x86_64-apple-darwin-$CROSS_VERSION -f x86_64-apple-darwin.Dockerfile .
2424
# docker buildx build --platform linux/amd64 -t cubejs/rust-cross:x86_64-pc-windows-gnu-$CROSS_VERSION -f x86_64-pc-windows-gnu.Dockerfile .

0 commit comments

Comments
 (0)