forked from openucx/ucx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AZP/RELEASE: Add ARM release - Part openucx#2
- Loading branch information
1 parent
f1c5d96
commit 8dbb5b1
Showing
5 changed files
with
176 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Create an empty draft to avoid race condition in distro release | ||
|
||
parameters: | ||
name: | ||
container: | ||
demands: [] | ||
|
||
jobs: | ||
- job: DraftRelease_${{ parameters.name }} | ||
displayName: Draft release ${{ parameters.name }} | ||
container: ${{ parameters.container }} | ||
pool: | ||
name: MLNX | ||
demands: ${{ parameters.demands }} | ||
|
||
steps: | ||
- checkout: self | ||
clean: true | ||
fetchDepth: 100 | ||
path: "we/need/to/go/deeper" | ||
|
||
- bash: ./autogen.sh | ||
displayName: Setup autotools | ||
|
||
- bash: | | ||
set -eEx | ||
# gcc --version | ||
./contrib/configure-release --with-java=no | ||
./contrib/buildrpm.sh -s -t -b | ||
displayName: Build tarball | ||
- task: GithubRelease@0 | ||
condition: eq(variables['Build.Reason'], 'IndividualCI') | ||
displayName: Create/edit GitHub Draft Release | ||
inputs: | ||
githubConnection: release | ||
repositoryName: openucx/ucx | ||
action: edit | ||
tag: $(Build.SourceBranchName) | ||
isDraft: true | ||
addChangeLog: false | ||
releaseNotesSource: file | ||
releaseNotesFile: NEWS | ||
assetUploadMode: replace | ||
assets: | | ||
./ucx-*.tar.gz | ||
./rpm-dist/ucx-*.src.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters