Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Documentation
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hamara-developers
Documentation
Commits
5a44291f
Commit
5a44291f
authored
May 24, 2021
by
Vik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jenkins-setup' into 'master'
Add Hamara2.0 svastik build process doc See merge request
!14
parents
d430a141
93d0b263
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
0 deletions
+84
-0
hamara2.0_svastik.md
docs/hamara2.0_svastik.md
+84
-0
No files found.
docs/hamara2.0_svastik.md
0 → 100644
View file @
5a44291f
# Hamara2.0 Svastik
An ISO image produced by building hamara-packages, fetching upstream debian mirrors
and merging them into one.
```
┌─────────────────────────────┐
│ │
│ Debian Testing │
│ - main │
│ - contrib ├───────────►
│ - non-free │ │
│ │ │
└─────────────────────────────┘ │
│ ┌───────────────────┐
│ │ │
│ │ │
│ │ │
└─────────►│ Hamara 2.0 │
┌──────────────────────────────┐ ▲ │ - svastik │
│ hamara-packages │ │ │ │
│ ├──────────┘ │ │
└──────────────────────────────┘ └───────────────────┘
```
## Infrastructure-setup
https://git.hamaralinux.org/hamara-developers/hamara-infra/blob/master/hetzner_setup.md
## Build process
### 1. Build hamara packages:
Source Code: https://git.hamaralinux.org/devel/packages/swastik
Build job: https://builds.hamaralinux.org/job/Hamara-Packages/
This job will build the packages and copy them over to aptly container
### 2. Create repo, clone upstream mirrors:
Ref: https://git.hamaralinux.org/hamara-developers/Documentation/blob/master/aptly/aptly-based-repository-setup.md
Upstream Ref: https://www.aptly.info/doc/commands/
```
# create a repo for adding hamara-packages
aptly repo create hamara-packages
```
```
# add the packages delivered by jenkins job to repo
aptly repo add hamara-packages /opt/aptly/hamara_custom_packages/
```
```
# Create a snapshot of custom hamara-packages
aptly create snapshot hamara-svastik-inhouse-<date> from repo hamara-packages
```
```
# Merge all snapshots into one
aptly snapshot merge hamara-svastik-merged hamara-svastik-inhouse-19052021 hamara-sugam-v3-non-free-18012021 hamara-sugam-v3-main-18012021 hamara-sugam-v3-contrib-18012021
```
```
# Publish the snapshot Note: this step will ask for gpg password can get it from vault.hamaralinux.org
aptly publish snapshot -architectures=amd64 -distribution=svastik hamara-svastik-merged
```
```
# For updating mirrors
aptly mirror update <mirror-name>
```
### 3. Building the ISO image
Once the snapshot is published by aptly the HamaralinuxISObuilder job can be triggered to build and publish ISO image.
Jenkins Job: https://builds.hamaralinux.org/job/HamaralinuxISObuilder/
Source code: https://git.hamaralinux.org/hamara-developers/hamara-live-build
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