Skip to content

GCS secret has spelling mistake on helm configuration

Summary

I recently moved from S3 to GCS cache for my Gitlab runners and now I always get the "No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally."

Steps to reproduce

Deploy gitlab-runner with GCS cache config and try to cache anything.

Actual behavior

No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally.

Expected behavior

Cache to work

Used GitLab Runner version

Version: 12.1.0 Git revision: gitlab-org/gitlab-runner@de7731dd Git branch: 12-1-stable GO version: go1.8.7 Built: 2019-07-19T13:53:04+0000 OS/Arch: linux/amd64

Possible fixes

I think this is because of a typo in the entrypoint script inside the configmap, where it refers to /secrets/gcs-applicaton-credentials-file - which is missing an i in application.

https://gitlab.com/charts/gitlab-runner/blob/master/templates/configmap.yaml#L23

Edited by Steve Xuereb
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information