Skip to content

Commit

Permalink
Install git when running the ci
Browse files Browse the repository at this point in the history
It manages to clone the project but when working tags it started failing
for some reason:

```
Either git or ssh (required by git to clone through SSH) is not installed in the image. Falling back to CircleCI's native git client but the behavior may be different from official git. If this is an issue, please use an image that has official git and ssh installed.
object not found
Counting objects: 196, done.
Compressing objects: 100% (22/22), done.
Total 196 (delta 10), reused 24 (delta 7), pack-reused 164
```
  • Loading branch information
bliof committed Feb 6, 2018
1 parent fc86ba1 commit af380eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
build:
<<: *defaults
steps:
- run: apk --no-cache add git
- checkout
- restore_cache:
key: hellgrid-{{ checksum "hellgrid.gemspec" }}
Expand All @@ -31,6 +32,7 @@ jobs:
deploy:
<<: *defaults
steps:
- run: apk --no-cache add git
- checkout
- restore_cache:
key: hellgrid-{{ checksum "hellgrid.gemspec" }}
Expand Down

0 comments on commit af380eb

Please sign in to comment.