Skip to content

Commit

Permalink
Import CI build drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
zeha committed Nov 22, 2024
1 parent fac2da0 commit cf18efb
Show file tree
Hide file tree
Showing 5 changed files with 802 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build-driver/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
#
# Entrypoint from CI jobs
# Only valid assumptions:
# - apt sources.list are valid
# - first param is path to grml-live checkout
# - remaining params are job config, so to say
set -x
GRML_LIVE_PATH=$1
PYTHONPATH="$GRML_LIVE_PATH"/build-driver
echo -e "\e[0Ksection_start:$(date +%s):startupdeps[collapsed=true]\r\e[0KInstall dependencies for build.py"
apt satisfy -q -y --no-install-recommends 'python3-minimal, python3-yaml'
echo -e "\e[0Ksection_end:$(date +%s):startupdeps\r\e[0K"
exec "$PYTHONPATH"/build.py "$@"
Loading

0 comments on commit cf18efb

Please sign in to comment.