mirror of
https://github.com/armbian/sdk.git
synced 2026-01-06 11:08:52 -08:00
Compare commits
21 Commits
24.8.3
...
2025593051
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5bf78343b2 | ||
|
|
deda97a51d | ||
|
|
bad9dcb434 | ||
|
|
46ca8219cb | ||
|
|
71f63c6141 | ||
|
|
3aa10a8fc8 | ||
|
|
789778471f | ||
|
|
cf0364684b | ||
|
|
b5f5e8c865 | ||
|
|
03d0d16197 | ||
|
|
7eaa2eba3d | ||
|
|
12c44c5d71 | ||
|
|
5f3f5fd7f3 | ||
|
|
1101a2b0b3 | ||
|
|
0de4cd2ca8 | ||
|
|
f0b1d25c42 | ||
|
|
adc4073cea | ||
|
|
261e1d4ce4 | ||
|
|
2451792210 | ||
|
|
64f7bcbce7 | ||
|
|
7c5d8f7fcf |
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
25
.github/workflows/action.yml
vendored
25
.github/workflows/action.yml
vendored
@@ -11,35 +11,44 @@ jobs:
|
||||
Keep:
|
||||
name: "Keep alive"
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
steps:
|
||||
# checkout this repository
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
# prevent GitHub from suspending cronjob
|
||||
- uses: gautamkrishnar/keepalive-workflow@v1
|
||||
- uses: liskin/gh-workflow-keepalive@v1
|
||||
|
||||
Matrix:
|
||||
needs: Keep
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
board: [uefi-x86,uefi-arm64]
|
||||
os: ["jammy"]
|
||||
board: ["uefi-x86","uefi-arm64"]
|
||||
os: ["noble","trixie"]
|
||||
extension: [",image-output-qcow2",""]
|
||||
|
||||
include:
|
||||
- board: uefi-x86
|
||||
runner: ubuntu-24.04
|
||||
- board: uefi-arm64
|
||||
runner: ubuntu-22.04-arm
|
||||
runs-on: ${{ matrix.runner }}
|
||||
name: "${{ matrix.os }},${{ matrix.board }}${{ matrix.extension }}"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- uses: armbian/build@v23.11.2
|
||||
- uses: armbian/build@main
|
||||
with:
|
||||
# mandatory
|
||||
armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub installation access token
|
||||
armbian_target: "armbian-images" # build configuration from userpatches
|
||||
armbian_target: "armbian-sdk" # build configuration from userpatches
|
||||
armbian_release: "${{ matrix.os }}" # userspace: jammy, bookworm, trixie, etc.
|
||||
armbian_board: "${{ matrix.board }}" # board build target
|
||||
# optional
|
||||
armbian_branch: "main"
|
||||
armbian_ui: "minimal"
|
||||
armbian_extensions: "docker-ce,sdk${{ matrix.extension }}" # enable extensions
|
||||
armbian_release_tittle: "Armbian SDK" # release tittle
|
||||
armbian_release_tag: "${{ github.run_id }}"
|
||||
armbian_release_body: "Virtual images for x86 and arm64" # release body
|
||||
armbian_pgp_key: "${{ secrets.GPG_KEY1 }}" # key for signing
|
||||
armbian_pgp_password: "${{ secrets.GPG_PASSPHRASE1 }}" # password for key
|
||||
|
||||
33
.github/workflows/delete-old-releases.yml
vendored
Normal file
33
.github/workflows/delete-old-releases.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Delete Old Releases
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 3 * * *' # Daily at 03:00 UTC
|
||||
workflow_dispatch: # Manual trigger
|
||||
|
||||
jobs:
|
||||
clean_releases:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Delete old releases
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
# Get all releases (handle pagination)
|
||||
releases=$(gh api --paginate repos/${{ github.repository }}/releases)
|
||||
|
||||
# Process full releases
|
||||
full_releases=$(echo "$releases" | jq -c '[.[] | select(.prerelease == false)] | sort_by(.created_at) | reverse')
|
||||
full_to_delete=$(echo "$full_releases" | jq '.[3:] | .[].id')
|
||||
for id in $full_to_delete; do
|
||||
echo "Deleting old full release ID: $id"
|
||||
gh api --method DELETE repos/${{ github.repository }}/releases/$id
|
||||
done
|
||||
|
||||
# Process pre-releases
|
||||
pre_releases=$(echo "$releases" | jq -c '[.[] | select(.prerelease == true)] | sort_by(.created_at) | reverse')
|
||||
pre_to_delete=$(echo "$pre_releases" | jq '.[3:] | .[].id')
|
||||
for id in $pre_to_delete; do
|
||||
echo "Deleting old pre-release ID: $id"
|
||||
gh api --method DELETE repos/${{ github.repository }}/releases/$id
|
||||
done
|
||||
16
README.md
16
README.md
@@ -1,13 +1,7 @@
|
||||
<p align="center">
|
||||
<a href="#build-framework">
|
||||
<img src="https://raw.githubusercontent.com/armbian/build/master/.github/armbian-logo.png" alt="Armbian logo" width="144">
|
||||
</a>
|
||||
<br>
|
||||
<strong>Armbian SDK</strong><br>
|
||||
<br>
|
||||
<a href=https://github.com/armbian/sdk/releases/latest><img alt="GitHub Workflow Status" src="https://img.shields.io/github/v/release/armbian/sdk?label=Download&style=for-the-badge&logoColor=black"></a>
|
||||
</p>
|
||||
|
||||
<h2 align="center">
|
||||
<a href=#><img src="https://raw.githubusercontent.com/armbian/.github/master/profile/logosmall.png" alt="Armbian logo"></a>
|
||||
<br><br>
|
||||
</h2>
|
||||
|
||||
|
||||
|
||||
@@ -21,7 +15,7 @@
|
||||
|
||||
- [x] can be made daily / weekly
|
||||
- [x] preinstalled Docker
|
||||
- [ ] automated login into user `armbian`
|
||||
- [x] automated login into user `armbian`
|
||||
- [ ] pre-loaded with latest build script
|
||||
- [ ] contains all kernel caches
|
||||
|
||||
|
||||
18
userpatches/config-armbian-sdk.conf
Normal file
18
userpatches/config-armbian-sdk.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
display_alert "Common settings for Armbian SDK OS images" "setting default values" "info"
|
||||
declare -g VENDOR="Armbian"
|
||||
declare -g VENDORCOLOR="5;100;115"
|
||||
declare -g VENDORURL="https://www.armbian.com"
|
||||
declare -g VENDORDOCS="https://docs.armbian.com"
|
||||
declare -g VENDORSUPPORT="https://forum.armbian.com"
|
||||
declare -g VENDORPRIVACY="https://www.armbian.com"
|
||||
declare -g VENDORBUGS="https://www.armbian.com/bugs"
|
||||
declare -g VENDORLOGO="armbian-logo"
|
||||
declare -g MAINTAINERMAIL=info@armbian.com
|
||||
declare -g MAINTAINER="Armbian Linux"
|
||||
declare -g COMPRESS_OUTPUTIMAGE="no"
|
||||
declare -g EXPERT="yes"
|
||||
declare -g KERNEL_BTF="yes"
|
||||
declare -g COMPRESS_OUTPUTIMAGE="sha,img,xz"
|
||||
declare -g IMAGE_XZ_COMPRESSION_RATIO=8
|
||||
declare -g DONT_BUILD_ARTIFACTS="kernel,firmware,full_firmware,fake_ubuntu_advantage_tools,armbian-zsh,armbian-plymouth-theme"
|
||||
declare -g PREFER_DOCKER="yes"
|
||||
17
userpatches/firstboot.conf
Normal file
17
userpatches/firstboot.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
#/root/.not_logged_in_yet
|
||||
|
||||
# System
|
||||
SET_LANG_BASED_ON_LOCATION="n"
|
||||
PRESET_LOCALE="en_US.UTF-8"
|
||||
PRESET_TIMEZONE="Etc/UTC"
|
||||
|
||||
# Root
|
||||
PRESET_ROOT_PASSWORD="armbian"
|
||||
PRESET_ROOT_KEY=""
|
||||
|
||||
# User
|
||||
PRESET_USER_NAME="armbian"
|
||||
PRESET_USER_PASSWORD="armbian"
|
||||
PRESET_USER_KEY=""
|
||||
PRESET_DEFAULT_REALNAME="Armbian user"
|
||||
PRESET_USER_SHELL="bash"
|
||||
Reference in New Issue
Block a user