From cda4670dbe789db588c72503cb0273a026dc9b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Mon, 15 Aug 2022 19:44:54 +0200 Subject: [PATCH] Improve GitHub UX, text info & links (#4071) --- .github/Releases.md | 18 +++++-- ...-desktop-pr.yml => build-all-desktops.yml} | 10 ++-- .github/workflows/smoke-tests.yml | 9 ++++ README.md | 53 ++++++++++--------- 4 files changed, 58 insertions(+), 32 deletions(-) rename .github/workflows/{build-desktop-pr.yml => build-all-desktops.yml} (52%) diff --git a/.github/Releases.md b/.github/Releases.md index 8196b6342..a49277128 100644 --- a/.github/Releases.md +++ b/.github/Releases.md @@ -1,8 +1,20 @@

Armbian Linux +
+ +- Images below are built on every Linux kernel code, config or patches changes, +- We provide here only a small selection of images that are currently interested for developers, +- If you want to enable more build targets in this list, edit CLI or desktop build config files.

+ +
+If you don't find what you are looking for, check those images: +

+ + - officially supported (known support status and suitable for production deployments), + - community supported (unknown support status), + - archived (old builds with unknown support status), +
- How to add or remove images in this automated build? - Simply by editing CLI or - desktop build list config files.

diff --git a/.github/workflows/build-desktop-pr.yml b/.github/workflows/build-all-desktops.yml similarity index 52% rename from .github/workflows/build-desktop-pr.yml rename to .github/workflows/build-all-desktops.yml index 441eb10c6..9c9e156de 100644 --- a/.github/workflows/build-desktop-pr.yml +++ b/.github/workflows/build-all-desktops.yml @@ -1,9 +1,11 @@ -name: Build Desktops at PR +name: Build All Desktops # -# Generates supported desktops for uefi-arm64, uefi-x86 and rpi4 if label "Desktop" is set +# Generates supported desktops for uefi-arm64 and uefi-x86 every day or if label "Desktop" is set # on: + schedule: + - cron: "30 22 * * *" workflow_dispatch: pull_request: @@ -17,12 +19,12 @@ permissions: jobs: - Maintain: + Test: permissions: contents: none - if: ${{ github.repository_owner == 'Armbian' && contains( github.event.pull_request.labels.*.name, 'Desktop :desktop_computer:') }} + if: ${{ (github.repository_owner == 'Armbian') && (contains( github.event.pull_request.labels.*.name, 'Desktop :desktop_computer:') || github.event_name == 'schedule') }} uses: armbian/scripts/.github/workflows/build-test-image-docker.yml@master with: diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 11039d881..c0e000510 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -5,6 +5,10 @@ name: Smoke tests on DUTs on: workflow_dispatch: +# workflow_run: +# workflows: ["Build train"] +# types: +# - completed permissions: contents: read @@ -19,3 +23,8 @@ jobs: uses: armbian/scripts/.github/workflows/smoke-tests.yml@master secrets: KEY_CI: ${{ secrets.KEY_CI }} + KEY_POWER_ON: ${{ secrets.KEY_POWER_ON }} + KEY_POWER_OFF: ${{ secrets.KEY_POWER_OFF }} + USER_REPOSITORY: ${{ secrets.USER_REPOSITORY }} + HOST_REPOSITORY: ${{ secrets.HOST_REPOSITORY }} + KNOWN_HOSTS_REPOSITORY: ${{ secrets.KNOWN_HOSTS_REPOSITORY }} diff --git a/README.md b/README.md index d4b1cb105..0d96207d4 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,20 @@ Armbian logo
- armbian build framework
+ Armbian Linux Build Framework
+
+GitHub Workflow Status +GitHub Workflow Status +GitHub Workflow Status +
+ +
+Twitter Follow +Discord +Liberapay patrons

-[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/armbian/build/master)](https://github.com/armbian/build/commits) -[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/armbian/build/Build?label=build%20train)](https://github.com/armbian/build/actions/workflows/build-train.yml) -[![Twitter Follow](https://img.shields.io/twitter/follow/armbian?style=flat-square)](https://twitter.com/intent/follow?screen_name=armbian) -[![Join the Discord](https://img.shields.io/discord/854735915313659944.svg?color=7289da&label=Discord%20&logo=discord)](https://discord.com/invite/gNJ2fPZKvc) -[![Become a patron](https://img.shields.io/liberapay/patrons/armbian.svg?logo=liberapay)](https://liberapay.com/armbian) + ## Table of contents @@ -27,15 +33,15 @@ ## What this project does? -- Builds custom Linux optimized for [single board computers(SBCs)](https://en.wikipedia.org/wiki/Single-board_computer). -- Including filesystem generation, low-level control software, kernel image compilation and bootloader compilation. +- Builds custom kernel, image or a distribution optimized for low resource HW such as single board computers, +- Include filesystem generation, low-level control software, kernel image and bootloader compilation, - Provides a consistent user experience by keeping system standards across different platforms. ## Getting started -### Prepare your environment +### Basic requirements -- x64 / aarch64 machine with at least 2GB of memory and ~35GB of disk space for a VM, container or native OS, +- x64 or aarch64 machine with at least 2GB of memory and ~35GB of disk space for a virtual machine, container or bare metal installation, - Ubuntu Jammy 22.04 x64 or aarch64 for native building or any [Docker](https://docs.armbian.com/Developer-Guide_Building-with-Docker/) capable x64 / aarch64 Linux for containerised, - Superuser rights (configured sudo or root access). @@ -89,6 +95,13 @@ More information: - [Building with Docker](https://docs.armbian.com/Developer-Guide_Building-with-Docker/) — how to build inside container; - [User configuration](https://docs.armbian.com/Developer-Guide_User-Configurations/) — how to add packages, patches and override sources config; + +## Download prebuilt images + +- quarterly released **supported** builds — +- weekly released **unsupported** community builds — +- upon code change **unsupported** development builds — + ## Compare with industry standards Check similarity, advantages and disadvantages compared with leading industry standard build software. @@ -105,18 +118,12 @@ Function | Armbian | Yocto | Buildroot | | Getting started | quick | very slow | slow | | Cross compilation | yes | yes | yes | -## Download - - - -Armbian [releases](https://docs.armbian.com/Release_Changelog/) quarterly at the end of [February, May, August, November](https://github.com/armbian/documentation/blob/master/docs/Process_Release-Model.md). You are welcome to propose changes to our default [images build list](https://github.com/armbian/build/blob/master/config/targets.conf). - ## Project structure ```text ├── cache Work / cache directory -│   ├── rootfs Compressed vanilla Debian and Ubuntu rootfilesystem cache -│   ├── sources Kernel, u-boot and various drivers sources. Mainly C code +│   ├── rootfs Compressed userspace packages cache +│   ├── sources Kernel, u-boot and various drivers sources. │   ├── toolchains External cross compilers from Linaro™ or ARM™ ├── config Packages repository configurations │   ├── targets.conf Board build target configuration @@ -130,6 +137,7 @@ Armbian [releases](https://docs.armbian.com/Release_Changelog/) quarterly at the │   ├── sources Kernel and u-boot sources locations and scripts │   ├── templates User configuration templates which populate userpatches │   └── torrents External compiler and rootfs cache torrents +├── extensions extend build system with specific functionality ├── lib Main build framework libraries ├── output Build artifact │   └── deb Deb packages @@ -151,6 +159,7 @@ Armbian [releases](https://docs.armbian.com/Release_Changelog/) quarterly at the │   └── u-boot Universal boot loader patches | ├── u-boot-board For specific board |    └── u-boot-family For entire kernel family +├── tools Tools for dealing with kernel patches and configs └── userpatches User: configuration patching area ├── lib.config User: framework common config/override file ├── config-default.conf User: default user config file @@ -173,13 +182,7 @@ Please make sure to read the [Contributing Guide](.github/CONTRIBUTING.md) befor ## Support -- Community support - - Armbian is free software and provides **best effort help** through [community forums](https://forum.armbian.com/). If you can't find answer there and/or with help of [general project search engine](https://www.armbian.com/search) and [documentation](https://docs.armbian.com), consider [hiring an expert](https://www.debian.org/consultants/). - -- Personal support - - Personal support limited to active project supporters and sponsors. The shortest way to become one and receive our attention is a four figure [donation to our non-profit project](https://www.armbian.com/donate). +Armbian is free software and provides **best effort help** through [community forums](https://forum.armbian.com/). Make sure to use help of [general project search engine](https://www.armbian.com/search) and [documentation](https://docs.armbian.com) before opening new forum topic. In case you require attention, buy appropriate [subscription level](https://forum.armbian.com/subscriptions) before asking for dedicated attention to the issue you have https://www.armbian.com/contact. ## Contact