X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Foran-templates%2Foran-package-cloud-macros.yaml;h=cca772056907f9e2ebd07f37d49bccfe276b9185;hb=e190bcab1ddef58522947076ef24ce306d692bcd;hp=2005d57843a26aaa979e991b0eda33630e034ec4;hpb=cebc424502f328e13442d4da533395450097cf95;p=ci-management.git diff --git a/jjb/oran-templates/oran-package-cloud-macros.yaml b/jjb/oran-templates/oran-package-cloud-macros.yaml index 2005d578..cca77205 100644 --- a/jjb/oran-templates/oran-package-cloud-macros.yaml +++ b/jjb/oran-templates/oran-package-cloud-macros.yaml @@ -13,9 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Macros to invoke shell scripts for PackageCloud - - builder: + # provisions files required by package_cloud ruby gem name: oran-packagecloud-file-provider builders: - config-file-provider: @@ -28,6 +27,8 @@ target: "$HOME/packagecloud_api" - builder: + # Runs shell script to push packages to PackageCloud. + # {build-dir} is directory with deb/rpm files to push # {packagecloud-account} is PackageCloud account ID; example: oran # {packagecloud-repo} is PackageCloud repository; example: master, staging # {debian-distribution-versions} is list of DEB package distro/version strings @@ -38,9 +39,9 @@ builders: - inject: properties-content: | + BUILD_DIR={build-dir} PACKAGECLOUD_ACCOUNT={packagecloud-account} PACKAGECLOUD_REPO={packagecloud-repo} DEBIAN_DISTRIBUTION_VERSIONS={debian-distribution-versions} RPM_DISTRIBUTION_VERSIONS={rpm-distribution-versions} - - shell: !include-raw-escape: - - ../shell/packagecloud-push.sh + - shell: !include-raw-escape: ../shell/packagecloud-push.sh