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

ci(jenkins): run docker services in linux #1

Merged
merged 13 commits into from
Dec 15, 2019

Conversation

v1v
Copy link
Owner

@v1v v1v commented Dec 15, 2019

CI Workers seem to be accessible between them, so let's move all the infrastructure requirements to be spun up in Linux and configure the Windows worker to connect to those services.

Pros

  • Faster to spin up those services in docker 2 minutes vs 40 minutes
[2019-12-15T11:44:30.536Z] + .ci/scripts/windows/prepare-test.sh 12
...
[2019-12-15T11:46:46.472Z] + awk {print $1}
[2019-12-15T11:46:40.068Z] C:\Users\jenkins\workspace\ejs_apm-agent-nodejs-mbp_PR-1393\src\github.com\elastic\apm-agent-nodejs\.ci\scripts\windows\docker>run-services.bat
...
[2019-12-15T12:23:44.354Z] C:\Users\jenkins\workspace\ejs_apm-agent-nodejs-mbp_PR-1393\src\github.com\elastic\apm-agent-nodejs\.ci\scripts\windows\docker>docker ps -a 

Cons

  • It's required to configure those linux docker containers to listen for connections from all the network interfaces. Default behaviour

@v1v v1v merged commit 941dacc into feature/windows-build Dec 15, 2019
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.

1 participant