]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Update all jobs with ${VAR} syntax to ${{VAR}} for jjb6 compatibility
authorDan Mick <dan.mick@redhat.com>
Fri, 14 Feb 2025 03:11:49 +0000 (19:11 -0800)
committerDan Mick <dan.mick@redhat.com>
Fri, 14 Feb 2025 21:04:47 +0000 (13:04 -0800)
jenkins-job-builder 6 changed the interpretation of {var} to *always*
refer to a jjb macro; this is true even for ${VAR}, which we use in a
lot of place for Jenkins variable expansion (although not all; it's
unclear whether the {} are or ever were necessary, or in what exact
contexts).  So far, we've pinned jjb to <6, but we need new
functionality.

In any event, rather than changing all of them to the same {}-less style
that might work, change the ${} style to ${{}} and leave $ alone.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
53 files changed:
attic/ceph-dev-container-only/config/definitions/ceph-dev-container-only.yml
ceph-build-pull-requests/config/definitions/ceph-build-pull-requests.yml
ceph-build/config/definitions/ceph-build.yml
ceph-cbt-lint/config/definitions/ceph-cbt-lint.yml
ceph-dashboard-cephadm-e2e/config/definitions/ceph-dashboard-cephadm-e2e.yml
ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml
ceph-deploy-pull-requests/config/definitions/ceph-deploy-pull-requests.yml
ceph-dev-build/config/definitions/ceph-dev-build.yml
ceph-dev-cron/config/definitions/ceph-dev-cron.yml
ceph-dev-new-build/config/definitions/ceph-dev-new-build.yml
ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml
ceph-dev-new/config/definitions/ceph-dev-new.yml
ceph-dev-pipeline/config/definitions/ceph-dev-pipeline.yml
ceph-dev/config/definitions/ceph-dev.yml
ceph-devstack/config/definitions/ceph-devstack.yml
ceph-grafana-trigger/config/definitions/ceph-grafana-trigger.yml
ceph-grafana/config/definitions/ceph-grafana.yml
ceph-iscsi-cli-flake8/config/definitions/ceph-iscsi-config-flake8.yml
ceph-iscsi-cli-trigger/config/definitions/ceph-iscsi-cli-trigger.yml
ceph-iscsi-config-flake8/config/definitions/ceph-iscsi-config-flake8.yml
ceph-iscsi-config-trigger/config/definitions/ceph-iscsi-config-trigger.yml
ceph-iscsi-stable/config/definitions/ceph-iscsi-stable.yml
ceph-iscsi-tools-trigger/config/definitions/ceph-iscsi-tools-trigger.yml
ceph-iscsi-tox/config/definitions/ceph-iscsi-tox.yml
ceph-iscsi-trigger/config/definitions/ceph-iscsi-trigger.yml
ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml
ceph-pr-api/config/definitions/ceph-pr-api.yml
ceph-pr-commits/config/definitions/ceph-pr-commits.yml
ceph-pr-docs/config/definitions/ceph-pr-docs.yml
ceph-pr-submodules/config/definitions/ceph-pr-commits.yml
ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml
ceph-pull-requests/config/definitions/ceph-pull-requests.yml
ceph-qa-suite-pull-requests/config/definitions/ceph-qa-suite-pull-requests.yml
ceph-rook-e2e/config/definitions/ceph-orchestrator-rook-e2e.yml
ceph-volume-unit-tests/config/definitions/ceph-volume-pr.yml
ceph-website-prs/config/definitions/ceph-website-prs.yml
ceph-windows-image-build/config/definitions/ceph-windows-image-build.yml
ceph-windows-installer-build/config/definitions/ceph-windows-installer-build.yml
ceph-windows-pull-requests/config/definitions/ceph-windows-pull-requests.yml
ceph/config/definitions/ceph.yml
cephmetrics-pull-requests/config/definitions/cephmetrics-pull-requests.yml
chacra-pull-requests/config/definitions/chacra-pull-requests.yml
kernel-trigger/config/definitions/kernel-trigger.yml
merfi-pull-requests/config/definitions/merfi-pull-requests.yml
nfs-ganesha-stable/config/definitions/nfs-ganesha-stable.yml
nfs-ganesha/config/definitions/nfs-ganesha.yml
paddles-pull-requests/config/definitions/paddles-pull-requests.yml
radosgw-agent-pull-requests/config/definitions/radosgw-agent-pull-requests.yml
rtslib-fb-trigger/config/definitions/rtslib-fb-trigger.yml
samba-trigger/config/definitions/samba-trigger.yml
shaman-pull-requests/config/definitions/shaman-pull-requests.yml
tcmu-runner-trigger/config/definitions/tcmu-runner-trigger.yml
wnbd-build/config/definitions/wnbd-build.yml

