Skip to content

Commit c34791e

Browse files
committed
fixup! fixup! Fix CI
1 parent 1626015 commit c34791e

File tree

4 files changed

+24
-40
lines changed

4 files changed

+24
-40
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22
name: CrateDB Docker images test
33
on: [push]
44

5+
permissions:
6+
contents: read
7+
checks: write
8+
statuses: write
9+
510
jobs:
611
multi-arch-build:
712
runs-on: ubuntu-latest
813
strategy:
914
matrix:
10-
arch: [linux/amd64, linux/arm64]
15+
arch: [linux/arm64]
1116
steps:
12-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v6
18+
with:
19+
persist-credentials: false
1320

1421
- name: Set up Python
1522
uses: actions/setup-python@v4

.github/workflows/test.yml

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

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
FROM almalinux:10-kitten
88

99
# Install prerequisites and clean up repository indexes again
10-
RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils tar util-linux gnupg \
10+
RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils util-linux gnupg \
1111
&& dnf clean all \
1212
&& rm -rf /var/cache/yum
1313

14+
RUN tar --version
15+
1416
# Install CrateDB
1517
RUN groupadd crate \
1618
&& useradd -u 1000 -g crate -d /crate crate \
@@ -20,14 +22,14 @@ RUN groupadd crate \
2022
aarch64) echo aarch64_linux ;; \
2123
esac)" \
2224
&& export CRATE_URL=https://cdn.crate.io/downloads/releases/cratedb/${PLATFORM}/crate-6.2.0.tar.gz \
23-
&& curl -fSL -O ${CRATE_URL} \
25+
&& curl -v -fSL -O ${CRATE_URL} \
2426
&& curl -fSL -O ${CRATE_URL}.asc \
2527
&& export GNUPGHOME="$(mktemp -d)" \
2628
&& gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
2729
&& gpg --batch --verify crate-6.2.0.tar.gz.asc crate-6.2.0.tar.gz \
2830
&& rm -rf "$GNUPGHOME" crate-6.2.0.tar.gz.asc \
29-
&& tar -xf crate-6.2.0.tar.gz -C /crate --strip-components=1 \
30-
&& file /crate/jdk/bin/java \
31+
&& echo $(sha256sum crate-6.2.0.tar.gz) \
32+
&& tar -xzvf crate-6.2.0.tar.gz -C /crate --strip-components=1 \
3133
&& rm crate-6.2.0.tar.gz
3234

3335
# Install crash

Dockerfile.j2

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@
88
FROM almalinux:10-kitten
99

1010
# Install prerequisites and clean up repository indexes again
11-
RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils tar util-linux gnupg \
11+
RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils util-linux gnupg \
1212
&& dnf clean all \
1313
&& rm -rf /var/cache/yum
1414

15+
RUN tar --version
16+
RUN mount | column -t
17+
RUN mkdir -p /tmp/crate
18+
1519
# Install CrateDB
1620
RUN groupadd crate \
1721
&& useradd -u 1000 -g crate -d /crate crate \
@@ -21,13 +25,15 @@ RUN groupadd crate \
2125
aarch64) echo aarch64_linux ;; \
2226
esac)" \
2327
&& export CRATE_URL={{ CRATE_RELEASE_URL }}/${PLATFORM}/{{ CRATE_TAR_GZ }} \
24-
&& curl -fSL -O ${CRATE_URL} \
28+
&& echo $CRATE_URL \
29+
&& curl -v -fSL -O ${CRATE_URL} \
2530
&& curl -fSL -O ${CRATE_URL}.asc \
2631
&& export GNUPGHOME="$(mktemp -d)" \
2732
&& gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
2833
&& gpg --batch --verify {{ CRATE_TAR_GZ }}.asc {{ CRATE_TAR_GZ }} \
2934
&& rm -rf "$GNUPGHOME" {{ CRATE_TAR_GZ }}.asc \
30-
&& tar -xf {{ CRATE_TAR_GZ }} -C /crate --strip-components=1 \
35+
&& echo $(sha256sum crate-6.2.0.tar.gz) \
36+
&& tar -xzvf crate-6.2.0.tar.gz -C /tmp/crate --strip-components=1 \
3137
&& rm {{ CRATE_TAR_GZ }}
3238

3339
# Install crash

0 commit comments

Comments
 (0)