chore(gitlab-ci): ...
This commit is contained in:
parent
d6a63bd9ca
commit
56a68ed9a3
@ -1,6 +1,6 @@
|
||||
sandbox = true
|
||||
experimental-features = nix-command flakes ca-references
|
||||
substituters = https://hydra.iohk.io https://cache.nixos.org/ s3://nix-cache?scheme=http&endpoint=minio-gitlab-runner-cache
|
||||
substituters = https://hydra.iohk.io https://cache.nixos.org/ s3://nix-cache?profile=default&scheme=http&endpoint=minio-gitlab-runner-cache
|
||||
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= minio-gitlab-runner-cache:ZN5neq93MHqpnieHSBlxGgWvCL0WKrZ2S9QS+U5Bnro=
|
||||
require-sigs = true
|
||||
post-build-hook = /etc/nix/upload-to-cache.sh
|
||||
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p bash -p coreutils -p awscli2
|
||||
#!nix-shell -i bash -p bash -p coreutils
|
||||
|
||||
mkdir -p $(dirname ${AWS_SHARED_CREDENTIALS_FILE})
|
||||
cat > ${AWS_SHARED_CREDENTIALS_FILE} <<EOF
|
||||
@ -7,5 +7,3 @@ cat > ${AWS_SHARED_CREDENTIALS_FILE} <<EOF
|
||||
aws_access_key_id = $(cat /minio-gitlab-runner-cache/accesskey)
|
||||
aws_secret_access_key = $(cat /minio-gitlab-runner-cache/secretkey)
|
||||
EOF
|
||||
|
||||
aws s3 ls --endpoint-url http://minio-gitlab-runner-cache
|
||||
|
||||
Loading…
Reference in New Issue
Block a user