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

APT_CACHE_SERVER in Jenkinsfile points to a non reachable IP address #425

Open
rpannek opened this issue Jun 26, 2018 · 1 comment
Open

Comments

@rpannek
Copy link
Contributor

rpannek commented Jun 26, 2018

In https://github.com/Pelagicore/softwarecontainer/blob/master/Jenkinsfile#L64t APT_CACHE_SERVER points to 10.8.36.16 which seems to be some kind of an internal IP adress which is not accessible from the Internet.
It should either be removed or taken from the Jenkins ENV.

@frznlogic
Copy link
Contributor

@rpannek As for the history, we used to run an apt-cacher on that IP locally in the company. The vagrant-cookbook script pings this IP once and waits for 1 second for a response, if there's no response it will continue without the apt cache server. Basically, it reduced our internet usage by approximately 98% in our jenkins builds when we where very actively developing it so it made sense then.

I'm not sure where or how we build softwarecontainer these days, but maybe it should be either adapted to whatever our new location is or maybe it can be left alone with a minor comment about what happens if the server is not there, alternatively make it configurable from jenkins?

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

No branches or pull requests

2 participants