Aptly Commands
- Create Repo :
aptly repo create -distribution=bookworm -component=main testing-bookworm
- Publish repo :
aptly publish repo -architectures="amd64,arm64,armhf" -component=main -distribution="bookworm" testing-bookworm testing-bookworm
- Add deb to repo locally :
aptly repo add testing-bookworm ./sfizz_1632253042.2ca137f2-0_armhf.deb
- Remove deb from repo locally :
aptly repo remove testing-bookworm zynthbox-qml
- Publish local repo changes :
aptly publish update bookworm testing-bookworm
- Generate published package list :
aptly repo show -with-packages testing-bookworm > ~/.aptly/public/testing-bookworm/testing-bookworm.list
Access Token
To be able to clone private repositories, the CI needs a Fine-grained Access Token. The current token will expire on 31/OCT/2024
A new access token can be created by following the steps below. Make sure that you have admin rights to zynthbox organization on both GitHub and OpenCode before continuing :
- Navigate to GitHub > Profile Icon > Settings > Developer Settings > Personal Access Tokens > Fine-grained tokens
- Click on the
Generate New Token
button - Enter a name and expiration date (Preferably enter max allowed date)
- Change resource owner to
zynthbox
organization - Set
Repository access
toAll repositories
- Under
Repository permissions
set permission ofContents
toRead-only
- Click on generate token and copy the generated token
- Navigate to https://www.opencode.net/zynthbox/ > Settings > CI/CD > Variables > Expand
- Edit the variable named
GITHUB_ACCESS_TOKEN
- Update the value of that variable to the newly generated token on step 7