mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 16:45:13 +02:00
Build branch.
This commit is contained in:
parent
92b0358fdf
commit
81db6b2f6d
36
.github/workflows/build-packages.yml
vendored
36
.github/workflows/build-packages.yml
vendored
@ -2,12 +2,12 @@ name: Build Packages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- build-package
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
jobs:
|
||||
prebuild:
|
||||
runs-on: buildinator-group
|
||||
runs-on: buildinator-5
|
||||
outputs:
|
||||
manifest: ${{ steps.prebuild.outputs.manifest }}
|
||||
matrix: ${{ steps.prebuild.outputs.matrix }}
|
||||
@ -40,7 +40,7 @@ jobs:
|
||||
needs:
|
||||
- prebuild
|
||||
- build
|
||||
runs-on: buildinator-group
|
||||
runs-on: buildinator-5
|
||||
steps:
|
||||
- name: Run sign playbook
|
||||
uses: 45drives/actions/ansible-playbook@main
|
||||
@ -60,7 +60,7 @@ jobs:
|
||||
- prebuild
|
||||
- build
|
||||
- sign
|
||||
runs-on: buildinator-group
|
||||
runs-on: buildinator-5
|
||||
steps:
|
||||
- id: push_local
|
||||
name: Push packages into local repository
|
||||
@ -68,13 +68,39 @@ jobs:
|
||||
with:
|
||||
directory: ${{ github.workspace }}
|
||||
|
||||
create_release:
|
||||
needs:
|
||||
- prebuild
|
||||
- build
|
||||
- sign
|
||||
- update_repositories
|
||||
runs-on: buildinator-5
|
||||
steps:
|
||||
- name: Set Variables
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
echo "PRERELEASE=$([ "$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.stable')" = "true" ] && echo false || echo "true")" >> $GITHUB_ENV
|
||||
echo "TITLE=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.title')" >> $GITHUB_ENV
|
||||
echo "VERSION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.version')" >> $GITHUB_ENV
|
||||
echo "REVISION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.build_number')" >> $GITHUB_ENV
|
||||
- name: GitHub Release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: ${{env.TITLE}} ${{env.VERSION}}
|
||||
prerelease: ${{env.PRERELEASE}}
|
||||
body_path: ${{github.workspace}}/CHANGELOG.md
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
sync_repositories:
|
||||
needs:
|
||||
- prebuild
|
||||
- build
|
||||
- sign
|
||||
- update_repositories
|
||||
runs-on: buildinator-group
|
||||
- create_release
|
||||
runs-on: buildinator-5
|
||||
steps:
|
||||
- id: push_remote
|
||||
name: Sync local repository with remote repository
|
||||
|
@ -42,6 +42,11 @@
|
||||
"os_name": "ubuntu-focal",
|
||||
"image": "ci.cr.45d.io/ci/simple/ubuntu-focal:1"
|
||||
},
|
||||
{
|
||||
"group": "debian",
|
||||
"os_name": "debian-bookworm",
|
||||
"image": "ci.cr.45d.io/ci/simple/ubuntu-jammy:1"
|
||||
},
|
||||
{
|
||||
"group": "ubuntu",
|
||||
"os_name": "ubuntu-jammy",
|
||||
@ -71,4 +76,4 @@
|
||||
"packager": "Josh Boudreau <jboudreau@45drives.com>",
|
||||
"changes": []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
5
packaging/debian-bookworm/changelog
Normal file
5
packaging/debian-bookworm/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
cockpit-navigator (0.5.10-1bookworm) bookworm; urgency=medium
|
||||
|
||||
* build for bookworm
|
||||
|
||||
-- Brett Kelly <bkelly@45drives.com> Mon, 24 Feb 2025 14:40:50 -0300
|
13
packaging/debian-bookworm/control.j2
Normal file
13
packaging/debian-bookworm/control.j2
Normal file
@ -0,0 +1,13 @@
|
||||
Source: {{ name }}
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: {{ author }}
|
||||
Build-Depends: debhelper-compat (= 12)
|
||||
Standards-Version: 4.4.1
|
||||
Homepage: {{ git_url }}
|
||||
Vcs-Git: {{ git_url }}
|
||||
|
||||
Package: {{ name }}
|
||||
Architecture: {{ architecture.ubuntu }}
|
||||
Depends: {{ dependencies.ubuntu_common | join(',') }}
|
||||
Description: {{ description }}
|
35
packaging/debian-bookworm/copyright.j2
Normal file
35
packaging/debian-bookworm/copyright.j2
Normal file
@ -0,0 +1,35 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: "{{ name }}"
|
||||
Upstream-Contact: "{{ author }}"
|
||||
Source: "{{ git_url }}"
|
||||
|
||||
Files: *
|
||||
Copyright: 2021 Josh Boudreau <jboudreau@45drives.com>
|
||||
License: GPL-3.0+
|
||||
|
||||
Files: navigator/navigator.*
|
||||
Copyright: 2021 Sam Silver <ssilver@45drives.com>
|
||||
License: GPL-3.0+
|
||||
|
||||
Files: navigator/navigator.js
|
||||
Copyright: 2021 Dawson Della Valle <ddellavalle@45drives.com>
|
||||
License: GPL-3.0+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2021 Josh Boudreau <jboudreau@45drives.com>
|
||||
License: GPL-3.0+
|
||||
|
||||
License: GPL-3.0+
|
||||
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 3 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 the Onboard package. If not, please have a look at
|
||||
/usr/share/common-licenses or <http://www.gnu.org/licenses/>.
|
25
packaging/debian-bookworm/rules
Executable file
25
packaging/debian-bookworm/rules
Executable file
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/make -f
|
||||
# See debhelper(7) (uncomment to enable)
|
||||
# output every command that modifies files on the build system.
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
|
||||
# see FEATURE AREAS in dpkg-buildflags(1)
|
||||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
# see ENVIRONMENT in dpkg-buildflags(1)
|
||||
# package maintainers to append CFLAGS
|
||||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||
# package maintainers to append LDFLAGS
|
||||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
export NAV_VERS := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ':')
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
|
||||
# dh_make generated override targets
|
||||
# This is example for Cmake (See https://bugs.debian.org/641051 )
|
||||
#override_dh_auto_configure:
|
||||
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
|
1
packaging/debian-bookworm/source/format
Normal file
1
packaging/debian-bookworm/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
Loading…
x
Reference in New Issue
Block a user