Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitlab/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ fuzz:
allow_failure: true
timeout: 1h
script:
- VAULT_VERSION=1.15.4 && curl -fsSL "https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip" -o vault.zip && unzip vault.zip && mv vault /usr/local/bin/vault && rm vault.zip && chmod +x /usr/local/bin/vault
- VAULT_VERSION=1.15.4
- VAULT_SHA256=f42f550713e87cceef2f29a4e2b754491697475e3d26c0c5616314e40edd8e1b
- curl -fsSL --retry 3 "https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip" -o vault.zip
- echo "${VAULT_SHA256} vault.zip" | sha256sum -c -
- unzip vault.zip && mv vault /usr/local/bin/vault && rm vault.zip && chmod +x /usr/local/bin/vault
- NIGHTLY_VERSION=$(awk -F'"' '/^channel[[:space:]]*=/ {print $2}' nightly-toolchain.toml)
- rustup default "$NIGHTLY_VERSION"
- cargo +"$NIGHTLY_VERSION" install cargo-fuzz --locked
Expand Down
11 changes: 8 additions & 3 deletions tools/docker/Dockerfile.centos
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main-centos
FROM ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main-centos@sha256:92e34415f6c4d771ab5797ce62cb658a2134737a02b609238697f7fc6279770e

RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \
&& sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \
Expand All @@ -17,5 +17,10 @@ RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \

ENV PATH="/opt/rh/devtoolset-11/root/usr/bin:$PATH"

# use the musl binary for nextest since glibc isn't new enough on CentOS7 for nextest
RUN curl -LsSf https://get.nexte.st/0.9.96/linux-musl | tar zxf - -C /usr/local/bin
ARG NEXTEST_VERSION=0.9.96
ARG NEXTEST_SHA256=34589b4debb468d84f6ab81652b7bc42ac672162a3dfc8063abe6fd850898150
RUN curl -fsSL --retry 3 -o /tmp/nextest.tar.gz \
"https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-${NEXTEST_VERSION}/cargo-nextest-${NEXTEST_VERSION}-x86_64-unknown-linux-musl.tar.gz" \
&& echo "${NEXTEST_SHA256} /tmp/nextest.tar.gz" | sha256sum -c - \
&& tar zxf /tmp/nextest.tar.gz -C /usr/local/bin \
&& rm /tmp/nextest.tar.gz
Loading