From 4b1e41b237bf171a7f36db727bbfae0392d59161 Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Thu, 29 Mar 2018 15:44:50 +0530 Subject: [PATCH 01/11] adding a sample Jenkinsfile to trigger a build --- Jenkinsfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..806a2664 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,26 @@ +pipeline { + agent any + + stages { + stage('Prepare') { + steps { + echo 'Preparing the build system environment' + } + } + stage('Build') { + steps { + echo 'Building the package' + } + } + stage('Test') { + steps { + echo 'Testing the package' + } + } + stage('Deploy') { + steps { + echo 'Deploying to repositories..' + } + } + } +} \ No newline at end of file -- 2.17.1 From 0311736ffcf61aebf5557c0408db78ecf9e6b5e9 Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Tue, 10 Apr 2018 15:25:42 +0530 Subject: [PATCH 02/11] bumped the compatibility version --- .gitlab-ci.yml | 730 ------------------ .../calamares-settings-hamara/debian/compat | 2 +- 2 files changed, 1 insertion(+), 731 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 6cb80ae2..00000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,730 +0,0 @@ -#/* -# *.gitlab-ci.yml -# * -# * Copyright 2018 Raju Devidas -# * -# * This program is free software; you can redistribute it and/or modify -# * it under the terms of the GNU General Public License as published by -# * the Free Software Foundation; either version 2 of the License, or -# * (at your option) any later version. -# * -# * This program is distributed in the hope that it will be useful, -# * but WITHOUT ANY WARRANTY; without even the implied warranty of -# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# * GNU General Public License for more details. -# * -# * You should have received a copy of the GNU General Public License -# * along with this program; if not, write to the Free Software -# * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -# * MA 02110-1301, USA. -# * -# * -# */ - -# Defines stages each corresponding to a separate hamara-package - -stages: - - build-calamares-settings-hamara-amd64 - - build-calamares-settings-hamara-i386 - - - build-grub-theme-hamara-amd64 - - build-grub-theme-hamara-i386 - - - build-hamara-keyring-2016.5-amd64 - - build-hamara-keyring-2016.5-i386 - - - build-hamara-live-amd64 - - build-hamara-live-i386 - - - build-hamara-sugam-config-amd64 - - build-hamara-sugam-config-i386 - - - build-hamara-wallpapers-amd64 - - build-hamara-wallpapers-i386 - - - build-hamara-welcome-amd64 - - build-hamara-welcome-i386 - - - build-lightdm-webkit-greeter-amd64 - - build-lightdm-webkit-greeter-i386 - - - build-lightdm-webkit-greeter-hamara-amd64 - - build-lightdm-webkit-greeter-hamara-i386 - - - build-materia-gtk-theme-amd64 - - build-materia-gtk-theme-i386 - - - build-paper-icon-theme-amd64 - - build-paper-icon-theme-i386 - - - build-plymouth-theme-hamara-amd64 - - build-plymouth-theme-hamara-i386 - - - build-source-sans-pro-amd64 - - build-source-sans-pro-i386 - -# These steps will run before each build. -# They are included here to avoid repetition of same code on later stages. -# similar to a macro - -before_script: - - export DEBIAN_FRONTEND=noninteractive - - echo "Preparing the container for builds" - - apt update - - apt-get -y upgrade - - apt-get -y dist-upgrade - - apt-get -y install apt-utils figlet dpkg-dev fakeroot git-buildpackage lintian pristine-tar - - figlet BUILD - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-calamares-settings-hamara-amd64: - stage: build-calamares-settings-hamara-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/calamares-settings-hamara/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - #copy the contents of the package to the incoming directory - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-calamares-settings-hamara-i386: - stage: build-calamares-settings-hamara-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/calamares-settings-hamara/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - #copy the contents of the package to the incoming directory - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-grub-theme-hamara-amd64: - stage: build-grub-theme-hamara-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/grub-theme-hamara/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-grub-theme-hamara-i386: - stage: build-grub-theme-hamara-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/grub-theme-hamara/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-hamara-keyring-2016.5-amd64: - stage: build-hamara-keyring-2016.5-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-keyring-2016.5/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-hamara-keyring-2016.5-i386: - stage: build-hamara-keyring-2016.5-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-keyring-2016.5/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-hamara-live-amd64: - stage: build-hamara-live-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-live/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#i386 build -build-hamara-live-i386: - stage: build-hamara-live-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-live/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-hamara-sugam-config-amd64: - stage: build-hamara-sugam-config-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-sugam-config/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-hamara-sugam-config-i386: - stage: build-hamara-sugam-config-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-sugam-config/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#---------------------------------------------------------------------------------------------------------------- - -#amd64 build -build-hamara-wallpapers-amd64: - stage: build-hamara-wallpapers-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-wallpapers/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-hamara-wallpapers-i386: - stage: build-hamara-wallpapers-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-wallpapers/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-hamara-welcome-amd64: - stage: build-hamara-welcome-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-welcome/ - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-hamara-welcome-i386: - stage: build-hamara-welcome-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/hamara-welcome - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-lightdm-webkit-greeter-amd64: - stage: build-lightdm-webkit-greeter-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/lightdm-webkit-greeter - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y install liblightdm-gobject-dev #additional dependency required to build lightdm-webkit-greeter - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-lightdm-webkit-greeter-i386: - stage: build-lightdm-webkit-greeter-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/lightdm-webkit-greeter - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y install liblightdm-gobject-dev #additional dependency required to build lightdm-webkit-greeter - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-lightdm-webkit-greeter-hamara-amd64: - stage: build-lightdm-webkit-greeter-hamara-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/lightdm-webkit-greeter-hamara - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#i386 build -build-lightdm-webkit-greeter-hamara-i386: - stage: build-lightdm-webkit-greeter-hamara-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/lightdm-webkit-greeter-hamara - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#---------------------------------------------------------------------------------------------------------------- - -#amd64 build -build-materia-gtk-theme-amd64: - stage: build-materia-gtk-theme-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/materia-gtk-theme - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-materia-gtk-theme-i386: - stage: build-materia-gtk-theme-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/materia-gtk-theme - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-paper-icon-theme-amd64: - stage: build-paper-icon-theme-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/paper-icon-theme - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - mkdir paper-icon-theme-artifacts - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo paper-icon-theme-artifacts - - artifacts: - paths: - - paper-icon-theme-artifacts/* - untracked: false - expire_in: 1 day - -#i386 build -build-paper-icon-theme-i386: - stage: build-paper-icon-theme-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/paper-icon-theme - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - mkdir paper-icon-theme-artifacts - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo paper-icon-theme-artifacts - - artifacts: - paths: - - paper-icon-theme-artifacts/* - untracked: false - expire_in: 1 day - -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-plymouth-theme-hamara-amd64: - stage: build-plymouth-theme-hamara-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/plymouth-theme-hamara - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - artifacts: - untracked: true - expire_in: 1 day - -#i386 build -build-plymouth-theme-hamara-i386: - stage: build-plymouth-theme-hamara-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/plymouth-theme-hamara - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - artifacts: - untracked: true - expire_in: 1 day -#---------------------------------------------------------------------------------------------------------------- -#amd64 build -build-source-sans-pro-amd64: - stage: build-source-sans-pro-amd64 - image: - name: rajudev/hamara-builder:amd64 - allow_failure: true - dependencies: [] - - script: - - cd packages/source-sans-pro - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day - - -#i386 build -build-source-sans-pro-i386: - stage: build-source-sans-pro-i386 - image: - name: rajudev/hamara-builder:i386 - allow_failure: true - dependencies: [] - - script: - - cd packages/source-sans-pro - - export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control` - - apt-get install -y --no-install-recommends $BUILD_DEPENDS - - apt-get -y autoremove --purge - - apt-get clean - - rm -rf /var/lib/apt/lists/* - - dpkg-buildpackage -us -uc - - ls -al / # test the directory structure presence - - echo "Deploying packages to repositories" - - cp ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo /incoming/ - - artifacts: - untracked: true - expire_in: 1 day diff --git a/packages/calamares-settings-hamara/debian/compat b/packages/calamares-settings-hamara/debian/compat index ec635144..f599e28b 100644 --- a/packages/calamares-settings-hamara/debian/compat +++ b/packages/calamares-settings-hamara/debian/compat @@ -1 +1 @@ -9 +10 -- 2.17.1 From 31e812f98805604a734f249c1f8318d4e562b90d Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Tue, 10 Apr 2018 15:26:16 +0530 Subject: [PATCH 03/11] changed the standards version and debhelper version --- packages/calamares-settings-hamara/debian/control | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/calamares-settings-hamara/debian/control b/packages/calamares-settings-hamara/debian/control index dd68426a..3713aecf 100644 --- a/packages/calamares-settings-hamara/debian/control +++ b/packages/calamares-settings-hamara/debian/control @@ -2,8 +2,8 @@ Source: calamares-settings-hamara Section: utils Priority: optional Maintainer: Raju Devidas -Build-Depends: debhelper (>=9) -Standards-Version: 3.9.8 +Build-Depends: debhelper (>=10) +Standards-Version: 4.1.3 Homepage: https://hamaralinux.org Package: calamares-settings-hamara @@ -17,4 +17,4 @@ Description: Configuration for Calamares installer on Hamara Linux This package is intended for use along with calamares installer on a Hamara Linux live desktop. . This is used on live CD and USB images and is not intended for - installation on normal systems. + installation on normal systems. \ No newline at end of file -- 2.17.1 From d815248842af4df13aa341178f0318df9fa33816 Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Tue, 10 Apr 2018 15:26:52 +0530 Subject: [PATCH 04/11] added the email to the name --- packages/calamares-settings-hamara/debian/copyright | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/calamares-settings-hamara/debian/copyright b/packages/calamares-settings-hamara/debian/copyright index 18fb1892..991fc7e2 100644 --- a/packages/calamares-settings-hamara/debian/copyright +++ b/packages/calamares-settings-hamara/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: calamares-settings-hamara Source: https://git.hamaralinux.org/libregeekingkid/calamares-settings-hamara Files: * -Copyright (C) 2017 Raju Devidas +Copyright (C) 2017 Raju Devidas This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -- 2.17.1 From 05a3abc3ca37208f2432a542c4c36009976aab4a Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Tue, 10 Apr 2018 15:27:21 +0530 Subject: [PATCH 05/11] modified the comment in the desktop file --- .../calamares-settings-hamara/install-hamara-desktop.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/calamares-settings-hamara/install-hamara-desktop.desktop b/packages/calamares-settings-hamara/install-hamara-desktop.desktop index a66d2123..7e6515e9 100644 --- a/packages/calamares-settings-hamara/install-hamara-desktop.desktop +++ b/packages/calamares-settings-hamara/install-hamara-desktop.desktop @@ -4,7 +4,7 @@ Version=1.0 Name=Install Hamara Sugam GenericName=System Installer Exec=sudo /usr/bin/calamares -Comment=Calamares — Hamara Sugam Desktop Installer +Comment=Calamares— Hamara Sugam Desktop Installer Icon=install-hamara-linux Terminal=false Categories=Qt; -- 2.17.1 From bea008ff1fe280697a355dcb5b5d9724de21cdcc Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Tue, 10 Apr 2018 15:33:44 +0530 Subject: [PATCH 06/11] adding a newer compat version --- packages/grub-theme-hamara/debian/compat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grub-theme-hamara/debian/compat b/packages/grub-theme-hamara/debian/compat index ec635144..f599e28b 100644 --- a/packages/grub-theme-hamara/debian/compat +++ b/packages/grub-theme-hamara/debian/compat @@ -1 +1 @@ -9 +10 -- 2.17.1 From 782199bfd787eee49bb5761fc6f5a18437347a07 Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Tue, 10 Apr 2018 15:43:20 +0530 Subject: [PATCH 07/11] changed the sources to point to buster repos instead of stretch --- .../calamares-settings-hamara/calamares/scripts/sources-final | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/calamares-settings-hamara/calamares/scripts/sources-final b/packages/calamares-settings-hamara/calamares/scripts/sources-final index dcf59100..f651f1b0 100755 --- a/packages/calamares-settings-hamara/calamares/scripts/sources-final +++ b/packages/calamares-settings-hamara/calamares/scripts/sources-final @@ -7,6 +7,6 @@ cat < $CHROOT/etc/apt/sources.list deb http://in.devel.hamaralinux.org/hamara-sugam namaste main contrib non-free deb-src http://in.devel.hamaralinux.org/hamara-sugam namaste main contrib non-free # Debian Security Mirror -deb http://security.debian.org/debian-security stretch/updates main -deb-src http://security.debian.org/debian-security stretch/updates main +deb http://security.debian.org/debian-security buster/updates main +deb-src http://security.debian.org/debian-security buster/updates main EOF -- 2.17.1 From 4cfacc77491fe714fb557d77b0f90031d540d27b Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Tue, 10 Apr 2018 16:08:45 +0530 Subject: [PATCH 08/11] changing executable mode of the desktop file --- packages/hamara-live/debian/postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/hamara-live/debian/postinst b/packages/hamara-live/debian/postinst index 39cfa16c..f40c6ea6 100644 --- a/packages/hamara-live/debian/postinst +++ b/packages/hamara-live/debian/postinst @@ -12,4 +12,5 @@ if [ -e /usr/share/applications/install-hamara-desktop.desktop ];then mkdir -p $DEST_DIR cp /usr/share/applications/install-hamara-desktop.desktop $DEST_DIR chown -R 1000:1000 $DEST_DIR + chmod +x $DEST_DIR/install-hamara-desktop.desktop fi -- 2.17.1 From 4bfc9426c059fc4df893c2760f27b3702bb8350e Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Tue, 10 Apr 2018 16:10:43 +0530 Subject: [PATCH 09/11] small version number change [ci-skip][ci skip][skip ci] --- packages/calamares-settings-hamara/debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/calamares-settings-hamara/debian/changelog b/packages/calamares-settings-hamara/debian/changelog index f918e733..8b069621 100644 --- a/packages/calamares-settings-hamara/debian/changelog +++ b/packages/calamares-settings-hamara/debian/changelog @@ -1,3 +1,9 @@ +calamares-settings-hamara (201710) namaste; urgency=medium + + * Updates to the repo URLs in package to point to buster security repos + + -- Raju Devidas Tue, 10 Apr 2018 15:44:24 +0530 + calamares-settings-hamara (201710) namaste; urgency=medium * Added slideshows to Calamares Installer -- 2.17.1 From 8725e9ac14c7c04112a9516277bedd1a909d1c58 Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Mon, 4 Jun 2018 15:12:45 +0530 Subject: [PATCH 10/11] deleting the Jenkinsfile --- Jenkinsfile | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 806a2664..00000000 --- a/Jenkinsfile +++ /dev/null @@ -1,26 +0,0 @@ -pipeline { - agent any - - stages { - stage('Prepare') { - steps { - echo 'Preparing the build system environment' - } - } - stage('Build') { - steps { - echo 'Building the package' - } - } - stage('Test') { - steps { - echo 'Testing the package' - } - } - stage('Deploy') { - steps { - echo 'Deploying to repositories..' - } - } - } -} \ No newline at end of file -- 2.17.1 From 8218e51bd26be5aa36d1e21adef1d18253be785f Mon Sep 17 00:00:00 2001 From: Raju Vindane Date: Mon, 4 Jun 2018 15:13:04 +0530 Subject: [PATCH 11/11] setting the security repo from buster to testing. So we don't have to keep changing them every time for newer releases --- .../calamares-settings-hamara/calamares/scripts/sources-final | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/calamares-settings-hamara/calamares/scripts/sources-final b/packages/calamares-settings-hamara/calamares/scripts/sources-final index f651f1b0..4c00e91e 100755 --- a/packages/calamares-settings-hamara/calamares/scripts/sources-final +++ b/packages/calamares-settings-hamara/calamares/scripts/sources-final @@ -7,6 +7,6 @@ cat < $CHROOT/etc/apt/sources.list deb http://in.devel.hamaralinux.org/hamara-sugam namaste main contrib non-free deb-src http://in.devel.hamaralinux.org/hamara-sugam namaste main contrib non-free # Debian Security Mirror -deb http://security.debian.org/debian-security buster/updates main -deb-src http://security.debian.org/debian-security buster/updates main +deb http://security.debian.org/debian-security testing/updates main +deb-src http://security.debian.org/debian-security testing/updates main EOF -- 2.17.1