Skip to content

Commit

Permalink
chore: templates updated by rsdk 90b6d29
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 27, 2024
1 parent 90b6d29 commit 0a31896
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 97 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
updates:
- directory: "/"
package-ecosystem: "github-actions"
schedule:
interval: "daily"
version: 2
83 changes: 45 additions & 38 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,50 @@
name: Build image for Release channel
on:
workflow_dispatch:

env:
GH_TOKEN: "${{ github.token }}"
jobs:
prepare_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create empty release
id: release
uses: softprops/action-gh-release@v1
with:
tag_name: b${{ github.run_number }}
body_path: README.md
token: ${{ secrets.GITHUB_TOKEN }}
target_commitish: main
draft: false
prerelease: true
outputs:
release_id: ${{ steps.release.outputs.id }}
build:
runs-on: ubuntu-latest
needs: prepare_release
needs: "prepare_release"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Upload rbuild image"
uses: "radxa-repo/rbuild@main"
with:
board: "${{ matrix.boards }}"
flavor: "${{ matrix.flavors }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
release-id: "${{ needs.prepare_release.outputs.release_id }}"
suite: "${{ matrix.suites }}"
strategy:
matrix:
boards: [rock-5a]
build_systems: [rbuild]
distros: [debian, ubuntu]
flavors: [kde, xfce, cli]
boards:
- "rock-5a"
flavors:
- "kde"
suites:
- "bullseye"
prepare_release:
outputs:
release_id: "${{ steps.release.outputs.id }}"
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Upload rbuild image
uses: radxa-repo/rbuild@main
if: matrix.build_systems == 'rbuild'
with:
board: ${{ matrix.boards }}
distro: ${{ matrix.distros }}
flavor: ${{ matrix.flavors }}
release-id: ${{ needs.prepare_release.outputs.release_id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Generate rbuild changelog"
uses: "radxa-repo/rbuild-changelog@main"
with:
product: "rock-5a"
- id: "release"
name: "Create empty release"
uses: "softprops/action-gh-release@v2"
with:
body_path: "README.md"
draft: false
files: ".changelog/changelog.md"
prerelease: true
tag_name: "b${{ github.run_number }}"
target_commitish: "main"
token: "${{ secrets.GITHUB_TOKEN }}"
name: "Build image for Release channel"
"on":
workflow_dispatch: {}
91 changes: 49 additions & 42 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,54 @@
name: Build image for Test channel
on:
workflow_dispatch:

env:
GH_TOKEN: "${{ github.token }}"
jobs:
prepare_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create empty release
id: release
uses: softprops/action-gh-release@v1
with:
tag_name: test-build-${{ github.run_number }}
body: |
This is a test build for internal development.
Only use when specifically instructed by Radxa support.
token: ${{ secrets.GITHUB_TOKEN }}
target_commitish: main
draft: false
prerelease: true
outputs:
release_id: ${{ steps.release.outputs.id }}
build:
runs-on: ubuntu-latest
needs: prepare_release
needs: "prepare_release"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Upload rbuild image"
uses: "radxa-repo/rbuild@main"
with:
board: "${{ matrix.boards }}"
flavor: "${{ matrix.flavors }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
release-id: "${{ needs.prepare_release.outputs.release_id }}"
suite: "${{ matrix.suites }}"
test-repo: true
timestamp: "t${{ github.run_number }}"
strategy:
matrix:
boards: [rock-5a]
build_systems: [rbuild]
distros: [debian, ubuntu]
flavors: [kde, xfce, cli]
boards:
- "rock-5a"
flavors:
- "kde"
suites:
- "bullseye"
prepare_release:
outputs:
release_id: "${{ steps.release.outputs.id }}"
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Upload rbuild image
uses: radxa-repo/rbuild@main
if: matrix.build_systems == 'rbuild'
with:
board: ${{ matrix.boards }}
distro: ${{ matrix.distros }}
flavor: ${{ matrix.flavors }}
release-id: ${{ needs.prepare_release.outputs.release_id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
test-repo: true
timestamp: t${{ github.run_number }}
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Generate rbuild changelog"
uses: "radxa-repo/rbuild-changelog@main"
with:
product: "rock-5a"
- id: "release"
name: "Create empty release"
uses: "softprops/action-gh-release@v2"
with:
body: |
This is a test build for internal development.
Only use when specifically instructed by Radxa support.
draft: false
files: ".changelog/changelog.md"
prerelease: true
tag_name: "test-build-${{ github.run_number }}"
target_commitish: "main"
token: "${{ secrets.GITHUB_TOKEN }}"
name: "Build image for Test channel"
"on":
workflow_dispatch: {}
19 changes: 2 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
# ROCK 5A
[![Build image for Release channel](https://github.com/radxa-build/rock-5a/actions/workflows/build.yml/badge.svg)](https://github.com/radxa-build/rock-5a/actions/workflows/build.yml)[![Build image for Test channel](https://github.com/radxa-build/rock-5a/actions/workflows/test.yml/badge.svg)](https://github.com/radxa-build/rock-5a/actions/workflows/test.yml)
[![Build image for Release channel](https://github.com/radxa-build/rock-5a/actions/workflows/build.yml/badge.svg)](https://github.com/radxa-build/rock-5a/actions/workflows/build.yml) [![Build image for Test channel](https://github.com/radxa-build/rock-5a/actions/workflows/test.yml/badge.svg)](https://github.com/radxa-build/rock-5a/actions/workflows/test.yml)

## What is this?

This repo is the central location for Radxa-built system images for ROCK 5A.

## What images are provided?

Currently 4 flavors are provided:

- Debian KDE: This flavor is officially supported, tested, and recommended for all users.
- Debian CLI: This flavor is officially supported. This flavor is quite minimal and is intended for headless usage. We do not support desktop usage on top of this flavor.
- Ubuntu KDE: This flavor is provided as-is except for critical issues. Users should look at Debian KDE as an alternative.
- Ubuntu CLI: This flavor is provided as-is except for critical issues. Users should look at Debian CLI as an alternative.

Please also always use [the latest release](https://github.com/radxa-build/rock-5a/releases/latest) instead of any pre-release / test builds. Those will not be supported.

## Is there any other options?

- [Armbian](https://www.armbian.com/rock-5a/)

## Where can I download the Radxa image?

Every month new images are [built](https://github.com/radxa-build/rock-5a/actions/workflows/build.yml) and [published](https://github.com/radxa-build/rock-5a/releases) as pre-releases, which serve as release candidates (RC). Radxa will periodically select an RC for additional testing, and once it passes those tests, promote it as an officially supported release. This is why you are always recommended to use [the latest release](https://github.com/radxa-build/rock-5a/releases/latest).

## Help! Something doesn't work!

For other questions, please first take a look at [our Wiki](https://wiki.radxa.com/Rock5), which covers the most basic usages.
For other questions, please first take a look at [our Documentation](https://docs.radxa.com), which covers the most basic usages.

Should you have any additional questions, please visit [our forum](https://forum.radxa.com/) or [our Discord](https://rock.sh/go), and we are willing to help.

0 comments on commit 0a31896

Please sign in to comment.