Skip to content

Commit

Permalink
Merge pull request #5367 from yshestakov/topic/upload-src-rpm-v1.8
Browse files Browse the repository at this point in the history
AZP: Upload src.rpm/tar.gz to release page — v1.8
  • Loading branch information
yosefe authored Jul 6, 2020
2 parents fa22f05 + bc08f68 commit 6e56c21
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
20 changes: 19 additions & 1 deletion buildlib/azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trigger:
resources:
containers:
- container: centos7
image: ucfconsort.azurecr.io/ucx/centos7:1
image: ucfconsort.azurecr.io/ucx/centos7:2
endpoint: ucfconsort_registry
- container: centos7_cuda10_1
image: rdmz-harbor.rdmz.labs.mlnx/ucx/centos7-mofed5.0-cuda10.1:1
Expand All @@ -30,7 +30,22 @@ stages:
- stage: GitHubDraft
jobs:
- job: DraftRelease
container: centos7
steps:
- checkout: self
clean: true
path: "we/need/to/go/deeper"

- bash: ./autogen.sh
displayName: Setup autotools

- bash: |
set -eE
gcc --version
./contrib/configure-release
./contrib/buildrpm.sh -s -t -b
displayName: Build tarball
- task: GithubRelease@0
displayName: Create/edit GitHub Draft Release
inputs:
Expand All @@ -41,6 +56,9 @@ stages:
isDraft: true
addChangeLog: false
assetUploadMode: replace
assets: |
./ucx-*.tar.gz
./rpm-dist/ucx-*.src.rpm
- stage: Release
jobs:
Expand Down
1 change: 1 addition & 0 deletions buildlib/centos7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ RUN yum install -y \
maven \
numactl-devel \
rdma-core-devel \
rpm-build \
&& yum clean dbcache packages

0 comments on commit 6e56c21

Please sign in to comment.