index a7d4bdf91e2d20004871bc3cc686183e068f4071..3bbdd5a492417d262385131ac178abddb6e16e75 100644 (file)
               username: CONTAINER_REPO_USERNAME
               password: CONTAINER_REPO_PASSWORD
       - build-name:
-          name: "#${BUILD_NUMBER} ${BRANCH}, ${DISTROS}, ${ARCH}, ${FLAVOR}"
+          name: "#${{BUILD_NUMBER}} ${{BRANCH}}, ${{DISTROS}}, ${{ARCH}}, ${{FLAVOR}}"
index 346954d57cd7336d773bd45c057c5bedab0d7b7c..d92deaa0f3a027fdd4e33c1b5679ff8d9911301b 100644 (file)
@@ -41,8 +41,8 @@
       - git:
           url: https://github.com/ceph/ceph-build.git
           branches:
-            - ${sha1}
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - ${{sha1}}
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           timeout: 20
           skip-tag: true
index 9ef1f1125715d85e4704da45af13f41da700fd43..039483eece64b121b4147e67a01c7aedabd7274b 100644 (file)
               condition-operands:
                 - condition-kind: regex-match
                   regex: (reef|squid)
-                  label: '${BRANCH}'
+                  label: '${{BRANCH}}'
                 - condition-kind: regex-match
                   regex: (focal|jammy|centos9|buster|bullseye|bookworm)
-                  label: '${DIST}'
+                  label: '${{DIST}}'
           on-evaluation-failure: dont-run
           steps:
             - shell: |
@@ -79,9 +79,9 @@
                 filter: 'ceph-build/ansible/ceph/dist/**'
                 which-build: multijob-build
             - inject:
-                properties-file: ${WORKSPACE}/ceph-build/ansible/ceph/dist/sha1
+                properties-file: ${{WORKSPACE}}/ceph-build/ansible/ceph/dist/sha1
             - inject:
-                properties-file: ${WORKSPACE}/ceph-build/ansible/ceph/dist/other_envvars
+                properties-file: ${{WORKSPACE}}/ceph-build/ansible/ceph/dist/other_envvars
             # debian build scripts
             - shell:
                 !include-raw-verbatim:
                   - ABORTED
               build-steps:
                 - inject:
-                    properties-file: ${WORKSPACE}/build_info
+                    properties-file: ${{WORKSPACE}}/build_info
                 - shell:
                     !include-raw-verbatim:
                   - ../../../scripts/build_utils.sh
index cbacf1c0f0ec49097e2e58885209075c1e5d3b62..899f81fe50046c73d92d4c62de7d4c6472101102 100644 (file)
@@ -44,8 +44,8 @@
       - git:
           url: https://github.com/ceph/cbt
           branches:
-            - origin/pr/${ghprbPullId}/merge
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - origin/pr/${{ghprbPullId}}/merge
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           timeout: 20
           shallow-clone: true
           wipe-workspace: true
@@ -56,7 +56,7 @@
           . venv/bin/activate
           pip install tox
           pip install git+https://github.com/ceph/githubcheck.git
-          sha1=$(git rev-parse refs/remotes/origin/pr/${ghprbPullId}/head)
+          sha1=$(git rev-parse refs/remotes/origin/pr/${{ghprbPullId}}/head)
           tox -e pep8 | github-check   \
             --lint                        \
             --lint-tox-dir=.              \
index 9d3df16b7be266c92635dcc47ec4712634de967a..25500572560979f183ac6eeeb8340b7218c07fce 100644 (file)
@@ -56,8 +56,8 @@
       - git:
           url: https://github.com/ceph/ceph.git
           branches:
-            - origin/pr/${ghprbPullId}/merge
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - origin/pr/${{ghprbPullId}}/merge
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           timeout: 20
           skip-tag: true
                 - FAILURE
                 - ABORTED
               build-steps:
-                - shell: "${WORKSPACE}/ceph-build/ceph-dashboard-cephadm-e2e/build/cleanup"
+                - shell: "${{WORKSPACE}}/ceph-build/ceph-dashboard-cephadm-e2e/build/cleanup"
index 5c82d257caf8e0916791099a8d8559e143da75fa..aa2cc7967b44f9d23b57b5eaec534ec5b2a85a97 100644 (file)
@@ -53,8 +53,8 @@
       - git:
           url: https://github.com/ceph/ceph.git
           branches:
-            - origin/pr/${ghprbPullId}/merge
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - origin/pr/${{ghprbPullId}}/merge
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           timeout: 20
           skip-tag: true
@@ -68,8 +68,8 @@
             - ../../../scripts/dashboard/install-e2e-test-deps.sh
       - shell: |
           export CYPRESS_ARGS="--record --key $CYPRESS_RECORD_KEY --tag $ghprbTargetBranch" COMMIT_INFO_MESSAGE="$ghprbPullTitle"
-          export APPLITOOLS_BATCH_ID="PR-${ghprbPullId}_${BUILD_TAG}"
-          export APPLITOOLS_BATCH_NAME="PR-${ghprbPullId}"
+          export APPLITOOLS_BATCH_ID="PR-${{ghprbPullId}}_${{BUILD_TAG}}"
+          export APPLITOOLS_BATCH_NAME="PR-${{ghprbPullId}}"
           export APPLITOOLS_BRANCH_NAME="$ghprbSourceBranch"
           export APPLITOOLS_PARENT_BRANCH_NAME="$ghprbTargetBranch"
           mkdir -p .applitools
index fa273308f4b4e399796d8c0012f0357a65714765..17bc0dccdc136ca99df8c7f1ce796f832be54c96 100644 (file)
@@ -7,7 +7,7 @@
       - git:
           url: https://github.com/ceph/ceph-deploy.git
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index ca51eabe157932fd3077dbfd4a57ce7eaf17909a..8165f47d7381f70c436d99e60dad5793df669da3 100644 (file)
           filter: 'dist/**'
           which-build: multijob-build
       - inject:
-          properties-file: ${WORKSPACE}/dist/sha1
+          properties-file: ${{WORKSPACE}}/dist/sha1
       - inject:
-          properties-file: ${WORKSPACE}/dist/branch
+          properties-file: ${{WORKSPACE}}/dist/branch
       - inject:
-          properties-file: ${WORKSPACE}/dist/other_envvars
+          properties-file: ${{WORKSPACE}}/dist/other_envvars
       # debian build scripts
       - shell:
           !include-raw-verbatim:
                   - ABORTED
               build-steps:
                 - inject:
-                    properties-file: ${WORKSPACE}/build_info
+                    properties-file: ${{WORKSPACE}}/build_info
                 - shell:
                     !include-raw-verbatim:
                       - ../../../scripts/build_utils.sh
               username: DOCKER_HUB_USERNAME
               password: DOCKER_HUB_PASSWORD
       - build-name:
-          name: "#${BUILD_NUMBER} ${BRANCH}, ${SHA1}, ${DISTROS}, ${FLAVOR}"
+          name: "#${{BUILD_NUMBER}} ${{BRANCH}}, ${{SHA1}}, ${{DISTROS}}, ${{FLAVOR}}"
index 45d4e74f28b0b65da541bdf4a7a37a9422cab478..bcb894d1c343f20c95ef348bfe4f4edba9278fbd 100644 (file)
@@ -43,7 +43,7 @@
       - conditional-step:
           condition-kind: regex-match
           regex: .*reef.*
-          label: '${GIT_BRANCH}'
+          label: '${{GIT_BRANCH}}'
           on-evaluation-failure: dont-run
           steps:
             - shell:
             - trigger-builds:
                 - project: 'ceph-dev'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=jammy focal centos9 windows
                 - project: 'ceph-dev'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=centos9
                     FLAVOR=crimson
@@ -69,7 +69,7 @@
       - conditional-step:
           condition-kind: regex-match
           regex: .*squid.*
-          label: '${GIT_BRANCH}'
+          label: '${{GIT_BRANCH}}'
           on-evaluation-failure: dont-run
           steps:
             - shell:
             - trigger-builds:
                 - project: 'ceph-dev'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=jammy centos9 windows
                 - project: 'ceph-dev'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=centos9
                     FLAVOR=crimson
@@ -95,7 +95,7 @@
       - conditional-step:
           condition-kind: regex-match
           regex: .*main.*
-          label: '${GIT_BRANCH}'
+          label: '${{GIT_BRANCH}}'
           on-evaluation-failure: dont-run
           steps:
             - shell:
             - trigger-builds:
                 - project: 'ceph-dev'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=jammy centos9 windows
                 - project: 'ceph-dev'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=centos9
                     FLAVOR=crimson
index 015dbb10c81ea0252e38f69ccdf8b5c22f3c55c1..c45fdd86a52d7b0eafe16457cc45b42fb48fdebc 100644 (file)
           which-build: build-param
           param: SETUP_BUILD_ID
       - inject:
-          properties-file: ${WORKSPACE}/dist/sha1
+          properties-file: ${{WORKSPACE}}/dist/sha1
       - inject:
-          properties-file: ${WORKSPACE}/dist/branch
+          properties-file: ${{WORKSPACE}}/dist/branch
       - inject:
-          properties-file: ${WORKSPACE}/dist/other_envvars
+          properties-file: ${{WORKSPACE}}/dist/other_envvars
       # debian build scripts
       - shell:
           !include-raw-verbatim:
                   - ABORTED
               build-steps:
                 - inject:
-                    properties-file: ${WORKSPACE}/build_info
+                    properties-file: ${{WORKSPACE}}/build_info
                 - shell:
                     !include-raw-verbatim:
                       - ../../../scripts/build_utils.sh
               username: AWS_ACCESS_KEY_ID
               password: AWS_SECRET_ACCESS_KEY
       - build-name:
-          name: "#${BUILD_NUMBER} ${BRANCH}, ${SHA1}, ${DISTROS}, ${FLAVOR}"
+          name: "#${{BUILD_NUMBER}} ${{BRANCH}}, ${{SHA1}}, ${{DISTROS}}, ${{FLAVOR}}"
index 9c6af24ce1c789e71595c52b35230d7818f44207..7a4a3c7a0155f06000c7aa45cb6956f78c6e834d 100644 (file)
@@ -33,7 +33,7 @@
       - conditional-step:
           condition-kind: regex-match
           regex: .*reef.*
-          label: '${GIT_BRANCH}'
+          label: '${{GIT_BRANCH}}'
           on-evaluation-failure: dont-run
           steps:
             - shell:
             - trigger-builds:
                 - project: 'ceph-dev-new'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=jammy focal centos9 windows
                 - project: 'ceph-dev-new'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=centos9
                     FLAVOR=crimson
@@ -59,7 +59,7 @@
       - conditional-step:
           condition-kind: regex-match
           regex: .*squid.*
-          label: '${GIT_BRANCH}'
+          label: '${{GIT_BRANCH}}'
           on-evaluation-failure: dont-run
           steps:
             - shell:
             - trigger-builds:
                 - project: 'ceph-dev-new'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=jammy centos9 windows
                 - project: 'ceph-dev-new'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=centos9
                     FLAVOR=crimson
@@ -84,7 +84,7 @@
       - conditional-step:
           condition-kind: shell
           condition-command: |
-            echo "${GIT_BRANCH}" | grep -v '\(reef\|squid\|centos9-only\|crimson-only\|jaeger\)'
+            echo "${{GIT_BRANCH}}" | grep -v '\(reef\|squid\|centos9-only\|crimson-only\|jaeger\)'
           on-evaluation-failure: dont-run
           steps:
             - shell:
             - trigger-builds:
                 - project: 'ceph-dev-new'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=jammy centos9 windows
             - trigger-builds:
                 - project: 'ceph-dev-new'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=centos9
                     FLAVOR=crimson
       - conditional-step:
           condition-kind: regex-match
           regex: .*centos9-only.*
-          label: '${GIT_BRANCH}'
+          label: '${{GIT_BRANCH}}'
           on-evaluation-failure: dont-run
           steps:
             - shell:
             - trigger-builds:
                 - project: 'ceph-dev-new'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=centos9
                     ARCHS=x86_64
       - conditional-step:
           condition-kind: regex-match
           regex: .*crimson-only.*
-          label: '${GIT_BRANCH}'
+          label: '${{GIT_BRANCH}}'
           on-evaluation-failure: dont-run
           steps:
             - shell:
             - trigger-builds:
                 - project: 'ceph-dev-new'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=centos9
                     FLAVOR=crimson
       - conditional-step:
           condition-kind: regex-match
           regex: .*jaeger.*
-          label: '${GIT_BRANCH}'
+          label: '${{GIT_BRANCH}}'
           on-evaluation-failure: dont-run
           steps:
             - shell:
             - trigger-builds:
                 - project: 'ceph-dev-new'
                   predefined-parameters: |
-                    BRANCH=${GIT_BRANCH}
+                    BRANCH=${{GIT_BRANCH}}
                     FORCE=True
                     DISTROS=centos8 focal
                     FLAVOR=jaeger
       - conditional-step:
           condition-kind: regex-match
           regex: .*sccache.*
-          label: '${GIT_BRANCH}'
+          label: '${{GIT_BRANCH}}'
           on-evaluation-failure: dont-run
           steps:
             - shell: echo skipping
index a327fd70f38854e91fb4858e4c7a697601df9aab..39371db56bbe627c893e87dcd874a87ba711cd53 100644 (file)
           filter: dist/sha1
           which-build: multijob-build
       - inject:
-          properties-file: ${WORKSPACE}/dist/sha1
+          properties-file: ${{WORKSPACE}}/dist/sha1
       - copyartifact:
           project: ceph-dev-new-setup
           filter: dist/branch
           which-build: multijob-build
       - inject:
-          properties-file: ${WORKSPACE}/dist/branch
+          properties-file: ${{WORKSPACE}}/dist/branch
       - multijob:
           name: 'ceph dev build phase'
           condition: SUCCESSFUL
           global: true
           mask-password-params: true
       - build-name:
