Distributed Cache on AWS S3 only for US East (N. Virginia)
I configure my docker runner as documentation says :
https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/configuration/advanced-configuration.md#the-runnerscache-section
I configure my S3 endpoint to Ireland http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
config.toml
concurrent = 2
[[runners]]
name = "#{ENV.fetch('NAME', 'CPL-DEFAULT-AWS-RUNNER-DOCKER')}"
url = "http://xxx"
token = "xxx"
tls-ca-file = ""
executor = "docker"
environment = ["GITHUB_TOKEN=xxxx"]
[runners.cache]
Type = "s3"
ServerAddress = "s3-eu-west-1.amazonaws.com"
AccessKey = "xxxx"
SecretKey = "xxxx"
BucketName = "gitlab-cpl-cache"
Insecure = false
[runners.docker]
image = "scratch:latest"
disable_cache = true
privileged = false
volumes = ["/root/.composer/cache:/root/.composer/cache", "/root/.npm:/root/.npm", "/usr/local/bin/ci-helper:/usr/local/bin/ci-helper:ro", "/etc/ssl/certs:/etc/ssl/certs:ro", "/usr/share/ca-certificates:/usr/share/ca-certificates:ro", "/cache", "/root/.ssh-gitlabrunner:/root/.ssh:ro"]
But I have got this error in syslog
./kern.log:Apr 6 07:35:54 ip-172-31-18-12 gitlab-runner[2219]: Amazon S3 endpoint should be 's3.amazonaws.com'.
./kern.log:Apr 6 07:35:54 ip-172-31-18-12 gitlab-runner[2219]: Amazon S3 endpoint should be 's3.amazonaws.com'.
./kern.log:Apr 6 07:35:54 ip-172-31-18-12 gitlab-runner[2219]: Amazon S3 endpoint should be 's3.amazonaws.com'.
./kern.log:Apr 6 07:35:54 ip-172-31-18-12 gitlab-runner[2219]: Amazon S3 endpoint should be 's3.amazonaws.com'.
Perhaps due to this code https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/3da3eae5eb013ea881202e99955e6a4f172d40ae/Godeps/_workspace/src/github.com/minio/minio-go/utils.go#L192 https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/3da3eae5eb013ea881202e99955e6a4f172d40ae/Godeps/_workspace/src/github.com/minio/minio-go/utils.go#L165