<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch travis-ci
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/045c6e5c70edcfc120607ce9f003173ba81ed7ee">https://github.com/macports/macports-base/commit/045c6e5c70edcfc120607ce9f003173ba81ed7ee</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/travis-ci by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 045c6e5c ci: azure: Reorder YAML fields
</span>045c6e5c is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 045c6e5c70edcfc120607ce9f003173ba81ed7ee
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Wed Dec 9 20:18:16 2020 +0100

<span style='display:block; white-space:pre;color:#404040;'>    ci: azure: Reorder YAML fields
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Apparently Azure does not like that 'displayName' is the first key in
</span><span style='display:block; white-space:pre;color:#404040;'>    the dict that defines a step, since that causes errors while parsing:
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    | Encountered error(s) while parsing pipeline YAML:
</span><span style='display:block; white-space:pre;color:#404040;'>    | /.github/azure-workflows/prepare-ci-env.yml (Line: 20, Col: 9): Unexpected value 'displayName'
</span><span style='display:block; white-space:pre;color:#404040;'>    | /.github/azure-workflows/prepare-ci-env.yml (Line: 23, Col: 9): Unexpected value 'displayName'
</span><span style='display:block; white-space:pre;color:#404040;'>    | /.github/azure-workflows/prepare-ci-env.yml (Line: 27, Col: 9): Unexpected value 'displayName'
</span><span style='display:block; white-space:pre;color:#404040;'>    | /.github/azure-workflows/prepare-ci-env.yml (Line: 31, Col: 9): Unexpected value 'displayName'
</span><span style='display:block; white-space:pre;color:#404040;'>    | /.github/azure-workflows/prepare-ci-env.yml (Line: 35, Col: 9): Unexpected value 'displayName'
</span><span style='display:block; white-space:pre;color:#404040;'>    | /.github/azure-workflows/prepare-ci-env.yml (Line: 39, Col: 9): Unexpected value 'displayName'
</span><span style='display:block; white-space:pre;color:#404040;'>    | /.github/azure-workflows/prepare-ci-env.yml (Line: 43, Col: 9): Unexpected value 'displayName'
</span><span style='display:block; white-space:pre;color:#404040;'>    | /.github/azure-workflows/prepare-ci-env.yml (Line: 59, Col: 9): Unexpected value 'displayName'
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Re-order the displayName so that the keys that are probably expected
</span><span style='display:block; white-space:pre;color:#404040;'>    first by Azure Pipelines come first.
</span>---
 .github/azure-workflows/prepare-ci-env.yml | 32 +++++++++++++++---------------
 1 file changed, 16 insertions(+), 16 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/.github/azure-workflows/prepare-ci-env.yml b/.github/azure-workflows/prepare-ci-env.yml
</span><span style='display:block; white-space:pre;color:#808080;'>index 30dc7381..68a8d2a6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/.github/azure-workflows/prepare-ci-env.yml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/.github/azure-workflows/prepare-ci-env.yml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,31 +17,30 @@ jobs:
</span>     pool:
       vmImage: $(imageName)
     steps:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-      - displayName: "Checkout repository"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        checkout: self
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - checkout: self
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        displayName: "Checkout repository"
</span>         fetchDepth: 64
<span style='display:block; white-space:pre;background:#ffe0e0;'>-      - displayName: "Cleanup /usr/local"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        bash: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - bash: |
</span>           sudo mkdir /opt/local.old
           sudo mv /usr/local/* /opt/local.old
<span style='display:block; white-space:pre;background:#ffe0e0;'>-      - displayName: "Configure MacPorts Base"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        bash: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        displayName: "Cleanup /usr/local"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - bash: |
</span>           set -eu
           ./configure
<span style='display:block; white-space:pre;background:#ffe0e0;'>-      - displayName: "Build MacPorts Base"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        bash: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        displayName: "Configure MacPorts Base"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - bash: |
</span>           set -eu
           make
<span style='display:block; white-space:pre;background:#ffe0e0;'>-      - displayName: "Install MacPorts Base"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        bash: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        displayName: "Build MacPorts Base"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - bash: |
</span>           set -eu
           sudo make install
<span style='display:block; white-space:pre;background:#ffe0e0;'>-      - displayName: "Test MacPorts Base"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        bash: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        displayName: "Install MacPorts Base"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - bash: |
</span>           set -eu
           make test
<span style='display:block; white-space:pre;background:#ffe0e0;'>-      - displayName: "Prepare Deployment"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        bash: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        displayName: "Test MacPorts Base"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - bash: |
</span>           set -eu
 
           sed -i "" "s/-v selfupdate/version/" portmgr/dmg/postflight
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,8 +55,8 @@ jobs:
</span>             --exclude '/opt/local/var/macports/sip-workaround/?*' \
             -cjf "MacPorts.tar.bz2" \
             /opt/local
<span style='display:block; white-space:pre;background:#ffe0e0;'>-      - displayName: "Deploy to bintray"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        bash: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        displayName: "Prepare Deployment"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      - bash: |
</span>           set -eu
 
           # printf is a built-in, so this won't show up in ps(1)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -83,3 +82,4 @@ jobs:
</span>         env:
           user: "macports-ci-env"
           pass: ${{ BINTRAY_API_TOKEN }}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+        displayName: "Deploy to bintray"
</span></pre><pre style='margin:0'>

</pre>