-          name: "#${BUILD_NUMBER} ${BRANCH}, ${SHA1}, ${DISTROS}, ${FLAVOR}"
+          name: "#${{BUILD_NUMBER}} ${{BRANCH}}, ${{SHA1}}, ${{DISTROS}}, ${{FLAVOR}}"
index ed42f133d904c51ecb2338f044d46c91b6a0efc1..c6b805fa6df46a9ef9e3cda83dd6b419eea81104 100644 (file)
@@ -9,7 +9,7 @@
         - git:
             url: https://github.com/ceph/ceph-build
             branches:
-              - ${CEPH_BUILD_BRANCH}
+              - ${{CEPH_BUILD_BRANCH}}
             shallow-clone: true
             submodule:
               disable: true
index ad3b0667c8fc69f115e075ceff297645b37dd833..7c36a5a03c966bd01620d60296cfc30c11b66102 100644 (file)
@@ -85,13 +85,13 @@ If this is checked, then the binaries will be built and pushed to chacra even if
           filter: dist/sha1
           which-build: multijob-build
       - inject:
-          properties-file: ${WORKSPACE}/dist/sha1
+          properties-file: ${{WORKSPACE}}/dist/sha1
       - copyartifact:
           project: ceph-dev-setup
           filter: dist/branch
           which-build: multijob-build
       - inject:
-          properties-file: ${WORKSPACE}/dist/branch
+          properties-file: ${{WORKSPACE}}/dist/branch
       - multijob:
           name: 'ceph dev build phase'
           condition: SUCCESSFUL
@@ -105,4 +105,4 @@ If this is checked, then the binaries will be built and pushed to chacra even if
           global: true
           mask-password-params: true
       - build-name:
-          name: "#${BUILD_NUMBER} ${BRANCH}, ${SHA1}, ${DISTROS}, ${FLAVOR}"
+          name: "#${{BUILD_NUMBER}} ${{BRANCH}}, ${{SHA1}}, ${{DISTROS}}, ${{FLAVOR}}"
index 113142eb89b8f22358e422b3a9029926bb13aea5..2f828c941a487d5bd97898fb81d3218c20ff0951 100644 (file)
@@ -8,7 +8,7 @@
         - git:
             url: https://github.com/zmc/ceph-devstack
             branches:
-              - origin/${CEPH_DEVSTACK_BRANCH}
+              - origin/${{CEPH_DEVSTACK_BRANCH}}
     parameters:
       - string:
           name: CEPH_DEVSTACK_BRANCH
index b5f1fe8f2a2c2e485539b678ed94c7b67c93c7c3..bda572c801959c6b2c5e63d0a9fb8e9b638c3de9 100644 (file)
@@ -55,4 +55,4 @@
               username: CONTAINER_REPO_USERNAME
               password: CONTAINER_REPO_PASSWORD
       - build-name:
-          name: "#${BUILD_NUMBER} ${BRANCH}"
+          name: "#${{BUILD_NUMBER}} ${{BRANCH}}"
index 80cb2c530f7914dafdc94ab948496ef92ea66dc9..77828e205e99a3d7cd76654a5e1f9097140b87da 100644 (file)
@@ -47,4 +47,4 @@
               username: CONTAINER_REPO_USERNAME
               password: CONTAINER_REPO_PASSWORD
       - build-name:
-          name: "#${BUILD_NUMBER} ${BRANCH}, ${ARCH}"
+          name: "#${{BUILD_NUMBER}} ${{BRANCH}}, ${{ARCH}}"
index cf2e662a5f9036fb516e6e40e1a0de7d7564af8d..369e77fabfbd3470b40285cdf160e77d05460d92 100644 (file)
@@ -4,7 +4,7 @@
       - git:
           url: https://github.com/ceph/ceph-iscsi-cli.git
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index 281eb864e7638b8e919f13371e44f26e8d145309..cc9401dc59c292c6a22e51fde9f83455f3209052 100644 (file)
@@ -33,5 +33,5 @@
       - trigger-builds:
         - project: 'ceph-iscsi-cli'
           predefined-parameters: |
-            BRANCH=${GIT_BRANCH}
+            BRANCH=${{GIT_BRANCH}}
             FORCE=True
index c43862d6d36b73a79f48e80cf020f04b5256761b..7f76a15754a7825840886a608543ffec2858154f 100644 (file)
@@ -4,7 +4,7 @@
       - git:
           url: https://github.com/ceph/ceph-iscsi-config.git
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index b8d46cde8a98cbd9ac95f609c775f4267f15b5f6..481bda7adaa7c351988892ea540f11edf8753a7b 100644 (file)
@@ -33,5 +33,5 @@
       - trigger-builds:
         - project: 'ceph-iscsi-config'
           predefined-parameters: |
-            BRANCH=${GIT_BRANCH}
+            BRANCH=${{GIT_BRANCH}}
             FORCE=True
