-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build deb package | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
|
||
jobs: | ||
# define job to build and publish docker image | ||
build-and-push-deb-pkg: | ||
name: Build deb package and push to repositories | ||
# run only when code is compiling and tests are passing | ||
runs-on: ubuntu-latest | ||
|
||
# steps to perform in job | ||
steps: | ||
- name: Build Debian package | ||
uses: pi-top/debian-package-build-action@master | ||
with: | ||
target_architecture: amd64 | ||
docker_image: debian:bookworm | ||
build_directory: artifacts | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: deb | ||
path: artifacts/*.deb |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
calaos-container usr/bin | ||
scripts/x11docker usr/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=Calaos-OS container daemon | ||
After=network.target | ||
|
||
[Service] | ||
Type=simple | ||
ExecStart=/usr/bin/calaos-container | ||
Restart=always | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
Source: calaos-container | ||
Maintainer: Calaos Team <[email protected]> | ||
Build-Depends: debhelper (>= 11), | ||
golang | ||
|
||
Package: calaos-container | ||
Architecture: any | ||
Description: Calaos-OS container service | ||
Description: Calaos-OS container service | ||
Depends: ${misc:Depends}, ${shlibs:Depends}, | ||
bash, podman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/make -f | ||
|
||
DISTRIBUTION = $(shell sed -n "s/^VERSION_CODENAME=//p" /etc/os-release) | ||
VERSION = 1.0.0 | ||
PACKAGEVERSION = $(VERSION)-0~$(DISTRIBUTION)0 | ||
|
||
%: | ||
dh $@ | ||
|
||
export GOCACHE=/tmp | ||
|
||
override_dh_gencontrol: | ||
dh_gencontrol -- -v$(PACKAGEVERSION) |
Empty file.