Skip to content

Commit

Permalink
Bundle install earlier in circle config
Browse files Browse the repository at this point in the history
  • Loading branch information
hmarr committed Dec 5, 2018
1 parent 2f53624 commit 78ad53c
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,18 @@ jobs:
steps:
- checkout
- setup_remote_docker

# TODO remove this! just here to generate the gemfile.lock...
- run: bundle install && cd terraform && bundle install

- run: docker pull ubuntu:18.04
- run: docker pull dependabot/dependabot-core:0.1.47
- run: docker build
-t dependabot/dependabot-core:latest
--cache-from ubuntu:18.04
--cache-from dependabot/dependabot-core:0.1.47
.
- run: docker build
-t dependabot-core-ci
-f Dockerfile.ci
--cache-from ubuntu:18.04
--cache-from dependabot/dependabot-core:latest
.

# TODO remove this! just here to generate the gemfile.lock...
- run: bundle install && cd terraform && bundle install
- run: docker build -t dependabot-core-ci -f Dockerfile.ci .

- run: docker run -ti dependabot-core-ci
bash -c "cd terraform && rubocop"
Expand Down

0 comments on commit 78ad53c

Please sign in to comment.