index 5e165d1b05fba08036763a59cb735f6672a7d162..f4e526fdbd948a2ddd062ae8ac2cf0ebcbf67516 100644 (file)
@@ -126,7 +126,7 @@ If this is checked, then the binaries will be built and pushed to chacra even if
                   - ABORTED
               build-steps:
                 - inject:
-                    properties-file: ${WORKSPACE}/build_info
+                    properties-file: ${{WORKSPACE}}/build_info
                 - shell:
                     !include-raw-verbatim:
                       - ../../../scripts/build_utils.sh
index 711c5ebd468629267229b9d929012df6da884dc1..8cb0896efca56699fe02d00712722232b6d42f99 100644 (file)
@@ -33,5 +33,5 @@
       - trigger-builds:
         - project: 'ceph-iscsi-tools'
           predefined-parameters: |
-            BRANCH=${GIT_BRANCH}
+            BRANCH=${{GIT_BRANCH}}
             FORCE=True
index 80878ac7de6937a4fec8b349a271d9f5f3d45ce0..324d880b6be605dd594f8933d9734ec32a22be9c 100644 (file)
@@ -4,7 +4,7 @@
       - git:
           url: https://github.com/ceph/ceph-iscsi.git
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index 65fd7707e1b16b0810b4766813f23da119a8f9c3..23d0456945f575638882750aea086819f44c8425 100644 (file)
@@ -33,5 +33,5 @@
       - trigger-builds:
         - project: 'ceph-iscsi'
           predefined-parameters: |
-            BRANCH=${GIT_BRANCH}
+            BRANCH=${{GIT_BRANCH}}
             FORCE=True
index d58808b2b0859fbf275d9bfcd1f791ff77ad6f3b..7aea419e5fb393db8b22aeb1a00a415895234cce 100644 (file)
@@ -19,8 +19,8 @@
       - git:
           url: https://github.com/ceph/ceph.git
           branches:
-            - origin/pr/${ghprbPullId}/merge
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - origin/pr/${{ghprbPullId}}/merge
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           timeout: 20
           basedir: "ceph-pr"
           shallow-clone: true
index 70f1d30d733be599dd1e4163df3c71ce7aaabbf9..dd47e3cd9b7a9d9b466b09185c86fea65644eaef 100644 (file)
@@ -54,8 +54,8 @@
       - git:
           url: https://github.com/ceph/ceph.git
           branches:
-            - origin/pr/${ghprbPullId}/merge
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - origin/pr/${{ghprbPullId}}/merge
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           timeout: 20
           skip-tag: true
index 32d92338edcb368dfcb2eefaf9851aeb0e86fa26..38fa5446110c530a6f457044ab6ea856306d8fe5 100644 (file)
@@ -4,8 +4,8 @@
       - git:
           url: https://github.com/ceph/ceph.git
           branches:
-            - ${sha1}
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - ${{sha1}}
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           timeout: 20
           skip-tag: true
index 2d11cbb9114d85be62494742669fcef22e1164ce..9fcc6e12833ab4f9a7dd48a83247e5184837d9a8 100644 (file)
@@ -37,8 +37,8 @@
           url: https://github.com/ceph/ceph
           browser: auto
           branches:
-            - ${sha1}
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - ${{sha1}}
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           skip-tag: true
           shallow-clone: true
           honor-refspec: true
index f65e329862c4c3930c2563e40f82c31b1849fc71..546c24ed13905f75713f3abc381b621266c68c8d 100644 (file)
@@ -41,8 +41,8 @@
       - git:
           url: https://github.com/ceph/ceph.git
           branches:
-            - ${sha1}
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - ${{sha1}}
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           timeout: 20
           skip-tag: true
index 4b7ea0bbe524aa0c241483bf3e528c36e6cf85f1..624fa8c20b91fdc73aa80df33ac4a19a3b261398 100644 (file)
@@ -42,8 +42,8 @@
         url: https://github.com/ceph/ceph.git
         name: origin
         branches:
-          - origin/pr/${ghprbPullId}/merge
-        refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+          - origin/pr/${{ghprbPullId}}/merge
+        refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
         skip-tag: true
         shallow-clone: true
         honor-refspec: true
index 66badca7561046f8ffdf814a1ad97d929eb53d69..8cef990cbfe1e060aab91918e59570ac1e0a6c64 100644 (file)
@@ -50,8 +50,8 @@
       - git:
           url: https://github.com/ceph/ceph.git
           branches:
-            - origin/pr/${ghprbPullId}/merge
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - origin/pr/${{ghprbPullId}}/merge
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           timeout: 20
           skip-tag: true
