Compare commits
3 Commits
250f4ba671
...
0ba66ee264
| Author | SHA256 | Date | |
|---|---|---|---|
|
0ba66ee264
|
|||
|
f079c2fa48
|
|||
|
5aaeb98261
|
@@ -10,6 +10,6 @@
|
||||
# SPDX-Security-Contact: security@coresecret.eu
|
||||
|
||||
build:
|
||||
counter: 1024
|
||||
counter: 1023
|
||||
version: V8.13.008.2025.08.22
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml
|
||||
|
||||
@@ -31,8 +31,35 @@ jobs:
|
||||
### Run all steps inside Debian Trixie
|
||||
container:
|
||||
image: debian:trixie
|
||||
options: >-
|
||||
--mount type=bind,src=/mnt/secure,dst=/work
|
||||
|
||||
steps:
|
||||
- name: 🛠️ Basic Image Setup.
|
||||
shell: bash
|
||||
run: |
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update -y
|
||||
apt-get upgrade -y
|
||||
apt-get install -y --no-install-recommends \
|
||||
apt-utils \
|
||||
bash \
|
||||
ca-certificates \
|
||||
git \
|
||||
gnupg \
|
||||
openssh-client \
|
||||
openssl \
|
||||
sudo \
|
||||
util-linux
|
||||
|
||||
- name: 🔎 Verify /work mount & space
|
||||
shell: bash
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
df -h /work
|
||||
test -w /work
|
||||
touch /work/.bind-ok && ls -l /work/.bind-ok
|
||||
|
||||
- name: 🔎 Show workspace & mounts
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -75,22 +102,6 @@ jobs:
|
||||
printf "[\e[92mINFO\e[0m] Free space in the working directory: [%s] MiB available > [%s] MiB needed \n " "${avail_mb}" "${need_mb}"
|
||||
fi
|
||||
|
||||
- name: 🛠️ Basic Image Setup.
|
||||
shell: bash
|
||||
run: |
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update -y
|
||||
apt-get upgrade -y
|
||||
apt-get install -y --no-install-recommends \
|
||||
apt-utils \
|
||||
bash \
|
||||
ca-certificates \
|
||||
git \
|
||||
gnupg \
|
||||
openssh-client \
|
||||
openssl \
|
||||
sudo
|
||||
|
||||
- name: ⚙️ Check GnuPG Version.
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
@@ -205,7 +205,7 @@ if ! ${VAR_HANDLER_AUTOBUILD}; then printf "XXX\nInitialization completed ... \n
|
||||
if ! ${VAR_HANDLER_AUTOBUILD}; then boot_screen_cleaner; fi
|
||||
|
||||
### MAIN Program
|
||||
#arg_priority_check
|
||||
#arg_priority_check # TODO: Fixing workflow issues
|
||||
check_stats
|
||||
if ! ${VAR_HANDLER_AUTOBUILD}; then check_provider; fi
|
||||
if ! ${VAR_HANDLER_AUTOBUILD}; then check_kernel; fi
|
||||
|
||||
@@ -24,7 +24,7 @@ guard_sourcing
|
||||
arg_priority_check() {
|
||||
declare var
|
||||
### Check if nice PRIORITY is set and adjust nice priority.
|
||||
if [[ -n ${VAR_HANDLER_PRIORITY:-} ]]; then
|
||||
if [[ -n "${VAR_HANDLER_PRIORITY:-}" ]]; then
|
||||
if command -v renice >/dev/null; then
|
||||
renice "${VAR_HANDLER_PRIORITY}" -p "$$"
|
||||
var=$(ps -o ni= -p $$) > /dev/null 2>&1
|
||||
@@ -37,7 +37,7 @@ arg_priority_check() {
|
||||
fi
|
||||
|
||||
### Check if ionice PRIORITY is set and adjust ionice priority.
|
||||
if [[ -n ${VAR_REIONICE_CLASS:-} ]]; then
|
||||
if [[ -n "${VAR_REIONICE_CLASS:-}" ]]; then
|
||||
if command -v ionice >/dev/null; then
|
||||
ionice -c"${VAR_REIONICE_CLASS:-2}" -n"${VAR_REIONICE_PRIORITY:-4}" -p "$$"
|
||||
var=$(ionice -p $$) > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user