-
Notifications
You must be signed in to change notification settings - Fork 435
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
AZP/RELEASE: Add ARM release - Part #2 #8895
Conversation
0c501ef
to
ccfef0f
Compare
8dbb5b1
to
3214713
Compare
@yosefe please, review |
buildlib/az-distro-release.yml
Outdated
build_container: centos7_cuda11_x86_64 | ||
artifact_name: $(POSTFIX)-centos7-mofed5-cuda11-x86_64.tar.bz2 |
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.
can we do something like
build_container: centos7_cuda11_${{ parameters.name }}
artifact_name: $(POSTFIX)-centos7-mofed5-cuda11-${{ parameters.name }}.tar.bz2
in order to avoid ${{ if eq(parameters.name, 'x86_64') }}:
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.
No, it will cause duplicate key names:
build_container: centos7_cuda11_${{ parameters.name }} # x86_64
build_container: centos7_cuda11_${{ parameters.name }} # aarch64
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.
It will fail on Azure YAML schema validation.
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.
why? container name cannot be parametrized?
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.
Azure limitations. Here I tested it:
#9016
https://dev.azure.com/ucfconsort/ucx/_build/results?buildId=61588
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.
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.
Right, those dups might be removed. Yet, we have a different set of containers per OS architecture.
We can either reduce the support matrix or separate container lists by if
.
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.
maybe first list all common containers, and then list specific containers under "if" condition?
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 work!
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.
Addressed by the latest commit + changed the key name to better reflect expected values.
afe7526
to
1c6f7de
Compare
buildlib/az-distro-release.yml
Outdated
- job: distro_release | ||
displayName: distro | ||
- job: distro_release_${{ parameters.arch }} | ||
displayName: Distro ${{ parameters.arch }} |
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.
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.
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.
Maybe set job name to "Build" or "Distro" - instead of parameters.arch?
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.
c3d7d04
to
f8c7102
Compare
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.
pls sqaush
f8c7102
to
75776a4
Compare
squashed |
What
Build and release ARM-based artifacts.
Part 2: Build DEB/RPM artifacts on ARM.
Why ?
#8762