index de9f9aa688bc644d83a7643174863e48aeac5cc0..fde5cf49e00f62be5b8313363798d75f099c2899 100644 (file)
@@ -49,7 +49,7 @@
       - git:
           url: https://github.com/ceph/ceph-qa-suite.git
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index d981f6e2e77a1cd6eab1b8bb0b7b08efc8574f4b..8adb9209be1112712985124eecd966e5c766442e 100644 (file)
@@ -58,8 +58,8 @@
       - git:
           url: https://github.com/ceph/ceph.git
           branches:
-            - origin/pr/${ghprbPullId}/merge
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - origin/pr/${{ghprbPullId}}/merge
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           timeout: 20
           skip-tag: true
@@ -96,4 +96,4 @@
                 - FAILURE
                 - ABORTED
               build-steps:
-                - shell: "${WORKSPACE}/ceph-build/ceph-rook-e2e/build/cleanup"
+                - shell: "${{WORKSPACE}}/ceph-build/ceph-rook-e2e/build/cleanup"
index 0e0ca18f8b81d764212b643c0465a2006e137626..4e1d7062c1336c80a216a86ee90b90c21e2166d6 100644 (file)
@@ -52,7 +52,7 @@
           url: https://github.com/ceph/ceph
           browser: auto
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           skip-tag: true
           timeout: 20
index 7b3c6271d8108fe6ac4f40c26eeb57d86841845a..58a5ca0f304e08a8d5d1d197920f2020446f8289 100644 (file)
           success-status: "Site compiled successfully!"
           failure-status: "Site compilation failed"
 #         This is kinda noisy if there's lots of force pushes
-#         success-comment: "Site built successfully!  https://${GIT_BRANCH}.ceph.io"
+#         success-comment: "Site built successfully!  https://${{GIT_BRANCH}}.ceph.io"
 
     scm:
       - git:
           url: https://github.com/ceph/ceph.io
           branches:
-            - origin/pr/${ghprbPullId}/merge
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - origin/pr/${{ghprbPullId}}/merge
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           skip-tag: true
           timeout: 20
index 10863ab359fdf6ef10823e383df16d29608f1ebd..94940ac7629be226cac9e73cbf8471ed50730805 100644 (file)
@@ -32,7 +32,7 @@
           basedir: ceph-build
 
     builders:
-      - shell: "${WORKSPACE}/ceph-build/ceph-windows-image-build/build/build"
+      - shell: "${{WORKSPACE}}/ceph-build/ceph-windows-image-build/build/build"
 
     wrappers:
       - credentials-binding:
@@ -53,4 +53,4 @@
                 - FAILURE
                 - ABORTED
               build-steps:
-                - shell: "${WORKSPACE}/ceph-build/ceph-windows-image-build/build/cleanup"
+                - shell: "${{WORKSPACE}}/ceph-build/ceph-windows-image-build/build/cleanup"
index 2408445c4a63b2229f2e6054a236c3e4d3f16aee..e8c13842a23b981a95b24a55d71cddc8ee2bda10 100644 (file)
                   - ABORTED
               build-steps:
                 - inject:
-                    properties-file: ${WORKSPACE}/build_info
+                    properties-file: ${{WORKSPACE}}/build_info
 
                 - shell:
                     !include-raw-verbatim:
index 30fcd73adfae4fab10d54b51d55a19c443c5d281..b89d9ca02d3d018e48431f099d46963310819c86 100644 (file)
@@ -53,8 +53,8 @@
       - git:
           url: https://github.com/ceph/ceph.git
           branches:
-            - origin/pr/${ghprbPullId}/merge
-          refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
+            - origin/pr/${{ghprbPullId}}/merge
+          refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
           browser: auto
           timeout: 20
           do-not-fetch-tags: true
index ccfa86ee468fb76d2a96e65de47ecde426cfaae5..bc3022986c3bd1e03838bc25b3c3ce7ce2353b85 100644 (file)
@@ -109,7 +109,7 @@ SECURITY: Builds from BRANCH-release branch in ceph-private.git (private repo)."
           filter: ceph-build/ansible/ceph/dist/sha1
           which-build: multijob-build
       - inject:
-          properties-file: ${WORKSPACE}/ceph-build/ansible/ceph/dist/sha1
+          properties-file: ${{WORKSPACE}}/ceph-build/ansible/ceph/dist/sha1
       - multijob:
           name: 'ceph build phase'
           condition: SUCCESSFUL
@@ -130,4 +130,4 @@ SECURITY: Builds from BRANCH-release branch in ceph-private.git (private repo)."
           global: true
           mask-password-params: true
       - build-name:
