From c13a0f4467ae3a27c6f7114593cf1b14a421a8b1 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 15 Oct 2018 14:13:52 -0400 Subject: Publish test results from AppImage build --- TODO | 9 --------- azure-pipelines.yml | 4 ++++ azure-pipelines/build-appimage | 14 ++++++++------ 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/TODO b/TODO index fecb1578..d2b30156 100644 --- a/TODO +++ b/TODO @@ -1,12 +1,3 @@ -Azure Pipelines -=============== - - * Work make_dist and building of the app image into the pipeline so I - can use the pipeline to create all the official release files. - Append -ci to the names and include the sha256sum in the output. - The official release process will be to take the artifacts from the - release commit on master, verify the checksums, and rename. - Soon ==== diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 93a5bef4..7e6bfbc5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -94,5 +94,9 @@ jobs: artifactName: distribution displayName: 'Upload AppImage' condition: eq(variables['System.PullRequest.IsFork'], 'False') + - task: PublishTestResults@2 + inputs: + testRunTitle: AppImage + buildPlatform: AppImage dependsOn: Linux condition: succeeded() diff --git a/azure-pipelines/build-appimage b/azure-pipelines/build-appimage index d2d100e8..b3a99baa 100755 --- a/azure-pipelines/build-appimage +++ b/azure-pipelines/build-appimage @@ -1,12 +1,14 @@ #!/bin/bash set -ex -(cd appimage; docker build -t qpdfbuild .) -rm -rf /tmp/build -mkdir -p /tmp/build -git clone .git /tmp/build/qpdf -docker run --privileged --rm -v /tmp/build:/tmp/build qpdfbuild +cd appimage +docker build -t qpdfbuild . +rm -rf build +mkdir build +cd .. +git clone .git appimage/build/qpdf +docker run --privileged --rm -v $PWD/appimage/build:/tmp/build qpdfbuild mkdir distribution -cp -p /tmp/build/qpdf/appimage/build/qpdf*AppImage* distribution +cp -p appimage/build/qpdf/appimage/build/qpdf*AppImage* distribution for i in distribution/*; do mv $i $(echo $i | sed -e 's/\.AppImage/-ci.AppImage/') done -- cgit v1.2.3-54-g00ecf