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

Isolate affy image tests and make them not use DLC #771

Merged
merged 2 commits into from
Nov 1, 2018

Conversation

kurtwheeler
Copy link
Contributor

Issue Number

N/A https://circleci.com/gh/AlexsLemonade/refinebio/9082 failed

Purpose/Implementation Notes

We hit a:

failed to register layer: Error processing tar file(exit status 1): write /usr/local/lib/R/site-library/pd.genomewidesnp.6/extdata/pd.genomewidesnp.6.sqlite: no space left on device

error in the above-mentioned build. This was something we had been seeing before turning Docker Layer Caching off because if the cache is warmed on the volume that gets used by CircleCI for docker, then there may not be enough space to fit all of our images. This manifests itself by us not having enough room to download the Affy image onto it.

The solution I've come up with is to just not use The docker layer caching feature for the Affy image. However whether to use that feature or not is job-specific setting so I had to break them into their own job. However this is actually pretty sweet because the job they were in before took the longest to run, even with docker layer caching speeding things up.

Types of changes

  • New feature (non-breaking change which adds functionality)

Functional tests

This is a CI change so the passing CI tests show it's working.

Checklist

  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Copy link
Contributor

@dongbohu dongbohu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a super trivial comment. Please feel free to close the PR.

# Clean up stuff circle provides that we don't need.
- run: sudo bash .circleci/cleanup_instance.sh

# Setup Postgres in a Container
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any special reason why C is capitalized?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess because the comment is like a title which is why postgres is also capitalized? I just copied this line from the other job's config.

@kurtwheeler kurtwheeler merged commit 4cf699b into dev Nov 1, 2018
@kurtwheeler kurtwheeler deleted the kurtwheeler/isolate-affy-image-tests branch November 1, 2018 20:01
kurtwheeler added a commit that referenced this pull request Jan 10, 2019
…mage-tests

Isolate affy image tests and make them not use DLC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants