Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CircleCIで Restore Cache時にエラーが出ている #8

Open
ryosan-470 opened this issue Sep 21, 2017 · 2 comments
Open

CircleCIで Restore Cache時にエラーが出ている #8

ryosan-470 opened this issue Sep 21, 2017 · 2 comments
Assignees
Labels

Comments

@ryosan-470
Copy link
Member

Error computing cache key: template: cacheKey:1: unexpected unclosed action in command

こんな感じのエラーが出ている。

@ryosan-470 ryosan-470 added the bug label Sep 21, 2017
@ryosan-470 ryosan-470 self-assigned this Sep 21, 2017
@tukeJonny
Copy link
Contributor

どうもキャッシュ周りっぽいけど、CircleCI見る限りではどうも正常にsaveできていないか、restore時に参照できないのが原因なのかな?

若干エラーの詳細度が違うけど、似たようなエラーで質問されてるのを見つけた
https://discuss.circleci.com/t/when-try-to-save-cache-receive-error/9730/4

@ver-1000000
Copy link

ver-1000000 commented Jul 5, 2019

すみません、かなり昔のIssueですが同じ問題に遭遇したので失礼します。

restore_cache.keysが受け取れるのは配列のみのようで、該当箇所に値をそのまま書いてしまうと unexpected unclosed action in command と怒られてしまうようです。

https://github.com/g0tiu5a/ctftime/blob/master/.circleci/config.yml#L14
インデント下げて配列にすると直るはずです。

#10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants