armbian-build/.github/workflows
dependabot[bot] 21186c0577
Bump Vucko130/delete-older-releases from 0.2.1 to 0.2.2 (#4678)
Bumps [Vucko130/delete-older-releases](https://github.com/Vucko130/delete-older-releases) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/Vucko130/delete-older-releases/releases)
- [Commits](https://github.com/Vucko130/delete-older-releases/compare/v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: Vucko130/delete-older-releases
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 07:03:20 +01:00
..
build-all-desktops.yml Small fixes and cleanup for action scripts (#4085) 2022-08-19 20:49:18 +02:00
build-images.yml Bump Vucko130/delete-older-releases from 0.2.1 to 0.2.2 (#4678) 2023-01-10 07:03:20 +01:00
build-kernel-pr.yml Do not run Action scripts for every reviewer (#4631) 2022-12-31 15:00:56 +01:00
build-train.yml Adjust action scripts to adjusted logic (#4605) 2022-12-24 09:43:40 +01:00
build-u-boot.yml Clean GitHub actions (#4065) 2022-08-12 14:29:31 +02:00
bump-version.yml Clean GitHub actions (#4065) 2022-08-12 14:29:31 +02:00
check-integrity.yml Clean GitHub actions (#4065) 2022-08-12 14:29:31 +02:00
forked-helper.yml Bump peter-evans/repository-dispatch from 1 to 2 (#3891) 2022-06-11 18:16:04 +02:00
kernel-security-analysis-pr.yml Add kernel config security analysis Action script (#4616) 2023-01-07 21:02:38 +01:00
labeler.yml Bump actions/labeler from 3 to 4 (#3889) 2022-06-11 18:15:18 +02:00
lint-scripts-pr.yml Do not run Action scripts for every reviewer (#4631) 2022-12-31 15:00:56 +01:00
README.md Update documentation for prepare self hosted runner (#4053) 2022-08-08 08:18:30 +02:00
rebase.yml Bump cirrus-actions/rebase from 1.7 to 1.8 (#4592) 2022-12-20 10:35:51 +01:00
scorecard.yml Bump ossf/scorecard-action from 2.1.0 to 2.1.2 (#4613) 2022-12-26 09:31:26 +01:00
smoke-tests.yml Small fixes and cleanup for action scripts (#4085) 2022-08-19 20:49:18 +02:00
update-docker.yml Update update-docker.yml (#4137) 2022-09-01 15:16:34 +02:00

Runners requirements

  • big (6-16 cores, 64Gb SSD, 16Gb memory, 2Gb swap)
  • small (4 cores, 64Gb SSD, 8Gb memory, 2Gb swap)

Preparation

Adding x86 runner to your Jammy VM (check here if any changes):

$ mkdir actions-runner 
$ cd actions-runner
$ curl -o actions-runner-linux-x64-2.294.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.294.0/actions-runner-linux-x64-2.294.0.tar.gz
$ tar xzf ./actions-runner-linux-x64-2.294.0.tar.gz

Configuration

Once asked, tag your runner accordingly:

  • small
  • big
  • arm64

Start the configuration experience

$ ./config.sh --url https://github.com/armbian --token XXXXXXXXXXXXXXXXXXXXXXXXXXX

You need to get a valid token from our DevOps team to proceed.

Create startup scripts

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.

  1. Set ARMBIAN_SELF_DISPATCH_TOKEN secret on your repository with security_events permissions.
  2. Helper will dispatch repository_dispatch event armbian on push, release, deployment, pull_request and workflow_dispatch events. All needed event details you can find in client_payload property of the event.
  3. Create empty default branch in forked repository
  4. Create workflow with repository_dispatch in default branch.
  5. 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