Skip to content

Commit

Permalink
AZP/RELEASE: Fixes for v1.14 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-Rivkin committed Jan 23, 2023
1 parent bf9ee30 commit 301bed3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildlib/az-distro-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
- bash: |
set -eEx
cd pkg-build
echo 10 > debian/compat # https://www.debian.org/doc/manuals/maint-guide/dother.en.html#compat
sed -i 's|./contrib|../contrib|' debian/rules # Hack
dpkg-buildpackage -us -uc
find .. -name '*.deb'
find .. -name '*.deb' -exec cp {} "../${AZ_ARTIFACT_NAME}" \;
Expand Down
2 changes: 2 additions & 0 deletions buildlib/az-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ function add_timestamp() {
function az_init_modules() {
. /etc/profile.d/modules.sh
export MODULEPATH="/hpc/local/etc/modulefiles:$MODULEPATH"
# Read module files (W/A if there're some network instabilities lead to autofs issues)
find /hpc/local/etc/modulefiles > /dev/null || true
}

#
Expand Down
4 changes: 4 additions & 0 deletions buildlib/azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ pr:
- master
- v*.*.x

variables:
DOCKER_OPT_VOLUMES: -v /hpc/local:/hpc/local

resources:
containers:
- container: centos7_cuda11
image: rdmz-harbor.rdmz.labs.mlnx/ucx/centos7-mofed5-cuda11:2
options: $(DOCKER_OPT_VOLUMES)
- container: centos8_cuda11
image: rdmz-harbor.rdmz.labs.mlnx/ucx/centos8-mofed5-cuda11:2
- container: ubuntu16_cuda11
Expand Down
6 changes: 6 additions & 0 deletions buildlib/jucx/jucx-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ jobs:
name: publicKey

- bash: |
source buildlib/az-helpers.sh
az_init_modules
az_module_load dev/mvn
# use the lowest supported Java version for compatibility:
az_module_load dev/jdk-1.8
mvn --version
mkdir ${{ parameters.gpg_dir }}
export GPG_TTY=`tty`
chmod 700 ${{ parameters.gpg_dir }}
Expand Down

0 comments on commit 301bed3

Please sign in to comment.