Skip to content

Update CI cache to avoid downloading artefacts #2290

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

Closed
smarter opened this issue Apr 22, 2017 · 6 comments
Closed

Update CI cache to avoid downloading artefacts #2290

smarter opened this issue Apr 22, 2017 · 6 comments
Assignees

Comments

@smarter
Copy link
Member

smarter commented Apr 22, 2017

http://dotty-ci.epfl.ch/lampepfl/dotty/1899/3 :

[info] downloading https://repo1.maven.org/maven2/org/scala-lang/modules/scala-asm/5.1.0-scala-2/scala-asm-5.1.0-scala-2.jar ...
[info] 	[SUCCESSFUL ] org.scala-lang.modules#scala-asm;5.1.0-scala-2!scala-asm.jar(bundle) (190ms)
[info] downloading https://repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.11/1.0.1/scala-xml_2.11-1.0.1.jar ...
[info] [SUCCESSFUL ] org.scala-lang.modules#scala-xml_2.11;1.0.1!scala-xml_2.11.jar(bundle) (270ms)
@smarter
Copy link
Member Author

smarter commented Apr 23, 2017

This is more important now that we upgraded to 2.11.11

@DarkDimius
Copy link
Contributor

I think that updating CI cache every month is too much of a hussle.
Could we achieve the same result by hosting either a maven mirror or squid reverse cache on the same machine?

@felixmulder
Copy link
Contributor

We could add a hook that publishes the dotty-docker image to latest and some timestamp. That would solve it.

@adriaanm
Copy link
Contributor

Artifactory is relatively simple to set up. Here's a recent dump of our config: https://gist.github.com/SethTisue/4ef883260582d06f29ea3fb065f6fde9

@smarter
Copy link
Member Author

smarter commented Aug 29, 2017

@felixmulder @OlivierBlanvillain CI cache needs to be updated again after the switch to 2.12, not sure who's responsibility this is now :).

@OlivierBlanvillain
Copy link
Contributor

Fixed in #3035. For future reference instructions to rebuild the docker image are in https://github.com/lampepfl/dotty-drone.

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

No branches or pull requests

5 participants