File: azure-pipelines-release.yml

package info (click to toggle)
rdma-core 33.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,844 kB
  • sloc: ansic: 145,804; python: 5,688; sh: 2,761; perl: 1,465; makefile: 73
file content (48 lines) | stat: -rw-r--r-- 1,282 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# See https://aka.ms/yaml
# This pipeline runs to produce GitHub releases when tags are pushed. The
# pipeline is never run from a PR and has access to all the build secrets,
# including write permission to GitHub.

trigger:
  tags:
    include:
      - v*

resources:
  containers:
    - container: azp
      image: ucfconsort.azurecr.io/rdma-core/azure_pipelines:29.0
      endpoint: ucfconsort_registry

stages:
  - stage: Release
    jobs:
      - job: SrcPrep
        displayName: Build Source Tar
        pool:
          vmImage: 'Ubuntu-16.04'
        container: azp
        steps:
          - checkout: self
            fetchDepth: 1

          - bash: |
              set -e
              mkdir build-pandoc artifacts
              cd build-pandoc
              CC=gcc-10 cmake -GNinja ..
              ninja docs

              cd ..
              python3 buildlib/cbuild make-dist-tar build-pandoc
            displayName: Prebuild Documentation

          - task: GithubRelease@0
            displayName: 'Create GitHub Release'
            inputs:
              githubConnection: github_release
              repositoryName: linux-rdma/rdma-core
              assets: ./*.tar.gz
              action: create
              isDraft: true
              addChangeLog: true