Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sugam Packages
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Development
Packages
Sugam Packages
Commits
d004c748
Commit
d004c748
authored
Dec 31, 2019
by
Shivani Bhardwaj
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'compact-gitlab-ci' into 'hamara-sugam'
Compact gitlab ci See merge request
hamara-developers/hamara-packages!109
parents
127bcb67
b64b9d28
Pipeline
#1542
passed with stages
in 8 minutes 30 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
119 additions
and
1 deletion
+119
-1
.gitlab-ci.yml
.gitlab-ci.yml
+115
-0
control
packages/materia-gtk-theme/debian/control
+4
-1
No files found.
.gitlab-ci.yml
0 → 100644
View file @
d004c748
# Defines stages each corresponding to a separate hamara-package
stages
:
-
calamares-settings-hamara
-
grub-theme-hamara
-
hamara-keyring-2016.5
-
hamara-live
-
hamara-sugam-config
-
hamara-wallpapers
-
hamara-welcome
-
lightdm-webkit-greeter
-
lightdm-webkit-greeter-hamara
-
materia-gtk-theme
-
paper-icon-theme
-
plymouth-theme-hamara
-
source-sans-pro
-
trigger-watchdog
# 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"
-
sudo apt update
-
sudo apt-get -y upgrade
-
sudo apt-get -y dist-upgrade
-
sudo apt-get -y install apt-utils figlet dpkg-dev fakeroot git-buildpackage lintian pristine-tar
-
figlet BUILD
.build_template
:
&build_definition
allow_failure
:
true
dependencies
:
[]
script
:
-
cd packages/$CI_JOB_STAGE
-
export BUILD_DEPENDS=`perl -ne 'next if /^#/; $p=(s/^Build-Depends:\s*/ / or (/^ / and $p)); s/,|\n|\([^)]+\)//mg; print if $p' < debian/control`
-
sudo apt-get install -y --no-install-recommends $BUILD_DEPENDS
-
sudo apt-get -y autoremove --purge
-
sudo apt-get clean
-
sudo rm -rf /var/lib/apt/lists/*
-
dpkg-buildpackage -us -uc
#copy the contents of the package to the incoming directory
-
echo "Deploying packages to repositories"
-
mkdir $CI_JOB_STAGE
-
cp -r ../*.deb ../*.dsc ../*.changes ../*.tar.* ../*.buildinfo $CI_JOB_STAGE
-
scp -r ./$CI_JOB_STAGE root@aptly:/opt/custom_packages/
artifacts
:
paths
:
-
packages/*.deb
-
packages/*.dsc
-
packages/*.buildinfo
-
packages/*.changes
-
packages/*.tar.*
expire_in
:
1 day
build-calamares-settings-hamara
:
stage
:
calamares-settings-hamara
<<
:
*build_definition
build-grub-theme-hamara
:
stage
:
grub-theme-hamara
<<
:
*build_definition
build-hamara-keyring-2016.5
:
stage
:
hamara-keyring-2016.5
<<
:
*build_definition
build-hamara-live
:
stage
:
hamara-live
<<
:
*build_definition
build-hamara-sugam-config
:
stage
:
hamara-sugam-config
<<
:
*build_definition
build-hamara-wallpapers
:
stage
:
hamara-wallpapers
<<
:
*build_definition
build-hamara-welcome
:
stage
:
hamara-welcome
<<
:
*build_definition
build-lightdm-webkit-greeter
:
stage
:
lightdm-webkit-greeter
<<
:
*build_definition
build-lightdm-webkit-greeter-hamara
:
stage
:
lightdm-webkit-greeter-hamara
<<
:
*build_definition
build-materia-gtk-theme
:
stage
:
materia-gtk-theme
<<
:
*build_definition
build-paper-icon-theme
:
stage
:
paper-icon-theme
<<
:
*build_definition
build-plymouth-theme-hamara
:
stage
:
plymouth-theme-hamara
<<
:
*build_definition
build-source-sans-pro
:
stage
:
source-sans-pro
<<
:
*build_definition
execute-trigger-watchdog
:
stage
:
trigger-watchdog
script
:
-
date > .latestwatch
-
scp .latestwatch root@aptly:/opt/watchdog/watches/
packages/materia-gtk-theme/debian/control
View file @
d004c748
...
...
@@ -2,7 +2,10 @@ Source: materia-gtk-theme
Section: misc
Priority: optional
Maintainer: I Sagar <sagar@hamaralinux.org>
Build-Depends: debhelper (>= 10),libglib2.0-dev,libxml2-utils
Build-Depends:
debhelper (>= 10),
libglib2.0-dev,
libxml2-utils,
Standards-Version: 4.1.3
Homepage: https://github.com/nana-4/materia-theme
Vcs-Git: https://github.com/nana-4/materia-theme.git
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment