- big (6-16 cores, 64Gb SSD, 16Gb memory, 2Gb swap)
- small (4 cores, 64Gb SSD, 8Gb memory, 2Gb swap)
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
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.
sudo ./svc.sh install # install
sudo ./svc.sh start # start
sudo ./svc.sh status # check
forked-helper.yml
workflow helper can help to run custom workflows on the forked repositories.
- Create a fine-grained Personal Access Token (PAT) with the
repo
scope and store it as a secret. It needs the following permissions on the target repositories:contents
: read & writemetadata
: read only (automatically selected when selecting the contents permission)
- Create a secret named
ARMBIAN_SELF_DISPATCH_TOKEN
on your repository withsecurity_events
permissions. To do this, head to your forked repository, go toSettings
on the top bar, selectSecrets and variables
and thenActions
. From here you can create a new repository secret.Name
:ARMBIAN_SELF_DISPATCH_TOKEN
Secret
: Paste your fine-grained Personal Access Token that you created in step 1 here
- Helper will dispatch
repository_dispatch
eventarmbian
onpush
,release
,deployment
,pull_request
andworkflow_dispatch
events. All needed event details you can find inclient_payload
property of the event. - Create empty default branch in forked repository
- Create workflow with
repository_dispatch
in 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