chore(gitlab-ci): ...

This commit is contained in:
Gregor Kleen 2021-09-15 15:24:51 +02:00
parent 28732ed6dc
commit 0b4a892df5

View File

@ -1,11 +1,11 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash -p coreutils
#!nix-shell -i bash -p bash -p coreutils -p aws
umask 7333
mkdir -p /etc/aws
cat > /etc/aws/credentials <<EOF
mkdir -p $(dirname ${AWS_SHARED_CREDENTIALS_FILE})
cat > ${AWS_SHARED_CREDENTIALS_FILE} <<EOF
[default]
aws_access_key_id = $(cat /minio-gitlab-runner-cache/accesskey)
aws_secret_access_key = $(cat /minio-gitlab-runner-cache/secretkey)
EOF
ls -lhaFR /etc/aws
aws --endpoint-url http://minio-gitlab-runner-cache ls