-          name: "#${BUILD_NUMBER} ${BRANCH}, ${SHA1}"
+          name: "#${{BUILD_NUMBER}} ${{BRANCH}}, ${{SHA1}}"
index f657d5ee3ec3278481aa119bd413a65ad3e30311..8913992c559be47b17c700401336516c2ed482ff 100644 (file)
@@ -41,7 +41,7 @@
       - git:
           url: https://github.com/ceph/cephmetrics.git
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index bf71640a6ca01e101054b558e4fcb73843c9adc5..6f4daa7a3067f6f7675c16cffdc0a3c39d2ff96e 100644 (file)
@@ -4,7 +4,7 @@
       - git:
           url: https://github.com/ceph/chacra
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index 1d22e476817746d86121c41971f114585340c51e..1431f0f7b000e329e5020b5e710baec1dd2fe68b 100644 (file)
@@ -74,5 +74,5 @@
       - trigger-builds:
         - project: 'kernel'
           predefined-parameters: |
-            BRANCH=${GIT_BRANCH}
+            BRANCH=${{GIT_BRANCH}}
             FORCE=True
index 6c1ac4cc1128e734890903656c3cbe67a256f00b..9de73774efcb78fe6936cbc42f26a3b037d5a743 100644 (file)
@@ -50,7 +50,7 @@
       - git:
           url: https://github.com/alfredodeza/merfi.git
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index da8f5aa4a83f9d1f8461beb7c843f2baf7bd3af3..14002b1621f2572a617cbcee4990c64fb6d729ab 100644 (file)
@@ -177,7 +177,7 @@ If this is checked, then the binaries will be built and pushed to chacra even if
                   - ABORTED
               build-steps:
                 - inject:
-                    properties-file: ${WORKSPACE}/build_info
+                    properties-file: ${{WORKSPACE}}/build_info
                 - shell:
                     !include-raw-verbatim:
                       - ../../../scripts/build_utils.sh
index 8322b4d2277e768cb661a0f7c07be291dfc10c1c..92c6455566eca05b0b31e0e7608da2d7af4a3c66 100644 (file)
@@ -146,7 +146,7 @@ If this is checked, then the binaries will be built and pushed to chacra even if
                   - ABORTED
               build-steps:
                 - inject:
-                    properties-file: ${WORKSPACE}/build_info
+                    properties-file: ${{WORKSPACE}}/build_info
 
                 - shell:
                     !include-raw-verbatim:
index d6121003781aa45f7cecc9ddd13d4de1518061e3..a243dbb7b9574c25cb63db0084d97a2cda73fc65 100644 (file)
@@ -4,7 +4,7 @@
       - git:
           url: https://github.com/ceph/paddles
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index 9139b09ef17a2cfdebdeb746b5106d996d22b642..da57a3b03af0b0026476d37271989d82216541cb 100644 (file)
@@ -7,7 +7,7 @@
       - git:
           url: https://github.com/ceph/radosgw-agent.git
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index 6f043fd0f01003a83ff2bcd456a64fb3701fb88d..edd677031692172e6082e66af89e5b4af31e392d 100644 (file)
@@ -34,5 +34,5 @@
       - trigger-builds:
         - project: 'rtslib-fb'
           predefined-parameters: |
-            BRANCH=${GIT_BRANCH}
+            BRANCH=${{GIT_BRANCH}}
             FORCE=True
index 7c3e4c475180d87d20e5d21ee0022aae2a4da0e7..daa1b9eaca20d820bfabc5bfd22b374ceb725d51 100644 (file)
@@ -34,5 +34,5 @@
       - trigger-builds:
         - project: 'samba'
           predefined-parameters: |
-            BRANCH=${GIT_BRANCH}
+            BRANCH=${{GIT_BRANCH}}
             FORCE=True
index 9fdb4bce7deaafe1f1bc2f4d9a9fdad11fc2fea7..6cf9f96e8fe31655b5c2b9c5105a8eb921a6ba8a 100644 (file)
@@ -4,7 +4,7 @@
       - git:
           url: https://github.com/ceph/shaman
           branches:
-            - ${sha1}
+            - ${{sha1}}
           refspec: +refs/pull/*:refs/remotes/origin/pr/*
           browser: auto
           timeout: 20
index 960d27b12b229b75f8886b4f6bb940454f22d660..b35c1537cd1bc98f1bd0178185614904936a9af0 100644 (file)
@@ -34,5 +34,5 @@
       - trigger-builds:
         - project: 'tcmu-runner'
           predefined-parameters: |
-            BRANCH=${GIT_BRANCH}
+            BRANCH=${{GIT_BRANCH}}
             FORCE=True
index 366ef7df19cec5b5c9192e89de07d78403185657..75c78c2f2d7215ef1bac640c72511c23a4dfa3a6 100644 (file)
@@ -84,7 +84,7 @@
                   - ABORTED
               build-steps:
                 - inject:
-                    properties-file: ${WORKSPACE}/build_info
+                    properties-file: ${{WORKSPACE}}/build_info
 
                 - shell:
                     !include-raw-verbatim: