Bumps [igorjs/gh-actions-clean-workflow](https://github.com/igorjs/gh-actions-clean-workflow) from 2 to 3. - [Release notes](https://github.com/igorjs/gh-actions-clean-workflow/releases) - [Commits](https://github.com/igorjs/gh-actions-clean-workflow/compare/v2...v3) --- updated-dependencies: - dependency-name: igorjs/gh-actions-clean-workflow dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| build-deskktop-pr.yml | ||
| build-images.yml | ||
| build-kernel-pr.yml | ||
| build-train.yml | ||
| build-u-boot.yml | ||
| bump-version.yml | ||
| check-integrity.yml | ||
| cleanup.yml | ||
| forked-helper.yml | ||
| labeler.yml | ||
| lint-scripts-pr.yml | ||
| maintain.yml | ||
| README.md | ||
| rebase.yml | ||
| scorecard.yml | ||
| smoke-tests.yml | ||
| update-cache.yml | ||
| update-docker.yml | ||
Runners setup
Common tags:
- self-hosted
- Linux
- X64
- ARM64 (4Gb memory with ZRAM_PERCENTAGE=50)
- public (isolated runners for merge reqeusts)
- local (local network)
- cache (mounted cache)
- images (present cache, good enough for making images)
- big (16-128 cores, 64Gb SSD, 20Gb+ memory)
- small (< 16 cores, 32Gb SSD, 4Gb memory)
Preparing GPG
use gpg1 otherwise signing fails
Preparing Runner
-
make sure to choose proper architecture
-
create startup
sudo ./svc.sh install # install sudo ./svc.sh start # start sudo ./svc.sh status # check
Use workflows in forked repositories
forked-helper.yml workflow helper can help to run custom workflows on the forked repositories.
- Set
ARMBIAN_SELF_DISPATCH_TOKENsecret on your repository withsecurity_eventspermissions. - Helper will dispatch
repository_dispatcheventarmbianonpush,release,deployment,pull_requestandworkflow_dispatchevents. All needed event details you can find inclient_payloadproperty of the event. - Create empty default branch in forked repository
- Create workflow with
repository_dispatchin default branch. - Run any need actions in this workflow.
Workflow example:
name: Test Armbian dispatch
on:
repository_dispatch:
types: ["armbian"]
jobs:
show-dispatch:
name: Show dispatch event details
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v2