From 60a8afdbc4fb7dca7c9f5b93211bea1df4dd6a21 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 13 Dec 2016 10:55:46 -0500 Subject: [PATCH] rhcs-installer: rm -rf Signed-off-by: Alfredo Deza --- rhcs-installer/build/rename-rhcs-installer | 26 --------- .../config/definitions/rhcs-installer.yml | 54 ------------------- 2 files changed, 80 deletions(-) delete mode 100755 rhcs-installer/build/rename-rhcs-installer delete mode 100644 rhcs-installer/config/definitions/rhcs-installer.yml diff --git a/rhcs-installer/build/rename-rhcs-installer b/rhcs-installer/build/rename-rhcs-installer deleted file mode 100755 index 79068ed7..00000000 --- a/rhcs-installer/build/rename-rhcs-installer +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -ex - -# Rename a debian package from "mariner-installer" to "rhcs-installer". - -oldname='mariner-installer' -newname='rhcs-installer' - -cd $WORKSPACE/$oldname - -# Replace content in files -for file in $(find config debian -type f); do - if [ $file == 'debian/copyright' ]; then - # The uses of "$oldname" in the copyright file are ok to leave alone. - continue - fi - sed -i -e "s/$oldname/$newname/g" $file -done - -# Change takora dependency to ceph-puppet-modules -sed -i -e "s/takora/ceph-puppet-modules/g" debian/control - -# Rename files -for file in $(find bin config debian -type f -name "*$oldname*"); do - newfile=$(echo $file | sed -e "s/$oldname/$newname/") - mv $file $newfile -done diff --git a/rhcs-installer/config/definitions/rhcs-installer.yml b/rhcs-installer/config/definitions/rhcs-installer.yml deleted file mode 100644 index c3c45117..00000000 --- a/rhcs-installer/config/definitions/rhcs-installer.yml +++ /dev/null @@ -1,54 +0,0 @@ -- job: - name: rhcs-installer - description: Build and package mariner-installer as rhcs-installer - project-type: matrix - axes: - - axis: - name: ARCH - type: label-expression - values: - - x86_64 - - axis: - name: DIST - type: label-expression - values: - - trusty - block-downstream: false - block-upstream: false - - properties: - - github: - url: https://github.com/ceph/mariner-installer/ - - scm: - - git: - skip-tag: true - basedir: mariner-installer - url: https://github.com/ceph/mariner-installer - branches: - - $BRANCH - - execution-strategy: - run-sequentially: false - - builders: - - shell: - !include-raw ../../build/rename-rhcs-installer - - shell: - !include-raw ../../../mariner-installer/build/build - parameters: - - string: - default: master - description: 'The git branch or tag to build' - name: BRANCH - - publishers: - - archive: - allow-empty: false - artifacts: $BRANCH/* - default-excludes: true - fingerprint: false - only-if-success: false - - description-setter: - regexp: '^BRANCH: (\S+)' - set-for-matrix: false -- 2.39.5