Skip to content
Snippets Groups Projects
Name Last commit Last update
README.md
zynthbox-default-ci.yml

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 :

  1. Navigate to GitHub > Profile Icon > Settings > Developer Settings > Personal Access Tokens > Fine-grained tokens
  2. Click on the Generate New Token button
  3. Enter a name and expiration date (Preferably enter max allowed date)
  4. Change resource owner to zynthbox organization
  5. Set Repository access to All repositories
  6. Under Repository permissions set permission of Contents to Read-only
  7. Click on generate token and copy the generated token
  8. Navigate to https://www.opencode.net/zynthbox/ > Settings > CI/CD > Variables > Expand
  9. Edit the variable named GITHUB_ACCESS_TOKEN
  10. Update the value of that variable to the newly generated token on step 7