-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:crpb/grml-live
- Loading branch information
Showing
229 changed files
with
3,672 additions
and
2,925 deletions.
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 @@ | ||
github: grml |
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,41 @@ | ||
# PR Review workflows. | ||
|
||
name: pr-review | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
jobs: | ||
shellcheck-code: | ||
name: shellcheck main code | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: shellcheck | ||
uses: reviewdog/action-shellcheck@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
reporter: github-pr-review | ||
path: "." | ||
pattern: | | ||
grml-live | ||
scripts/*.sh | ||
remaster/grml-live-remaster | ||
config/hooks/* | ||
config/scripts/* | ||
check_all_files_with_shebangs: "false" | ||
|
||
shellcheck-tests: | ||
name: shellcheck test scripts | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: shellcheck | ||
uses: reviewdog/action-shellcheck@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
reporter: github-pr-review | ||
path: tests | ||
pattern: | | ||
*.sh | ||
check_all_files_with_shebangs: "false" |
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,79 @@ | ||
name: test-build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
schedule: | ||
- cron: "30 3 * * 2" | ||
|
||
concurrency: | ||
group: "${{ github.ref }}" | ||
cancel-in-progress: true | ||
jobs: | ||
build-debian: | ||
strategy: | ||
# Keep other matrix jobs running, even if one fails. | ||
fail-fast: false | ||
matrix: | ||
host_release: | ||
- unstable | ||
- trixie | ||
- bookworm | ||
|
||
# We want a working shell, qemu, python and docker. Specific version should not matter (much). | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: ./test/gha-build-deb.sh | ||
name: "Build .deb for ${{matrix.host_release}}" | ||
env: | ||
HOST_RELEASE: ${{matrix.host_release}} | ||
|
||
- name: Archive built .deb | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: deb-${{matrix.host_release}} | ||
if-no-files-found: error | ||
path: | | ||
*.deb | ||
build-iso: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
host_release: | ||
- bookworm | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: ./test/gha-build-iso.sh initial | ||
name: "Build ISO on ${{matrix.host_release}}" | ||
env: | ||
HOST_RELEASE: ${{matrix.host_release}} | ||
|
||
- name: Archive built ISO | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: grml-live-build-result-initial-${{matrix.host_release}} | ||
if-no-files-found: error | ||
path: | | ||
results-initial/* | ||
- run: ./test/gha-build-iso.sh build-only-twice | ||
name: "Repack ISO twice on ${{matrix.host_release}}" | ||
env: | ||
HOST_RELEASE: ${{matrix.host_release}} | ||
|
||
- name: Archive repacked ISO | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: grml-live-build-result-repack-${{matrix.host_release}} | ||
if-no-files-found: error | ||
path: | | ||
results-build-only-second/* |
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,3 +1 @@ | ||
etc/grml/fai/config/basefiles | ||
etc/grml/fai/make-fai-nfsroot.conf | ||
etc/grml/fai/nfsroot.conf | ||
config/basefiles |
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
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
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,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 "$@" |
Oops, something went wrong.