-
Notifications
You must be signed in to change notification settings - Fork 234
ci(jenkins): use CI Windows workers #746
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
Conversation
a0f3852 to
4c8af8a
Compare
|
Is this a replacement for #726? I think for now, we can set |
|
@beniwohli , yes, I'm working on a separate PR for the same requirement. |
…nt installed configuration in the CI Windows worker
| BENCHMARK_SECRET = 'secret/apm-team/ci/benchmark-cloud' | ||
| OPBEANS_REPO = 'opbeans-python' | ||
| HOME = "${env.WORKSPACE}" | ||
| PATH = "${env.WORKSPACE}/.local/bin:${env.WORKSPACE}/bin:${env.PATH}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, there will be a clash in the CI Windows workers
Jenkinsfile
Outdated
|
|
||
| // Let's now enable the windows stages | ||
| readYaml(file: '.ci/.jenkins_windows.yml')['windows'].each { v -> | ||
| def description = "${v.VERSION}-${v.DISTUTILS_USE_SDK.equals('1') ? 'use-sdk' : ''}-${v.WEBFRAMEWORK}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will help to run the same version with different parameters, for such the primary key is a combination of VERSION, DISTUTILS_USE_SDK and WEBFRAMEWORK.
Jenkinsfile
Outdated
| deleteDir() | ||
| unstash 'source' | ||
| dir("${BASE_DIR}"){ | ||
| installTools([ [tool: "python${majorVersion}", version: "${version}" ] ]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will help to install python2 and python3.
…refactored in the future
beniwohli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome stuff!
Could you try to also add Python 3.8?
basepi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! 👍
What does this pull request do?
Replace AppVeyor with CI Jenkins.
Configuration-driven, therefore if a new python version is required then it should be added to the file
.ci/.jenkins_windows.ymlPython versions that are supported so far:
3.53.63.73.8Why is it important?
No more dependencies with AppVeyor.
Related issues
closes #ISSUE
Actions
Follow-ups
2.7