Skip to content

Commit

Permalink
move config back into file
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Müller <[email protected]>
  • Loading branch information
Marcus Müller committed Aug 30, 2024
1 parent b96397c commit cb078f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 9 additions & 2 deletions ci/ci-fedora-40-3.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,15 @@ RUN mkdir /tmp/sccache/ \
&& tar xf /tmp/sccache.tgz \
&& cp */sccache /usr/bin \
&& rm -rf /tmp/sccache.tgz /tmp/sccache \
&& mkdir -p /etc/sccache/
COPY ci/config /etc/sccache/config
&& mkdir -p /etc/sccache/ \
# copy annoyingly would need to put the shared file into a separate image
# or set up a builder context, and that just seems to be more trouble than it's
# worth, sooooo:
&& printf '[cache.s3]\n' > /etc/sccache/config \
&& printf 'use_ssl = true\n' >> /etc/sccache/config \
&& printf 'no_credentials = false\n' >> /etc/sccache/config \
&& printf 'server_side_encryption = false\n' >> /etc/sccache/config

ENV SCCACHE_CONF="/etc/sccache/config"
# anything works, but needs to be set:
ENV AWS_REGION="non-AWS"
8 changes: 0 additions & 8 deletions ci/config

This file was deleted.

0 comments on commit cb078f0

Please sign in to comment.